OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef NET_CERT_INTERNAL_TEST_HELPERS_H_ | 5 #ifndef NET_CERT_INTERNAL_TEST_HELPERS_H_ |
6 #define NET_CERT_INTERNAL_TEST_HELPERS_H_ | 6 #define NET_CERT_INTERNAL_TEST_HELPERS_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <ostream> | 10 #include <ostream> |
9 #include <string> | 11 #include <string> |
10 #include <vector> | 12 #include <vector> |
11 | 13 |
12 #include "net/der/input.h" | 14 #include "net/der/input.h" |
13 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
14 | 16 |
15 namespace net { | 17 namespace net { |
16 | 18 |
17 namespace der { | 19 namespace der { |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 template <size_t N> | 82 template <size_t N> |
81 ::testing::AssertionResult ReadTestDataFromPemFile( | 83 ::testing::AssertionResult ReadTestDataFromPemFile( |
82 const std::string& file_path_ascii, | 84 const std::string& file_path_ascii, |
83 const PemBlockMapping(&mappings)[N]) { | 85 const PemBlockMapping(&mappings)[N]) { |
84 return ReadTestDataFromPemFile(file_path_ascii, mappings, N); | 86 return ReadTestDataFromPemFile(file_path_ascii, mappings, N); |
85 } | 87 } |
86 | 88 |
87 } // namespace net | 89 } // namespace net |
88 | 90 |
89 #endif // NET_CERT_INTERNAL_TEST_HELPERS_H_ | 91 #endif // NET_CERT_INTERNAL_TEST_HELPERS_H_ |
OLD | NEW |