| Index: chrome/browser/ui/webui/options/search_engine_manager_browsertest.js
|
| diff --git a/chrome/browser/ui/webui/options/search_engine_manager_browsertest.js b/chrome/browser/ui/webui/options/search_engine_manager_browsertest.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..bf58b6355c6748186775f820d14d88fe099899c9
|
| --- /dev/null
|
| +++ b/chrome/browser/ui/webui/options/search_engine_manager_browsertest.js
|
| @@ -0,0 +1,25 @@
|
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +/**
|
| + * TestFixture for search engine manager WebUI testing.
|
| + * @extends {testing.Test}
|
| + * @constructor
|
| + **/
|
| +function SearchEngineManagerWebUITest() {}
|
| +
|
| +SearchEngineManagerWebUITest.prototype = {
|
| + __proto__: testing.Test.prototype,
|
| +
|
| + /**
|
| + * Browse to the search engine manager.
|
| + **/
|
| + browsePreload: 'chrome://settings/searchEngines',
|
| +};
|
| +
|
| +// Test opening the search engine manager has correct location.
|
| +TEST_F('SearchEngineManagerWebUITest', 'testOpenSearchEngineManager',
|
| + function() {
|
| + assertEquals(this.browsePreload, document.location.href);
|
| + });
|
|
|