OLD | NEW |
1 /* This Source Code Form is subject to the terms of the Mozilla Public | 1 /* This Source Code Form is subject to the terms of the Mozilla Public |
2 * License, v. 2.0. If a copy of the MPL was not distributed with this | 2 * License, v. 2.0. If a copy of the MPL was not distributed with this |
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
4 /* | 4 /* |
5 * testwrapper.c | 5 * testwrapper.c |
6 * | 6 * |
7 * Wrpper programm for libpkix tests. | 7 * Wrpper programm for libpkix tests. |
8 * | 8 * |
9 */ | 9 */ |
10 | 10 |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 {"test_bigint", test_bigint}, | 147 {"test_bigint", test_bigint}, |
148 {"test_bytearray", test_bytearray}, | 148 {"test_bytearray", test_bytearray}, |
149 {"test_hashtable", test_hashtable}, | 149 {"test_hashtable", test_hashtable}, |
150 {"test_mem", test_mem}, | 150 {"test_mem", test_mem}, |
151 {"test_monitorlock", test_monitorlock}, | 151 {"test_monitorlock", test_monitorlock}, |
152 {"test_mutex", test_mutex}, | 152 {"test_mutex", test_mutex}, |
153 {"test_mutex2", test_mutex2}, | 153 {"test_mutex2", test_mutex2}, |
154 {"test_mutex3", test_mutex3}, | 154 {"test_mutex3", test_mutex3}, |
155 {"test_object", test_object}, | 155 {"test_object", test_object}, |
156 {"test_oid", test_oid}, | 156 {"test_oid", test_oid}, |
157 /* {"test_rwlock", test_rwlock, }*/ | 157 /* {"test_rwlock", test_rwlock }*/ |
158 {"test_string", test_string}, | 158 {"test_string", test_string}, |
159 {"test_string2", test_string2}, | 159 {"test_string2", test_string2}, |
160 {"build_chain", build_chain}, | 160 {"build_chain", build_chain}, |
161 {"dumpcert", dumpcert}, | 161 {"dumpcert", dumpcert}, |
162 {"dumpcrl", dumpcrl}, | 162 {"dumpcrl", dumpcrl}, |
163 {"validate_chain", validate_chain}, | 163 {"validate_chain", validate_chain}, |
164 {NULL, NULL }, | 164 {NULL, NULL }, |
165 }; | 165 }; |
166 | 166 |
167 static | 167 static |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 return 1; | 290 return 1; |
291 } | 291 } |
292 ···· | 292 ···· |
293 rv = runCmd(testFunction, testArgc, testArgv, dbPath); | 293 rv = runCmd(testFunction, testArgc, testArgv, dbPath); |
294 | 294 |
295 PORT_Free(testArgv); | 295 PORT_Free(testArgv); |
296 | 296 |
297 return rv; | 297 return rv; |
298 } | 298 } |
299 | 299 |
OLD | NEW |