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

Unified Diff: chrome/test/automated_ui_tests/automated_ui_test_test.cc

Issue 125142: Move automated_ui_test_test to ui_tests from a library so it actually gets ru... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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/test/automated_ui_tests/automated_ui_test_base.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/automated_ui_tests/automated_ui_test_test.cc
===================================================================
--- chrome/test/automated_ui_tests/automated_ui_test_test.cc (revision 18388)
+++ chrome/test/automated_ui_tests/automated_ui_test_test.cc (working copy)
@@ -10,6 +10,17 @@
#include "googleurl/src/gurl.h"
#include "net/base/net_util.h"
+#if defined(OS_MACOSX)
+// The window pops up, but doesn't close.
+#define MAYBE_IncognitoWindow DISABLED_IncognitoWindow
+#define MAYBE_OpenCloseBrowserWindowWithAccelerator \
+ DISABLED_OpenCloseBrowserWindowWithAccelerator
+#else
+#define MAYBE_IncognitoWindow IncognitoWindow
+#define MAYBE_OpenCloseBrowserWindowWithAccelerator \
+ OpenCloseBrowserWindowWithAccelerator
+#endif
+
TEST_F(AutomatedUITestBase, NewTab) {
int tab_count;
active_browser()->GetTabCount(&tab_count);
@@ -34,7 +45,7 @@
ASSERT_EQ(3, tab_count);
}
-TEST_F(AutomatedUITestBase, RestoreTab) {
+TEST_F(AutomatedUITestBase, DISABLED_RestoreTab) {
int tab_count;
active_browser()->GetTabCount(&tab_count);
ASSERT_EQ(1, tab_count);
@@ -178,7 +189,7 @@
ASSERT_FALSE(CloseActiveWindow());
}
-TEST_F(AutomatedUITestBase, IncognitoWindow) {
+TEST_F(AutomatedUITestBase, MAYBE_IncognitoWindow) {
int num_browser_windows;
int num_normal_browser_windows;
automation()->GetBrowserWindowCount(&num_browser_windows);
@@ -208,7 +219,7 @@
ASSERT_EQ(1, num_browser_windows);
}
-TEST_F(AutomatedUITestBase, OpenCloseBrowserWindowWithAccelerator) {
+TEST_F(AutomatedUITestBase, MAYBE_OpenCloseBrowserWindowWithAccelerator) {
// Note: we don't use RunCommand(IDC_OPEN/CLOSE_WINDOW) to open/close
// browser window in automated ui tests. Instead we use
// OpenAndActivateNewBrowserWindow and CloseActiveWindow.
« no previous file with comments | « chrome/test/automated_ui_tests/automated_ui_test_base.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698