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

Unified Diff: net/cert/internal/verify_certificate_chain_typed_unittest.h

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
Index: net/cert/internal/verify_certificate_chain_typed_unittest.h
diff --git a/net/cert/internal/verify_certificate_chain_typed_unittest.h b/net/cert/internal/verify_certificate_chain_typed_unittest.h
index 4e699c3546a3de358447b03345badbf4843a1e90..8c64d916cc331cb19aed5ef8cf62b9d8342a519c 100644
--- a/net/cert/internal/verify_certificate_chain_typed_unittest.h
+++ b/net/cert/internal/verify_certificate_chain_typed_unittest.h
@@ -5,9 +5,6 @@
#ifndef NET_CERT_INTERNAL_VERIFY_CERTIFICATE_CHAIN_TYPED_UNITTEST_H_
#define NET_CERT_INTERNAL_VERIFY_CERTIFICATE_CHAIN_TYPED_UNITTEST_H_
-#include "base/base_paths.h"
-#include "base/files/file_util.h"
-#include "base/path_service.h"
#include "net/cert/internal/parsed_certificate.h"
#include "net/cert/internal/test_helpers.h"
#include "net/cert/internal/trust_store.h"
@@ -27,11 +24,14 @@ class VerifyCertificateChainTest : public ::testing::Test {
bool expected_result;
std::string expected_errors;
- ReadVerifyCertChainTestFromFile(file_name, &chain, &trust_anchor, &time,
+ std::string path =
+ std::string("net/data/verify_certificate_chain_unittest/") + file_name;
+
+ ReadVerifyCertChainTestFromFile(path, &chain, &trust_anchor, &time,
&expected_result, &expected_errors);
TestDelegate::Verify(chain, trust_anchor, time, expected_result,
- expected_errors);
+ expected_errors, path);
}
};
« no previous file with comments | « net/cert/internal/trust_store_nss_unittest.cc ('k') | net/cert/internal/verify_certificate_chain_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698