Bug 1530961 - Move SearchTestUtils.jsm from browser to toolkit. r=adw
authorMark Banner <standard8@mozilla.com>
Thu, 07 Mar 2019 12:46:19 +0000
changeset 520747 8e01745bb65d8856b6ebbd8360e4fbad50f8a80b
parent 520746 975644295f21a5bd55d551abd09109a2b7d771eb
child 520748 a5c70252fc387405156d12c2dd8e8e80c1daa8d0
push id10862
push userffxbld-merge
push dateMon, 11 Mar 2019 13:01:11 +0000
treeherdermozilla-beta@a2e7f5c935da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersadw
bugs1530961
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1530961 - Move SearchTestUtils.jsm from browser to toolkit. r=adw This seems to make more sense as it is currently only handling the search service. Differential Revision: https://phabricator.services.mozilla.com/D22351
browser/components/search/moz.build
browser/components/search/test/browser/SearchTestUtils.jsm
toolkit/components/search/moz.build
toolkit/components/search/tests/SearchTestUtils.jsm
--- a/browser/components/search/moz.build
+++ b/browser/components/search/moz.build
@@ -10,16 +10,12 @@ EXTRA_JS_MODULES += [
 
 BROWSER_CHROME_MANIFESTS += [
     'test/browser/browser.ini',
     'test/browser/google_codes/browser.ini',
 ]
 
 XPCSHELL_TESTS_MANIFESTS += ['test/unit/xpcshell.ini']
 
-TESTING_JS_MODULES += [
-    'test/browser/SearchTestUtils.jsm',
-]
-
 JAR_MANIFESTS += ['jar.mn']
 
 with Files('**'):
     BUG_COMPONENT = ('Firefox', 'Search')
--- a/toolkit/components/search/moz.build
+++ b/toolkit/components/search/moz.build
@@ -31,10 +31,14 @@ EXTRA_JS_MODULES += [
 EXTRA_COMPONENTS += [
     'toolkitsearch.manifest',
 ]
 
 XPCOM_MANIFESTS += [
     'components.conf',
 ]
 
+TESTING_JS_MODULES += [
+    'tests/SearchTestUtils.jsm',
+]
+
 with Files('**'):
     BUG_COMPONENT = ('Firefox', 'Search')
rename from browser/components/search/test/browser/SearchTestUtils.jsm
rename to toolkit/components/search/tests/SearchTestUtils.jsm