Adds Zotero.FeedReader tests

This commit is contained in:
Adomas Venčkauskas 2016-01-12 13:28:15 +00:00 committed by Dan Stillman
parent 2d46e3d59b
commit 8a2dc6e7f2
8 changed files with 775 additions and 464 deletions

View file

@ -435,6 +435,10 @@ function getTestDataDirectory() {
QueryInterface(Components.interfaces.nsIFileURL).file;
}
function getTestDataItemUrl(path) {
return OS.Path.join("resource://zotero-unit-tests/data", path);
}
/**
* Returns an absolute path to an empty temporary directory
* (i.e., test/tests/data)