Add unit test for PDF recognition with DOI
Also some support code that was useful here and will probably be useful for other tests. This is a pretty complicated thing to test, but it seems to work.
This commit is contained in:
parent
50cd396918
commit
3f0f7af71a
6 changed files with 148 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
Components.utils.import("resource://gre/modules/FileUtils.jsm");
|
||||
Components.utils.import("resource://gre/modules/osfile.jsm");
|
||||
Components.utils.import("resource://zotero/q.js");
|
||||
|
||||
var ZoteroUnit = Components.classes["@mozilla.org/commandlinehandler/general-startup;1?type=zotero-unit"].
|
||||
getService(Components.interfaces.nsISupports).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue