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

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

Issue 2346663002: Generalize rebase-errors.py so it works for other files. (Closed)
Patch Set: moar comment wording Created 4 years, 3 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/test_helpers.cc ('k') | net/cert/internal/trust_store_nss_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/internal/trust_store_collection_unittest.cc
diff --git a/net/cert/internal/trust_store_collection_unittest.cc b/net/cert/internal/trust_store_collection_unittest.cc
index 44787158c686e41ce6bee88f07723b73d8812e5a..a7561d3f7821b36186f560c6da1e80167183a142 100644
--- a/net/cert/internal/trust_store_collection_unittest.cc
+++ b/net/cert/internal/trust_store_collection_unittest.cc
@@ -39,9 +39,9 @@ class TrustStoreCollectionTest : public testing::Test {
der::GeneralizedTime unused_time;
std::string unused_errors;
- ReadVerifyCertChainTestFromFile("key-rollover-oldchain.pem", &chain,
- &oldroot_, &unused_time,
- &unused_verify_result, &unused_errors);
+ ReadVerifyCertChainTestFromFile(
+ "net/data/verify_certificate_chain_unittest/key-rollover-oldchain.pem",
+ &chain, &oldroot_, &unused_time, &unused_verify_result, &unused_errors);
ASSERT_EQ(2U, chain.size());
target_ = chain[0];
oldintermediate_ = chain[1];
@@ -50,9 +50,11 @@ class TrustStoreCollectionTest : public testing::Test {
ASSERT_TRUE(oldroot_);
scoped_refptr<TrustAnchor> unused_root;
- ReadVerifyCertChainTestFromFile("key-rollover-longrolloverchain.pem",
- &chain, &unused_root, &unused_time,
- &unused_verify_result, &unused_errors);
+ ReadVerifyCertChainTestFromFile(
+ "net/data/verify_certificate_chain_unittest/"
+ "key-rollover-longrolloverchain.pem",
+ &chain, &unused_root, &unused_time, &unused_verify_result,
+ &unused_errors);
ASSERT_EQ(4U, chain.size());
newintermediate_ = chain[1];
newroot_ = TrustAnchor::CreateFromCertificateNoConstraints(chain[2]);
« no previous file with comments | « net/cert/internal/test_helpers.cc ('k') | net/cert/internal/trust_store_nss_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698