From 0c84220a4f93a3e4f48d8d183aa0f5d8b15eb7ab Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Tue, 23 Apr 2019 13:38:38 -0400 Subject: Remove tests from search service --- .../tests/xpcshell/test_async_addon_no_override.js | 33 ---------------------- 1 file changed, 33 deletions(-) delete mode 100644 toolkit/components/search/tests/xpcshell/test_async_addon_no_override.js (limited to 'toolkit/components/search/tests/xpcshell/test_async_addon_no_override.js') diff --git a/toolkit/components/search/tests/xpcshell/test_async_addon_no_override.js b/toolkit/components/search/tests/xpcshell/test_async_addon_no_override.js deleted file mode 100644 index 5c48c108a..000000000 --- a/toolkit/components/search/tests/xpcshell/test_async_addon_no_override.js +++ /dev/null @@ -1,33 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -function run_test() { - do_test_pending(); - - removeMetadata(); - removeCacheFile(); - - do_load_manifest("data/chrome.manifest"); - - configureToLoadJarEngines(); - installAddonEngine("engine-override"); - - do_check_false(Services.search.isInitialized); - - Services.search.init(function search_initialized(aStatus) { - do_check_true(Components.isSuccessCode(aStatus)); - do_check_true(Services.search.isInitialized); - - // test the add-on engine isn't overriding our jar engine - let engines = Services.search.getEngines(); - do_check_eq(engines.length, 1); - - // test jar engine is loaded ok. - let engine = Services.search.getEngineByName("bug645970"); - do_check_neq(engine, null); - - do_check_eq(engine.description, "bug645970"); - - do_test_finished(); - }); -} -- cgit v1.2.3