Bug 1487078 - Move extensions helper xpcshell test to aboutdebugging-new;r=daisuke
authorJulian Descottes <jdescottes@mozilla.com>
Fri, 31 Aug 2018 06:55:53 +0000
changeset 482620 9ed022a889da3f522a18817ea9588e729a100717
parent 482619 c42178e6c20793d921d770010bb2f1bdd6b2f2c6
child 482621 23ac0383d77ecfddb53f46744667f2c7472aaf66
push id232
push userfmarier@mozilla.com
push dateWed, 05 Sep 2018 20:45:54 +0000
reviewersdaisuke
bugs1487078
milestone63.0a1
Bug 1487078 - Move extensions helper xpcshell test to aboutdebugging-new;r=daisuke Depends on D4646 Differential Revision: https://phabricator.services.mozilla.com/D4647
devtools/client/aboutdebugging-new/moz.build
devtools/client/aboutdebugging-new/test/unit/.eslintrc.js
devtools/client/aboutdebugging-new/test/unit/test_extensions_path.js
devtools/client/aboutdebugging-new/test/unit/xpcshell-head.js
devtools/client/aboutdebugging-new/test/unit/xpcshell.ini
devtools/client/aboutdebugging/moz.build
devtools/client/aboutdebugging/test/test_addon_path.js
devtools/client/aboutdebugging/test/xpcshell-head.js
devtools/client/aboutdebugging/test/xpcshell.ini
--- a/devtools/client/aboutdebugging-new/moz.build
+++ b/devtools/client/aboutdebugging-new/moz.build
@@ -1,10 +1,14 @@
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 DIRS += [
     'src',
 ]
 
+XPCSHELL_TESTS_MANIFESTS += [
+    'test/unit/xpcshell.ini'
+]
+
 with Files('**'):
     BUG_COMPONENT = ('DevTools', 'about:debugging')
\ No newline at end of file
new file mode 100644
--- /dev/null
+++ b/devtools/client/aboutdebugging-new/test/unit/.eslintrc.js
@@ -0,0 +1,6 @@
+"use strict";
+
+module.exports = {
+  // Extend from the common devtools xpcshell eslintrc config.
+  "extends": "../../../../.eslintrc.xpcshell.js"
+};
rename from devtools/client/aboutdebugging/test/test_addon_path.js
rename to devtools/client/aboutdebugging-new/test/unit/test_extensions_path.js
rename from devtools/client/aboutdebugging/test/xpcshell-head.js
rename to devtools/client/aboutdebugging-new/test/unit/xpcshell-head.js
rename from devtools/client/aboutdebugging/test/xpcshell.ini
rename to devtools/client/aboutdebugging-new/test/unit/xpcshell.ini
--- a/devtools/client/aboutdebugging/test/xpcshell.ini
+++ b/devtools/client/aboutdebugging-new/test/unit/xpcshell.ini
@@ -1,7 +1,7 @@
 [DEFAULT]
 tags = devtools
 head = xpcshell-head.js
 firefox-appdir = browser
 skip-if = toolkit == 'android'
 
-[test_addon_path.js]
+[test_extensions_path.js]
--- a/devtools/client/aboutdebugging/moz.build
+++ b/devtools/client/aboutdebugging/moz.build
@@ -11,12 +11,11 @@ DIRS += [
 
 DevToolsModules(
     'initializer.js'
 )
 
 BROWSER_CHROME_MANIFESTS += [
     'test/browser.ini'
 ]
-XPCSHELL_TESTS_MANIFESTS += ['test/xpcshell.ini']
 
 with Files('**'):
     BUG_COMPONENT = ('DevTools', 'about:debugging')