zotero/test/tests
Dan Stillman d857a06661 Use OS.File for file reads in Zotero.File.get(Binary)ContentsAsync()
This is the recommended approach (since NetUtil can still do some main-thread
I/O for files) and avoids warnings in the console.

For getContentsAsync(), also sends nsIURIs and string URIs to
Zotero.HTTP.request(), which should be used instead.

This makes getBinaryContentsAsync() much slower (due to the conversion from an
array of bytes to a binary string), but it's only used in tests. For one test
that compares two large files, use MD5 instead.
2016-09-24 06:42:30 -04:00
..
data Fix error handling during local file import translation 2016-08-22 21:41:10 -04:00
advancedSearchTest.js Fix test breakage from db33163a9 2016-03-25 02:31:54 -04:00
attachmentsTest.js Update test for fcb6e0c06 2016-06-02 16:37:26 -04:00
bibliographyTest.js Add "Manage Styles…" link to Create Bib and Doc Prefs windows 2016-09-06 19:15:01 -04:00
browserTest.js .collectionTreeViewID -> .treeViewID, and add it to Zotero.Item too 2016-05-09 12:34:03 -04:00
cachedTypesTest.js Add toCanonical and toLabel for Zotero.CharacterSets 2015-06-11 17:17:28 -05:00
collectionsTest.js Use new groups for collections tests 2016-07-18 17:51:59 -04:00
collectionTest.js Fix sync error after changing child item to top-level 2016-05-15 03:34:06 -04:00
collectionTreeViewTest.js Fix subcollections being shown at top level of groups 2016-07-18 17:51:59 -04:00
concurrentCallerTest.js Maybe reduce spurious errors in ConcurrentCaller test 2016-07-19 18:53:48 -04:00
creatorsTest.js Deasyncification 🔙 😢 2016-03-07 17:03:58 -05:00
dataObjectsTest.js Don't throw in Zotero.DataObjects::get() for nonexistent objects 2016-05-05 06:36:24 -04:00
dataObjectTest.js Add .library to Zotero.DataObject 2016-04-10 19:46:10 -04:00
dataObjectUtilitiesTest.js Fix test from d8025be67 2016-05-17 02:44:00 -04:00
dateTest.js Changes date parsing and handling for feeds. Closes #1024, #1025 2016-06-14 13:22:04 +03:00
dbTest.js Throw an error from queryAsync() if onRow throws an error 2016-03-28 17:47:25 -04:00
duplicatesTest.js Fix instances of browser windows being left open after tests 2016-06-11 05:10:06 -04:00
feedItemsTest.js Close #934. Remove feed item read state syncing 2016-03-31 12:37:01 +03:00
feedItemTest.js Fix test failures on Linux due to slow translator initialization 2016-08-25 12:38:52 -04:00
feedReaderTest.js Various feeds changes 2016-03-22 06:56:36 -04:00
feedsTest.js Fix test failures introduced after #1044 2016-06-22 05:47:24 -04:00
feedTest.js Closes #1097. Fixes the feed settings being reuploaded after every refresh (#1098) 2016-09-22 04:05:30 -04:00
fileInterfaceTest.js Generate citation cluster via Create Bibliography dialog 2016-08-26 02:42:56 -04:00
fileTest.js Use OS.File for file reads in Zotero.File.get(Binary)ContentsAsync() 2016-09-24 06:42:30 -04:00
fulltextTest.js Use OS.File for file reads in Zotero.File.get(Binary)ContentsAsync() 2016-09-24 06:42:30 -04:00
groupsTest.js Update toolbar icons on group editability change 2016-03-25 16:49:26 -04:00
groupTest.js Add Feed and FeedItem 2015-09-21 17:08:21 -05:00
itemFieldsTest.js Fix Zotero.ItemFields.getBaseIDFromTypeAndField() 2015-05-27 05:01:48 -04:00
itemPaneTest.js Save open field when selecting from an item pane context menu 2016-06-29 05:35:51 -04:00
itemsTest.js Save master item when merging 2016-04-29 20:29:44 -04:00
itemTest.js Don't clear md5/mtime in item JSON if skipped in patch mode 2016-08-15 04:38:04 -04:00
itemTreeViewTest.js Fix #1057, Item order is lost in saved search after item edit 2016-07-06 02:09:14 -04:00
librariesTest.js Make Zotero.Libraries.getAll() return sorted Zotero.Library instances 2015-11-04 14:04:21 -05:00
libraryTest.js Load synced settings (incl. tag colors) at startup 2016-03-15 01:18:55 -04:00
libraryTreeViewTest.js Fix potential error in libraryTreeView::#_removeRow() test 2016-07-19 20:31:52 -04:00
lookupTest.js Fix saving to collection from fallback search translators 2016-06-11 14:54:06 -04:00
noteeditorTest.js Maybe fix spurious error in noteeditor tests 2016-08-15 02:35:39 -04:00
notifierTest.js Add Zotero.Notifier.Queue to keep event groups separate, and use for sync 2016-04-22 22:48:58 -04:00
openurlTest.js Use best first creator for OpenURL author, not just first position 2016-07-11 06:30:55 -04:00
preferences_advancedTest.js Fix #959, 5.0: Submit to Zotero Server is not working 2016-04-24 04:04:40 -04:00
preferences_searchTest.js Add waitForDialog(onOpen, button) support function 2015-06-04 20:31:48 -04:00
preferences_syncTest.js Sync pane caption: "Zotero Data Sync" -> "Data Syncing" 2016-09-24 02:29:20 -04:00
quickCopyTest.js Cancel delayed quickCopy initialization when resetting DB during tests 2016-06-23 05:38:15 -04:00
recognizePDFTest.js Set Zotero.automatedTest flag instead of .noUserInput on Travis 2016-06-24 18:28:32 -04:00
relatedboxTest.js Deasyncification 🔙 😢 2016-03-07 17:03:58 -05:00
relationsTest.js Load reverse relations mappings at startup 2016-03-18 04:31:37 -04:00
schemaTest.js Overhaul object downloading/processing during data syncs 2016-03-23 04:29:04 -04:00
searchTest.js Fix error modifying existing saved search with more than 1 condition 2016-07-07 07:55:15 -04:00
server_connectorTest.js Fix getTranslatorCode bugs 2016-09-20 15:55:58 +03:00
storageLocalTest.js Fix showing of WebDAV settings in sync prefs 2016-06-26 05:29:51 -04:00
storageRequestTest.js ZFS file sync overhaul for API syncing 2015-10-29 04:38:27 -04:00
supportTest.js Deasyncify Zotero.Tags.getID()/getAsync(), and add Zotero.Tags.create() 2016-04-21 11:07:16 -04:00
syncAPIClientTest.js Overhaul object downloading/processing during data syncs 2016-03-23 04:29:04 -04:00
syncedSettingsTest.js Fixes feed sync bugs after conflicts. (#1074) 2016-08-16 03:03:42 -04:00
syncEngineTest.js Fix errors uploading remotely missing objects with local version numbers 2016-08-20 14:56:31 -04:00
syncEventListenersTest.js Don't auto-sync skipped libraries on change 2016-07-12 00:41:08 -04:00
syncFullTextEngineTest.js Skip full-text content download if main library version hasn't changed 2016-05-03 01:17:53 -04:00
syncLocalTest.js Follow-ups to getAPIKey() changes in 008321bb89 2016-09-05 04:00:55 -04:00
syncRunnerTest.js Don't show missing-group warning for skipped groups 2016-07-20 15:36:31 -04:00
tagsboxTest.js Deasyncify Zotero.Tags.getID()/getAsync(), and add Zotero.Tags.create() 2016-04-21 11:07:16 -04:00
tagSelectorTest.js Deasyncify Zotero.Tags.getID()/getAsync(), and add Zotero.Tags.create() 2016-04-21 11:07:16 -04:00
tagsTest.js Deasyncify Zotero.Tags.getID()/getAsync(), and add Zotero.Tags.create() 2016-04-21 11:07:16 -04:00
translateTest.js Fix nested translators that rely on child translator tags 2016-09-21 11:54:56 +03:00
utilities_internalTest.js Gzip-compress API uploads larger than 1000 characters 2016-03-28 02:38:28 -04:00
utilitiesTest.js Merge branch '4.0' 2016-09-18 18:39:18 -04:00
webdavTest.js Deasyncification 🔙 😢 2016-03-07 17:03:58 -05:00
zfsTest.js Always include 'contentType'/'charset'/'filename' in attachment JSON 2016-05-21 16:33:35 -04:00
zoteroPaneTest.js Properly save search when using "New Saved Search…" menu option 2016-09-23 21:03:00 -04:00