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

Unified Diff: chrome/browser/chromeos/gview_request_interceptor_unittest.cc

Issue 8589010: Disable GViewRequestInterceptorTest.InterceptPdfWithNoPlugin on official builds. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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/chromeos/gview_request_interceptor_unittest.cc
diff --git a/chrome/browser/chromeos/gview_request_interceptor_unittest.cc b/chrome/browser/chromeos/gview_request_interceptor_unittest.cc
index 5fba6c160a91ea137b137de40cd813f1c2d2f27b..9bdf5f07c844333a270e8713f2c96b90490e3e31 100644
--- a/chrome/browser/chromeos/gview_request_interceptor_unittest.cc
+++ b/chrome/browser/chromeos/gview_request_interceptor_unittest.cc
@@ -244,7 +244,13 @@ TEST_F(GViewRequestInterceptorTest, InterceptPdfWhenDisabled) {
EXPECT_EQ(GURL(kPdfUrlIntercepted), request.url());
}
-TEST_F(GViewRequestInterceptorTest, InterceptPdfWithNoPlugin) {
+#if defined(OFFICIAL_BUILD)
Lei Zhang 2011/11/17 01:40:09 just put: #if !defined(OFFICIAL_BUILD) around the
tbarzic 2011/11/17 01:49:00 Done.
+#define MAYBE_InterceptPdfWithNoPlugin DISABLED_InterceptPdfWithNoPLugin
+#else
+#define MAYBE_InterceptPdfWithNoPlugin InterceptPdfWithNoPlugin
+#endif
+
+TEST_F(GViewRequestInterceptorTest, MAYBE_InterceptPdfWithNoPlugin) {
SetPDFPluginLoadedState(false);
net::URLRequest request(GURL(kPdfUrl), &test_delegate_);
« 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