zotero/test/tests/data
Tom Najdek 141258d564 Fix a bug in regex extracting fields to "extra"
Because regex is built using a template string, \s* is actually escaped
into s*, i.e. literal "s" appearing 0 or more times. In most cases this
would mean that output can have spacing slightly off. In extreme case,
when identifier starts with letter "s", this could this could lead to
identifier being stored incorrectly.

Also adjusted tests to be more strict and mock data to cover this case.
2022-08-11 02:46:37 -04:00
..
charsets Update Zotero.File.getContentsAsync() tests 2022-06-19 18:59:01 -04:00
mendeleyMock Fix a bug in regex extracting fields to "extra" 2022-08-11 02:46:37 -04:00
metadata Fix various cases of saving items to selected collection 2015-11-15 17:49:31 -05:00
search "Attachment Content" search improvements 2019-02-19 04:10:25 -05:00
snapshot Save snapshots via nsIWebBrowserPersist instead of WebPageDump 2016-06-02 16:14:29 -04:00
.gitignore Add .gitignore file for PDF tool cache dir in test data directory 2015-06-02 20:32:55 -04:00
allTypesAndFields.js Fix support tests after 28ed3e34b 2022-08-11 02:29:44 -04:00
book_and_child_note.ris Fix saving an item with a child note into a collection 2016-03-25 02:24:22 -04:00
book_and_snapshot.rdf Fix hang on import that includes an HTML attachment 2016-03-22 01:31:20 -04:00
cell.csl Fetch a style if it is not installed on document preferences load 2017-04-10 11:24:22 +03:00
citavi-test-project.ctv6 Citavi import: Tweak how page label is determined (#2494) 2022-03-30 09:34:07 -04:00
coins.html Remove errant HTML tag 2017-03-03 16:40:28 -05:00
duplicatesMerge_empty_new_md5.pdf Merge attachments and update notes (#2336) 2022-03-09 17:26:26 -05:00
duplicatesMerge_JSTOR_1.pdf Merge attachments and update notes (#2336) 2022-03-09 17:26:26 -05:00
duplicatesMerge_JSTOR_2.pdf Merge attachments and update notes (#2336) 2022-03-09 17:26:26 -05:00
duplicatesMerge_test_new_md5.pdf Merge attachments and update notes (#2336) 2022-03-09 17:26:26 -05:00
empty Fix NS_BASE_STREAM_CLOSED error, for real 2015-06-02 14:58:43 -04:00
empty.pdf Add tests for Zotero.Translate.ItemGetter.prototype.nextItem 2015-05-26 16:11:43 -05:00
fake.xpi Fix regression: download() fails for non-http URLs (#2497) 2022-03-30 12:15:40 -04:00
feed.atom Fix date parsing from Atom feeds 2017-10-31 02:21:21 -04:00
feed.rss Various feeds changes 2016-03-22 06:56:36 -04:00
feedCDATA.rss Add feed reader tests for parsing behavior 2021-06-16 20:59:57 +01:00
feedDetailed.rss Adds Zotero.FeedReader tests 2016-03-22 06:56:29 -04:00
feedMedia.xml Add feed reader tests for parsing behavior 2021-06-16 20:59:57 +01:00
feedModified.rss Various feeds changes 2016-03-22 06:56:33 -04:00
feedRichText.rss Add feed reader tests for parsing behavior 2021-06-16 20:59:57 +01:00
feeds.opml Feed import: Don't fail on OPML entry with no title or text 2022-08-11 02:28:03 -04:00
itemJSON.js Fix support tests after 28ed3e34b 2022-08-11 02:29:44 -04:00
journalArticle.js Use ISO 8601 accessDates everywhere 2015-06-07 18:50:57 -04:00
mods.xml Fix error handling during local file import translation 2016-08-22 21:41:10 -04:00
recognizePDF_test_arXiv.pdf Rename PDF recognizer tests to reflect arXiv ID lookup 2018-05-04 01:16:04 -04:00
recognizePDF_test_DOI.pdf Add a test for PDF recognition by DOI (#1496) 2018-05-04 03:14:26 -04:00
recognizePDF_test_title.pdf Save parent item to correct library when recognizing PDF without DOI 2018-04-02 15:34:22 -04:00
Test Import Translator.js Ensure Test Import Translator.js #doImport() does not rely on #detectImport() 2018-12-21 15:16:27 +02:00
test-hidden.html Add missing test data files 2022-06-21 01:39:07 -04:00
test-js.html Disable JS in hidden browser when indexing HTML files without a charset 2018-06-18 20:19:02 -04:00
test.html ZFS file sync overhaul for API syncing 2015-10-29 04:38:27 -04:00
test.jpg Add missing test data files 2022-06-21 01:39:07 -04:00
test.pdf Add test PDF file 2015-11-12 15:40:42 -05:00
test.png Add missing sample file for attachment test 2015-05-04 02:45:55 -04:00
test.sqlite Add missing test data files 2022-06-21 01:39:07 -04:00
test.txt Full-text syncing support via API [DB reupgrade] 2015-11-12 02:54:51 -05:00
translatorExport.js Fix support tests after 28ed3e34b 2022-08-11 02:29:44 -04:00
translatorExportLegacy.js Fix support tests after 28ed3e34b 2022-08-11 02:29:44 -04:00
wonderland_long.pdf Merge attachments and update notes (#2336) 2022-03-09 17:26:26 -05:00
wonderland_short.pdf Merge attachments and update notes (#2336) 2022-03-09 17:26:26 -05:00
wonderland_short_watermarked_1.pdf Merge attachments and update notes (#2336) 2022-03-09 17:26:26 -05:00
wonderland_short_watermarked_2.pdf Merge attachments and update notes (#2336) 2022-03-09 17:26:26 -05:00
zotero-4.0.sqlite.zip Add test for 4.0 → 5.0 DB upgrade 2021-08-17 00:41:59 -04:00
zotero_rdf.xml Add skipped test for importing related items from Zotero RDF 2019-01-14 02:36:59 -05:00