zotero/test/tests
Dan Stillman 5ba344516e Update PDF tool handling in tests
The test runner now downloads and caches the PDF tools for the current
platform within the test data directory and only redownloads them when
out of date, and it updates the download URL so that the full-text code
pulls from the cache directory via a file:// URL.

The installPDFTools() support function now installs the files directly
instead of going through the prefs, and a new uninstallPDFTools()
function removes the tools. Since the presence of the PDF tools can
affect other tests, tests that need the tools should install them in a
before() and uninstall them in an after(), leaving most tests to run
without PDF indexing.

This also adds a callback to the waitForWindow() support function. If a
modal dialog is opened, it blocks the next promise handler from running,
so a callback has to be used to interact with and close the dialog
immediately.
2015-05-31 23:50:26 -04:00
..
data Add basic tests for full-text search 2015-05-31 14:39:37 -07:00
attachmentsTest.js Return a Zotero.Item from all Zotero.Attachments methods 2015-05-29 05:33:54 -04:00
collectionsTest.js Collections data layer cleanup 2015-05-24 04:37:34 -04:00
collectionTest.js Fix updating of cached child collections/items, and make more efficient 2015-05-30 19:03:42 -04:00
collectionTreeViewTest.js Return a Zotero.Item from all Zotero.Attachments methods 2015-05-29 05:33:54 -04:00
dataObjectsTest.js Default to user library when assigning unsaved item to collection 2015-05-31 02:03:53 -04:00
dataObjectTest.js Functions to modify 'version'/'synced' efficiently, plus some other fixes 2015-05-21 23:44:10 -04:00
dataObjectUtilitiesTest.js More data layer changes 2015-05-21 23:39:00 -04:00
dateTest.js Add Zotero.Date.isISODate() and Zotero.Date.isoToSQL() 2015-05-04 02:41:14 -04:00
dbTest.js Remove stray this.timeout() call 2015-05-29 01:38:47 -04:00
fileTest.js Async Zotero.File.copyDirectory() 2015-05-23 21:08:11 -04:00
fulltextTest.js Update PDF tool handling in tests 2015-05-31 23:50:26 -04:00
groupsTest.js Add group test 2015-05-22 16:04:40 -04:00
itemFieldsTest.js Fix Zotero.ItemFields.getBaseIDFromTypeAndField() 2015-05-27 05:01:48 -04:00
itemPaneTest.js More data layer changes 2015-05-21 23:39:00 -04:00
itemsTest.js Disable emptyTrash() assertion, which is still faiing on Travis 2015-05-31 17:45:25 -04:00
itemTest.js Default to user library when assigning unsaved item to collection 2015-05-31 02:03:53 -04:00
itemTreeViewTest.js Attachment fixes 2015-05-23 04:43:37 -04:00
lookupTest.js Rename remaining files to *Test.js 2015-05-19 14:46:17 -04:00
preferences_searchTest.js Update PDF tool handling in tests 2015-05-31 23:50:26 -04:00
recognizePDFTest.js Return a Zotero.Item from all Zotero.Attachments methods 2015-05-29 05:33:54 -04:00
searchTest.js Add basic tests for full-text search 2015-05-31 14:39:37 -07:00
supportTest.js Increase resetDB() timeout to 60s, though this seems untenable 2015-05-21 23:50:58 -04:00
tagSelectorTest.js Fixes #728, Tag selector refreshing 2015-05-25 21:48:46 -04:00
utilitiesTest.js Rename remaining files to *Test.js 2015-05-19 14:46:17 -04:00
zoteroPaneTest.js Fix selection of new items 2015-05-25 21:48:47 -04:00