| Index: net/cert/internal/test_helpers.h
|
| diff --git a/net/cert/internal/test_helpers.h b/net/cert/internal/test_helpers.h
|
| index d8b1c6992cc70b18fadb9ebb545dedd0b7d0ea60..fdaddc07f7642cc95f9094478d91a1c52d5b92d8 100644
|
| --- a/net/cert/internal/test_helpers.h
|
| +++ b/net/cert/internal/test_helpers.h
|
| @@ -127,6 +127,23 @@ bool ReadCertChainFromFile(const std::string& file_path_ascii,
|
| // Reads a data file relative to the src root directory.
|
| std::string ReadTestFileToString(const std::string& file_path_ascii);
|
|
|
| +// Asserts that |actual_errors| matches |expected_errors|.
|
| +//
|
| +// This is a helper function to simplify rebasing the error expectations when
|
| +// they originate from a test file.
|
| +void VerifyCertPathErrors(const std::string& expected_errors,
|
| + const CertPathErrors& actual_errors,
|
| + const ParsedCertificateList& chain,
|
| + const std::string& errors_file_path);
|
| +
|
| +// Asserts that |actual_errors| matches |expected_errors|.
|
| +//
|
| +// This is a helper function to simplify rebasing the error expectations when
|
| +// they originate from a test file.
|
| +void VerifyCertErrors(const std::string& expected_errors,
|
| + const CertErrors& actual_errors,
|
| + const std::string& errors_file_path);
|
| +
|
| } // namespace net
|
|
|
| #endif // NET_CERT_INTERNAL_TEST_HELPERS_H_
|
|
|