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

Unified Diff: net/url_request/url_request_unittest.cc

Issue 9837027: Disable OCSP tests on Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix HasValue -> HasKey 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 | « net/test/remote_test_server.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_unittest.cc
diff --git a/net/url_request/url_request_unittest.cc b/net/url_request/url_request_unittest.cc
index f31f368a015af52281bfc932be60da25f15e904a..859f3f57818c4d941158fcf32865f732e39e3def 100644
--- a/net/url_request/url_request_unittest.cc
+++ b/net/url_request/url_request_unittest.cc
@@ -1375,6 +1375,10 @@ TEST_F(HTTPSRequestTest, HTTPSExpiredTest) {
}
}
+// http://crbug.com/119642 - The Android test server does not support
+// generating OCSP responses on the fly.
+#if !defined(OS_ANDROID)
+
class TestSSLConfigService : public SSLConfigService {
public:
TestSSLConfigService(bool ev_enabled, bool online_rev_checking)
@@ -1684,6 +1688,8 @@ TEST_F(HTTPSCRLSetTest, ExpiredCRLSet) {
EXPECT_FALSE(cert_status & CERT_STATUS_REV_CHECKING_ENABLED);
}
+#endif // !defined(OS_ANDROID)
+
// This tests that a load of www.google.com with a certificate error sets
// the |certificate_errors_are_fatal| flag correctly. This flag will cause
// the interstitial to be fatal.
« no previous file with comments | « net/test/remote_test_server.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698