Add unit tests for add item by identifier and some support refactoring

Also adds EventUtils from MozMill to simplify UI automation.
This commit is contained in:
Simon Kornblith 2015-03-08 18:39:42 -04:00
parent 218917f367
commit 299009dcd5
5 changed files with 962 additions and 18 deletions

View file

@ -1,6 +1,7 @@
Components.utils.import("resource://gre/modules/FileUtils.jsm");
Components.utils.import("resource://gre/modules/osfile.jsm");
Components.utils.import("resource://zotero/q.js");
var EventUtils = Components.utils.import("resource://zotero-unit/EventUtils.jsm");
var ZoteroUnit = Components.classes["@mozilla.org/commandlinehandler/general-startup;1?type=zotero-unit"].
getService(Components.interfaces.nsISupports).