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

Unified Diff: net/cert/internal/nist_pkits_unittest.cc

Issue 2918913002: Add path validation error expectations for PKITS tests. (Closed)
Patch Set: Address Matt's comments Created 3 years, 7 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/cert/internal/nist_pkits_unittest.h ('k') | net/cert/internal/parse_certificate_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/internal/nist_pkits_unittest.cc
diff --git a/net/cert/internal/nist_pkits_unittest.cc b/net/cert/internal/nist_pkits_unittest.cc
index 6697ded9056dc5850cac6cc31ca98f5b5a293256..c51f84b8f0eb0d3419cb469f6126dfead89f81aa 100644
--- a/net/cert/internal/nist_pkits_unittest.cc
+++ b/net/cert/internal/nist_pkits_unittest.cc
@@ -56,6 +56,10 @@ PkitsTestInfo::PkitsTestInfo() {
SetUserConstrainedPolicySet("NIST-test-policy-1");
}
+PkitsTestInfo::PkitsTestInfo(const PkitsTestInfo& other) = default;
+
+PkitsTestInfo::~PkitsTestInfo() = default;
+
void PkitsTestInfo::SetInitialExplicitPolicy(bool b) {
initial_explicit_policy =
b ? InitialExplicitPolicy::kTrue : InitialExplicitPolicy::kFalse;
@@ -71,8 +75,6 @@ void PkitsTestInfo::SetInitialInhibitAnyPolicy(bool b) {
b ? InitialAnyPolicyInhibit::kTrue : InitialAnyPolicyInhibit::kFalse;
}
-PkitsTestInfo::~PkitsTestInfo() = default;
-
void PkitsTestInfo::SetInitialPolicySet(const char* const policy_names) {
SetPolicySetFromString(policy_names, &initial_policy_set);
}
« no previous file with comments | « net/cert/internal/nist_pkits_unittest.h ('k') | net/cert/internal/parse_certificate_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698