RandomSec/main/tests/data
Tom Morris 83ed9ffdaf
Refactor importer APIs - Fixes #2963 (#2978)
* Make sure data directory is directory, not a file

* Add a test for zip archive import

Also tests the saving of the archive file name and source filename

* Add TODOs - no functional changes

* Cosmetic cleanups

* Revert importer API changes for archive file name parameter

Fixes #2963
- restore binary compatibility to the API
- hoist the handling of both fileSource and archiveFileName from
TabularImportingParserBase and TreeImportingParserBase to
ImportingParserBase so that there's only one copy. These 3 classes are
all part of the internal implementation, so there should be no
compatibility issue.

* Revert weird flow of control for import options metadata

This reverts the very convoluted control flow that was introduced
when adding the input options to the project metadata. Instead
the metadata is all handled in the importer framework rather than
having to change APIs are have individual importers worry about
it.

The feature never had test coverage, so that is still to be added.

* Add test for import options in project metadata & fix bug

Fixes bug where same options object was being reused and overwritten,
so all copies in the list ended up the same.
2020-07-23 18:36:14 +02:00
..
changes Remove DataExtensions from change serialization 2018-05-22 23:09:51 +02:00
big5.html Restore character encoding guesser (#2755) 2020-06-22 06:04:51 +02:00
big5.txt Restore character encoding guesser (#2755) 2020-06-22 06:04:51 +02:00
birds.csv Major refactor to separate the webapp part from the embedded servlet engine part 2010-05-28 23:19:08 +00:00
Colorado-Municipalities-small-xlsx.gz Fix the text format guesser so it doesn't inappropriately guess WikiText (#2924) 2020-07-15 08:56:00 +02:00
euc-jp.html Restore character encoding guesser (#2755) 2020-06-22 06:04:51 +02:00
euc-jp.txt Restore character encoding guesser (#2755) 2020-06-22 06:04:51 +02:00
euc-kr.html Restore character encoding guesser (#2755) 2020-06-22 06:04:51 +02:00
euc-kr.txt Restore character encoding guesser (#2755) 2020-06-22 06:04:51 +02:00
example_project_metadata_save_mode.json Add customMetadata to project metadata parsing test 2019-06-04 12:02:49 +01:00
example_project_metadata.json Add customMetadata to project metadata parsing test 2019-06-04 12:02:49 +01:00
example-latin1.tsv Major refactor to separate the webapp part from the embedded servlet engine part 2010-05-28 23:19:08 +00:00
example-linebreaks-in-cells.csv Major refactor to separate the webapp part from the embedded servlet engine part 2010-05-28 23:19:08 +00:00
example-linebreaks-in-cells.tsv Normalize line endings 2013-03-23 18:46:20 -04:00
example-utf8.tsv Major refactor to separate the webapp part from the embedded servlet engine part 2010-05-28 23:19:08 +00:00
excel95.xls Add Excel95 import test and improve other importer tests (#2844) 2020-06-30 08:20:56 +02:00
films.ods Truncate any completely empty columns on the right (#2842) 2020-06-30 08:19:00 +02:00
food.csv fixed client tests 2010-05-31 17:56:07 +00:00
food.small.csv Major refactor to separate the webapp part from the embedded servlet engine part 2010-05-28 23:19:08 +00:00
government_contracts.csv Major refactor to separate the webapp part from the embedded servlet engine part 2010-05-28 23:19:08 +00:00
grid_small.json Unit test for issue #137 2017-08-13 12:37:20 -05:00
jorf.xml add UT for issue #1509 2018-02-25 15:31:59 -05:00
movies-condensed.tsv Major refactor to separate the webapp part from the embedded servlet engine part 2010-05-28 23:19:08 +00:00
movies.tsv Major refactor to separate the webapp part from the embedded servlet engine part 2010-05-28 23:19:08 +00:00
movies.zip Refactor importer APIs - Fixes #2963 (#2978) 2020-07-23 18:36:14 +02:00
nobel-prize-winners.csv Nobel prize winners CSV data typos 2018-01-07 21:28:07 +01:00
ozone_8hr_dmax.csv Major refactor to separate the webapp part from the embedded servlet engine part 2010-05-28 23:19:08 +00:00
ozone_sites.csv Major refactor to separate the webapp part from the embedded servlet engine part 2010-05-28 23:19:08 +00:00
presidents.tsv Major refactor to separate the webapp part from the embedded servlet engine part 2010-05-28 23:19:08 +00:00
scriblio.mrc Update marc4j to 2.9.1 - Fixes #2962 (#2977) 2020-07-22 22:12:30 +02:00
shift_jis.html Restore character encoding guesser (#2755) 2020-06-22 06:04:51 +02:00
shift_jis.txt Restore character encoding guesser (#2755) 2020-06-22 06:04:51 +02:00
Wpi Data.tsv Major refactor to separate the webapp part from the embedded servlet engine part 2010-05-28 23:19:08 +00:00