Followup to Bug 593855, some additional needs, a=Bustage
authorJustin Wood <Callek@gmail.com>
Thu, 09 Sep 2010 18:42:34 -0400
changeset 6344 189d8a61253248ca61f575b3100985476755de2f
parent 6343 8e3d1110643bec628aafc2b97bc5821da9f6b47f
child 6345 0d8a88a129caa5c7084f313ad3fb378e34d18ea3
push idunknown
push userunknown
push dateunknown
reviewersBustage
bugs593855
Followup to Bug 593855, some additional needs, a=Bustage
mail/base/test/unit/head_mailbase.js
mail/base/test/unit/test_viewWrapper_virtualFolderCustomTerm.js
mailnews/base/test/unit/test_bug366491.js
--- a/mail/base/test/unit/head_mailbase.js
+++ b/mail/base/test/unit/head_mailbase.js
@@ -1,3 +1,5 @@
+gDEPTH = "../../../../"
+
 // Import the main scripts that mail tests need to set up and tear down
 load("../../../../mailnews/resources/mailDirService.js");
 load("../../../../mailnews/resources/mailTestUtils.js");
--- a/mail/base/test/unit/test_viewWrapper_virtualFolderCustomTerm.js
+++ b/mail/base/test/unit/test_viewWrapper_virtualFolderCustomTerm.js
@@ -2,22 +2,22 @@
  * Test DBViewWrapper against a virtual folder with a custom search term.
  *
  *  This test uses an imap message to specifically test the issues from
  *   bug 549336. The code is derived from test_viewWrapper_virtualFolder.js
  *
  *  Original author: Kent James
  */
 
-load("../../mailnews/resources/logHelper.js");
-load("../../mailnews/resources/asyncTestUtils.js");
+load("../../../../mailnews/resources/logHelper.js");
+load("../../../../mailnews/resources/asyncTestUtils.js");
 
-load("../../mailnews/resources/messageGenerator.js");
-load("../../mailnews/resources/messageModifier.js");
-load("../../mailnews/resources/messageInjection.js");
+load("../../../../mailnews/resources/messageGenerator.js");
+load("../../../../mailnews/resources/messageModifier.js");
+load("../../../../mailnews/resources/messageInjection.js");
 
 load("resources/viewWrapperTestUtils.js");
 
 initViewWrapperTestUtils({mode: "imap", offline: false});
 
 /**
  * A custom search term, that just does Subject Contains
  */
--- a/mailnews/base/test/unit/test_bug366491.js
+++ b/mailnews/base/test/unit/test_bug366491.js
@@ -121,13 +121,13 @@ var doTestingListener =
       do_test_finished();
   }
 };
 
 // helper functions
 
 function getSpec(aFileName)
 {
-  var file = do_get_file("../../../bayesian-spam-filter/test/unit/resources/" + aFileName);
+  var file = do_get_file("../../../extensions/bayesian-spam-filter/test/unit/resources/" + aFileName);
   var uri = nsIIOService.newFileURI(file).QueryInterface(Ci.nsIURL);
   uri.query = "type=application/x-message-display";
   return uri.spec;
 }