Commit 496dbbec authored by pshenoy@chromium.org's avatar pshenoy@chromium.org

ImportDefault, ImportBookmarksFile and ImportNothingAndShowNewTabPage tests...

ImportDefault, ImportBookmarksFile and ImportNothingAndShowNewTabPage tests are failing consistently on official MacOSX builder. Disabling it for now until it is fixed to keep the official bot green.

BUG=314221

Review URL: https://codereview.chromium.org/88953002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238541 0039d316-1c4b-4281-b951-d872f2087c98
parent e09ef5be
...@@ -159,7 +159,13 @@ extern const char kImportDefault[] = ...@@ -159,7 +159,13 @@ extern const char kImportDefault[] =
"}\n"; "}\n";
typedef FirstRunMasterPrefsBrowserTestT<kImportDefault> typedef FirstRunMasterPrefsBrowserTestT<kImportDefault>
FirstRunMasterPrefsImportDefault; FirstRunMasterPrefsImportDefault;
IN_PROC_BROWSER_TEST_F(FirstRunMasterPrefsImportDefault, ImportDefault) { // http://crbug.com/314221
#if defined(GOOGLE_CHROME_BUILD) && defined(OS_MACOSX)
#define MAYBE_ImportDefault DISABLED_ImportDefault
#else
#define MAYBE_ImportDefault ImportDefault
#endif
IN_PROC_BROWSER_TEST_F(FirstRunMasterPrefsImportDefault, MAYBE_ImportDefault) {
int auto_import_state = first_run::auto_import_state(); int auto_import_state = first_run::auto_import_state();
EXPECT_EQ(MaskExpectedImportState(first_run::AUTO_IMPORT_CALLED | EXPECT_EQ(MaskExpectedImportState(first_run::AUTO_IMPORT_CALLED |
first_run::AUTO_IMPORT_PROFILE_IMPORTED), first_run::AUTO_IMPORT_PROFILE_IMPORTED),
...@@ -176,8 +182,14 @@ extern const char kImportBookmarksFile[] = ...@@ -176,8 +182,14 @@ extern const char kImportBookmarksFile[] =
"}\n"; "}\n";
typedef FirstRunMasterPrefsBrowserTestT<kImportBookmarksFile> typedef FirstRunMasterPrefsBrowserTestT<kImportBookmarksFile>
FirstRunMasterPrefsImportBookmarksFile; FirstRunMasterPrefsImportBookmarksFile;
// http://crbug.com/314221
#if defined(GOOGLE_CHROME_BUILD) && defined(OS_MACOSX)
#define MAYBE_ImportBookmarksFile DISABLED_ImportBookmarksFile
#else
#define MAYBE_ImportBookmarksFile ImportBookmarksFile
#endif
IN_PROC_BROWSER_TEST_F(FirstRunMasterPrefsImportBookmarksFile, IN_PROC_BROWSER_TEST_F(FirstRunMasterPrefsImportBookmarksFile,
ImportBookmarksFile) { MAYBE_ImportBookmarksFile) {
int auto_import_state = first_run::auto_import_state(); int auto_import_state = first_run::auto_import_state();
EXPECT_EQ( EXPECT_EQ(
MaskExpectedImportState(first_run::AUTO_IMPORT_CALLED | MaskExpectedImportState(first_run::AUTO_IMPORT_CALLED |
...@@ -200,8 +212,15 @@ extern const char kImportNothing[] = ...@@ -200,8 +212,15 @@ extern const char kImportNothing[] =
"}\n"; "}\n";
typedef FirstRunMasterPrefsBrowserTestT<kImportNothing> typedef FirstRunMasterPrefsBrowserTestT<kImportNothing>
FirstRunMasterPrefsImportNothing; FirstRunMasterPrefsImportNothing;
// http://crbug.com/314221
#if defined(GOOGLE_CHROME_BUILD) && defined(OS_MACOSX)
#define MAYBE_ImportNothingAndShowNewTabPage \
DISABLED_ImportNothingAndShowNewTabPage
#else
#define MAYBE_ImportNothingAndShowNewTabPage ImportNothingAndShowNewTabPage
#endif
IN_PROC_BROWSER_TEST_F(FirstRunMasterPrefsImportNothing, IN_PROC_BROWSER_TEST_F(FirstRunMasterPrefsImportNothing,
ImportNothingAndShowNewTabPage) { MAYBE_ImportNothingAndShowNewTabPage) {
EXPECT_EQ(first_run::AUTO_IMPORT_CALLED, first_run::auto_import_state()); EXPECT_EQ(first_run::AUTO_IMPORT_CALLED, first_run::auto_import_state());
ui_test_utils::NavigateToURLWithDisposition( ui_test_utils::NavigateToURLWithDisposition(
browser(), GURL(chrome::kChromeUINewTabURL), CURRENT_TAB, browser(), GURL(chrome::kChromeUINewTabURL), CURRENT_TAB,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment