OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include <stdarg.h> | 5 #include <stdarg.h> |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/base_paths.h" | 9 #include "base/base_paths.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 ASSERT_TRUE(CryptoCipherPath(&data_file)); | 106 ASSERT_TRUE(CryptoCipherPath(&data_file)); |
107 data_file = data_file.Append(FILE_PATH_LITERAL("rc4_md5_tests.txt")); | 107 data_file = data_file.Append(FILE_PATH_LITERAL("rc4_md5_tests.txt")); |
108 | 108 |
109 std::vector<base::CommandLine::StringType> args; | 109 std::vector<base::CommandLine::StringType> args; |
110 args.push_back(FILE_PATH_LITERAL("rc4-md5")); | 110 args.push_back(FILE_PATH_LITERAL("rc4-md5")); |
111 args.push_back(data_file.value()); | 111 args.push_back(data_file.value()); |
112 | 112 |
113 TestProcess("aead_test", args); | 113 TestProcess("aead_test", args); |
114 } | 114 } |
115 | 115 |
| 116 TEST(BoringSSL, Base64) { |
| 117 TestSimple("base64_test"); |
| 118 } |
| 119 |
116 TEST(BoringSSL, BIO) { | 120 TEST(BoringSSL, BIO) { |
117 TestSimple("bio_test"); | 121 TestSimple("bio_test"); |
118 } | 122 } |
119 | 123 |
120 TEST(BoringSSL, BN) { | 124 TEST(BoringSSL, BN) { |
121 TestSimple("bn_test"); | 125 TestSimple("bn_test"); |
122 } | 126 } |
123 | 127 |
124 TEST(BoringSSL, ByteString) { | 128 TEST(BoringSSL, ByteString) { |
125 TestSimple("bytestring_test"); | 129 TestSimple("bytestring_test"); |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 TestSimple("sha1_test"); | 180 TestSimple("sha1_test"); |
177 } | 181 } |
178 | 182 |
179 TEST(BoringSSL, ExampleMul) { | 183 TEST(BoringSSL, ExampleMul) { |
180 TestSimple("example_mul"); | 184 TestSimple("example_mul"); |
181 } | 185 } |
182 | 186 |
183 TEST(BoringSSL, ExampleSign) { | 187 TEST(BoringSSL, ExampleSign) { |
184 TestSimple("example_sign"); | 188 TestSimple("example_sign"); |
185 } | 189 } |
OLD | NEW |