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

Unified Diff: net/spdy/spdy_credential_builder_unittest.cc

Issue 12221136: Add CLIENT_CERT_TYPE_DSS_SIGN to net::SSLClientCertType (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 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
« net/base/ssl_client_cert_type.h ('K') | « net/base/ssl_client_cert_type.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_credential_builder_unittest.cc
diff --git a/net/spdy/spdy_credential_builder_unittest.cc b/net/spdy/spdy_credential_builder_unittest.cc
index 067fdb7b66826643371c4dcfce1e30085fc7226c..c3feb591a1f094f83359426bfc2a9568d863839c 100644
--- a/net/spdy/spdy_credential_builder_unittest.cc
+++ b/net/spdy/spdy_credential_builder_unittest.cc
@@ -112,6 +112,17 @@ TEST_F(SpdyCredentialBuilderTest, MAYBE_FailsWithRSACert) {
}
#if defined(USE_OPENSSL)
+#define MAYBE_FailsWithDSACert DISABLED_FailsWithDSACert
+#else
+#define MAYBE_FailsWithDSACert FailsWithDSACert
+#endif
+
+TEST_F(SpdyCredentialBuilderTest, MAYBE_FailsWithDSACert) {
+ EXPECT_EQ(ERR_BAD_SSL_CLIENT_AUTH_CERT,
+ BuildWithType(CLIENT_CERT_DSS_SIGN));
+}
+
+#if defined(USE_OPENSSL)
#define MAYBE_SetsSlotCorrectly DISABLED_SetsSlotCorrectly
#else
#define MAYBE_SetsSlotCorrectly SetsSlotCorrectly
« net/base/ssl_client_cert_type.h ('K') | « net/base/ssl_client_cert_type.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698