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

Unified Diff: net/cert/cert_verify_proc_unittest.cc

Issue 1907443005: Disable CertVerifyProcTest.PaypalNullCertParsing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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: net/cert/cert_verify_proc_unittest.cc
diff --git a/net/cert/cert_verify_proc_unittest.cc b/net/cert/cert_verify_proc_unittest.cc
index c7cf84d46d1b15ecd84bf062683dd3186a667c6c..aae81640922689f46dedd401c217c86818d53729 100644
--- a/net/cert/cert_verify_proc_unittest.cc
+++ b/net/cert/cert_verify_proc_unittest.cc
@@ -13,6 +13,7 @@
#include "base/macros.h"
#include "base/sha1.h"
#include "base/strings/string_number_conversions.h"
+#include "build/build_config.h"
#include "crypto/sha2.h"
#include "net/base/net_errors.h"
#include "net/base/test_data_directory.h"
@@ -203,7 +204,15 @@ TEST_F(CertVerifyProcTest, MAYBE_EVVerification) {
EXPECT_TRUE(verify_result.cert_status & CERT_STATUS_IS_EV);
}
-TEST_F(CertVerifyProcTest, PaypalNullCertParsing) {
+// TODO(crbug.com/605457): this test is disabled on iOS as it should check
+// that the certificate has encoding issue but does not currently test it.
+#if !defined(OS_IOS)
Ryan Sleevi 2016/04/21 11:29:21 As explained in the previous CL (but perhaps uncle
sdefresne 2016/04/21 13:04:20 I've removed line 242-246 and changed the conditio
+#define MAYBE_PaypalNullCertParsing PaypalNullCertParsing
+#else
+#define MAYBE_PaypalNullCertParsing DISABLED_PaypalNullCertParsing
+#endif
+
+TEST_F(CertVerifyProcTest, MAYBE_PaypalNullCertParsing) {
scoped_refptr<X509Certificate> paypal_null_cert(
X509Certificate::CreateFromBytes(
reinterpret_cast<const char*>(paypal_null_der),
« 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