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

Unified Diff: chrome/browser/extensions/webstore_inline_install_browsertest.cc

Issue 9356001: Disable WebstoreInstallerTests on mac+win debug. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/webstore_inline_install_browsertest.cc
===================================================================
--- chrome/browser/extensions/webstore_inline_install_browsertest.cc (revision 120696)
+++ chrome/browser/extensions/webstore_inline_install_browsertest.cc (working copy)
@@ -28,6 +28,13 @@
const char kAppDomain[] = "app.com";
const char kNonAppDomain[] = "nonapp.com";
+// http://crbug.com/113024
+#if !defined(NDEBUG) && (defined(OS_WIN) || defined(OS_MACOSX))
+ #define MAYBE(TestName) DISABLED_ ## TestName
+#else
+ #define MAYBE(TestName) TestName
+#endif
+
class WebstoreInlineInstallTest : public InProcessBrowserTest {
public:
virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
@@ -81,7 +88,7 @@
std::string test_gallery_url_;
};
-IN_PROC_BROWSER_TEST_F(WebstoreInlineInstallTest, Install) {
+IN_PROC_BROWSER_TEST_F(WebstoreInlineInstallTest, MAYBE(Install)) {
CommandLine::ForCurrentProcess()->AppendSwitchASCII(
switches::kAppsGalleryInstallAutoConfirmForTests, "accept");
@@ -95,8 +102,8 @@
EXPECT_TRUE(extension);
}
-IN_PROC_BROWSER_TEST_F(
- WebstoreInlineInstallTest, InstallNotAllowedFromNonVerifiedDomains) {
+IN_PROC_BROWSER_TEST_F(WebstoreInlineInstallTest,
+ MAYBE(InstallNotAllowedFromNonVerifiedDomains)) {
CommandLine::ForCurrentProcess()->AppendSwitchASCII(
switches::kAppsGalleryInstallAutoConfirmForTests, "cancel");
ui_test_utils::NavigateToURL(
@@ -123,7 +130,8 @@
RunInlineInstallTest("runTest");
}
-IN_PROC_BROWSER_TEST_F(WebstoreInlineInstallTest, InstallNotSupported) {
+IN_PROC_BROWSER_TEST_F(WebstoreInlineInstallTest,
+ MAYBE(InstallNotSupported)) {
CommandLine::ForCurrentProcess()->AppendSwitchASCII(
switches::kAppsGalleryInstallAutoConfirmForTests, "cancel");
ui_test_utils::NavigateToURL(
@@ -161,7 +169,8 @@
}
};
-IN_PROC_BROWSER_TEST_F(WebstoreInlineInstallUnpackFailureTest, Test) {
+IN_PROC_BROWSER_TEST_F(WebstoreInlineInstallUnpackFailureTest,
+ MAYBE(WebstoreInlineInstallUnpackFailureTest)) {
CommandLine::ForCurrentProcess()->AppendSwitchASCII(
switches::kAppsGalleryInstallAutoConfirmForTests, "accept");
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698