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

Unified Diff: chrome/browser/ui/browser_unittest.cc

Issue 9702055: Automated tests for full screen & mouse lock M16 features (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Valgrind error fix, merge to 130358 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
« no previous file with comments | « chrome/browser/ui/browser_browsertest.cc ('k') | chrome/browser/ui/cocoa/browser_window_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_unittest.cc
diff --git a/chrome/browser/ui/browser_unittest.cc b/chrome/browser/ui/browser_unittest.cc
index b2a38b9495c2db284d72854266f8dc0b30468f70..f761bdca4fdd863299cf62f51bb0a5a15fa4d76e 100644
--- a/chrome/browser/ui/browser_unittest.cc
+++ b/chrome/browser/ui/browser_unittest.cc
@@ -8,8 +8,6 @@
#include "content/public/browser/render_process_host.h"
#include "content/public/browser/site_instance.h"
-typedef BrowserWithTestWindowTest BrowserTest;
-
class TestingOffTheRecordDestructionProfile : public TestingProfile {
public:
TestingOffTheRecordDestructionProfile() : destroyed_profile_(false) {
@@ -23,7 +21,7 @@ class TestingOffTheRecordDestructionProfile : public TestingProfile {
DISALLOW_COPY_AND_ASSIGN(TestingOffTheRecordDestructionProfile);
};
-class BrowserTestOffTheRecord : public BrowserTest {
+class BrowserTestOffTheRecord : public BrowserWithTestWindowTest {
public:
BrowserTestOffTheRecord() : off_the_record_profile_(NULL) {}
@@ -39,7 +37,7 @@ class BrowserTestOffTheRecord : public BrowserTest {
};
// Various assertions around setting show state.
-TEST_F(BrowserTest, GetSavedWindowShowState) {
+TEST_F(BrowserWithTestWindowTest, GetSavedWindowShowState) {
// Default show state is SHOW_STATE_DEFAULT.
EXPECT_EQ(ui::SHOW_STATE_DEFAULT, browser()->GetSavedWindowShowState());
« no previous file with comments | « chrome/browser/ui/browser_browsertest.cc ('k') | chrome/browser/ui/cocoa/browser_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698