| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_OPTIONS_UI_BROWSERTEST_H_ | |
| 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_OPTIONS_UI_BROWSERTEST_H_ | |
| 7 | |
| 8 #include "base/basictypes.h" | |
| 9 #include "chrome/test/base/in_process_browser_test.h" | |
| 10 | |
| 11 namespace options { | |
| 12 | |
| 13 class OptionsBrowserTest : public InProcessBrowserTest { | |
| 14 public: | |
| 15 OptionsBrowserTest(); | |
| 16 | |
| 17 // Navigate to the settings tab and block until complete. | |
| 18 void NavigateToSettings(); | |
| 19 | |
| 20 // Check navbar's existence. | |
| 21 void VerifyNavbar(); | |
| 22 | |
| 23 // Verify that the page title is correct. | |
| 24 // The only guarantee we can make about the title of a settings tab is that | |
| 25 // it should contain IDS_SETTINGS_TITLE somewhere. | |
| 26 void VerifyTitle(); | |
| 27 }; | |
| 28 | |
| 29 } // namespace options | |
| 30 | |
| 31 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_OPTIONS_UI_BROWSERTEST_H_ | |
| OLD | NEW |