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

Unified Diff: net/base/x509_cert_types_mac_unittest.cc

Issue 5162001: X.509-related cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More files broke Created 10 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 | « net/base/x509_cert_types_mac.cc ('k') | net/base/x509_certificate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/x509_cert_types_mac_unittest.cc
diff --git a/net/base/x509_cert_types_unittest.cc b/net/base/x509_cert_types_mac_unittest.cc
similarity index 99%
rename from net/base/x509_cert_types_unittest.cc
rename to net/base/x509_cert_types_mac_unittest.cc
index 50012b12ec83bbe696554d75b8008da0cd3d80f2..e4809b0db41c24ee5e8a91ca91717ed21204bf34 100644
--- a/net/base/x509_cert_types_unittest.cc
+++ b/net/base/x509_cert_types_mac_unittest.cc
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "base/basictypes.h"
#include "net/base/x509_cert_types.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -249,8 +250,6 @@ TEST(X509TypesTest, Matching) {
EXPECT_FALSE(spamco.Matches(bogus));
}
-#if defined(OS_MACOSX) // ParseDistinguishedName not implemented for Win/Linux
-
TEST(X509TypesTest, ParseDNVerisign) {
CertPrincipal verisign;
EXPECT_TRUE(verisign.ParseDistinguishedName(VerisignDN, sizeof(VerisignDN)));
@@ -339,6 +338,4 @@ TEST(X509TypesTest, ParseDNEntrust) {
entrust.organization_unit_names[1]);
}
-#endif
-
-}
+} // namespace net
« no previous file with comments | « net/base/x509_cert_types_mac.cc ('k') | net/base/x509_certificate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698