Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(670)

Unified Diff: chrome/browser/ui/webui/options/chromeos/guest_mode_options_ui_uitest.cc

Issue 9814030: get rid of old options pages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixes Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/options/chromeos/guest_mode_options_ui_uitest.cc
diff --git a/chrome/browser/ui/webui/options/chromeos/guest_mode_options_ui_uitest.cc b/chrome/browser/ui/webui/options/chromeos/guest_mode_options_ui_uitest.cc
deleted file mode 100644
index 443524af500625260b132a7c5401a227ab44cf0e..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/webui/options/chromeos/guest_mode_options_ui_uitest.cc
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright (c) 2012 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.
-
-#include "chrome/browser/ui/webui/options/options_ui_uitest.h"
-#include "chrome/common/chrome_switches.h"
-#include "chrome/test/automation/automation_proxy.h"
-#include "chrome/test/automation/browser_proxy.h"
-#include "chrome/test/automation/tab_proxy.h"
-#include "chrome/test/ui/ui_test.h"
-
-namespace {
-
-// Same as OptionsUITest but launches with Guest mode command line switches.
-class GuestModeOptionsUITest : public OptionsUITest {
- public:
- GuestModeOptionsUITest() : OptionsUITest() {
- launch_arguments_.AppendSwitch(switches::kGuestSession);
- launch_arguments_.AppendSwitch(switches::kIncognito);
- }
-};
-
-TEST_F(GuestModeOptionsUITest, LoadOptionsByURL) {
- scoped_refptr<BrowserProxy> browser(automation()->GetBrowserWindow(0));
- ASSERT_TRUE(browser.get());
-
- scoped_refptr<TabProxy> tab = browser->GetActiveTab();
- ASSERT_TRUE(tab.get());
-
- NavigateToSettings(tab);
- VerifyTitle(tab);
- VerifyNavbar(tab);
- VerifySections(tab);
-}
-
-} // namespace

Powered by Google App Engine
This is Rietveld 408576698