Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | chunk: Add predictable hash function | Tobias Brunner | 2013-06-28 | 1 | -1/+33 | |
| | | | | | Since chunk_hash() is randomized its output is not predictable, that is, it is only within the same process. | |||||
* | plugin-loader: Removed unused path argument of load() method | Tobias Brunner | 2013-06-28 | 1 | -1/+1 | |
| | | | | | Multiple additional search paths can be added with the add_path() method. | |||||
* | unit-tests: Print loaded plugins | Tobias Brunner | 2013-06-27 | 1 | -0/+1 | |
| | ||||||
* | unit-tests: RSA key generation might take longer than 4 seconds | Tobias Brunner | 2013-06-27 | 1 | -0/+1 | |
| | | | | | Check uses a default timeout of 4 seconds for each test case, generating keys of 6 different key sizes might take longer than that. | |||||
* | tests: Properly load plugins from build directory | Tobias Brunner | 2013-06-27 | 1 | -7/+2 | |
| | | | | | | Calling load() incrementally does not really work as dependencies wouldn't be resolved properly if a required feature was to be provided by a plugin that is loaded later with a separate call to load(). | |||||
* | unit-tests: load plugins in test-runner from build directory | Martin Willi | 2013-06-21 | 2 | -1/+30 | |
| | ||||||
* | unit-tests: link test-runner against -lpthread | Martin Willi | 2013-06-21 | 1 | -0/+1 | |
| | ||||||
* | unit-tests: add RSA test cases, very similar to ECDSA | Martin Willi | 2013-06-21 | 4 | -1/+400 | |
| | ||||||
* | unit-tests: test with /dev/urandom if random plugin is in use | Martin Willi | 2013-06-21 | 1 | -0/+6 | |
| | ||||||
* | unit-tests: test supported ECDSA schemes only | Martin Willi | 2013-06-21 | 1 | -0/+14 | |
| | ||||||
* | Move test-runners has_feature() function to plugin loader | Martin Willi | 2013-06-21 | 1 | -32/+2 | |
| | ||||||
* | unit-tests: enforce CET/CEST timezone to properly test non-UTC time formatting | Martin Willi | 2013-06-21 | 1 | -0/+6 | |
| | ||||||
* | unit-tests: don't use ck_assert() to test a cleared chunk, as it allocates data | Martin Willi | 2013-06-21 | 1 | -3/+10 | |
| | | | | The new allocation might be in the freed area, affecting the test result. | |||||
* | unit-tests: define 64-bit constats with ULL, fixing compiler warning on 32-bit | Martin Willi | 2013-06-21 | 1 | -2/+2 | |
| | ||||||
* | unit-tests: test some zeroed ECDSA signatures that never should succeed | Martin Willi | 2013-06-21 | 1 | -0/+63 | |
| | ||||||
* | unit-tests: perform signing/validation with keys ECDSA keys generated or loaded | Martin Willi | 2013-06-21 | 1 | -0/+47 | |
| | ||||||
* | unit-tests: add an ECDSA test case loading keys | Martin Willi | 2013-06-21 | 1 | -0/+61 | |
| | ||||||
* | unit-tests: perform a first ECDSA test case if ECDSA is supported | Martin Willi | 2013-06-21 | 4 | -1/+58 | |
| | ||||||
* | unit-tests: add a helper function checking if a plugin feature is available | Martin Willi | 2013-06-21 | 1 | -0/+32 | |
| | ||||||
* | unit-tests: add a test case checking if all test vectors have been passed | Martin Willi | 2013-06-21 | 4 | -1/+44 | |
| | ||||||
* | unit-tests: load all libstrongswan plugins in test-runner | Martin Willi | 2013-06-21 | 2 | -0/+7 | |
| | ||||||
* | Suppress log messages during tests | Tobias Brunner | 2013-06-11 | 1 | -0/+2 | |
| | ||||||
* | Remove explicit leak detective checks as these are now done for all tests | Tobias Brunner | 2013-06-11 | 2 | -16/+0 | |
| | ||||||
* | Enable leak detective for all test cases | Tobias Brunner | 2013-06-11 | 14 | -22/+129 | |
| | ||||||
* | Added tests for bio_writer_t | Tobias Brunner | 2013-06-11 | 4 | -1/+397 | |
| | ||||||
* | Added tests for bio_reader_t | Tobias Brunner | 2013-06-11 | 4 | -3/+464 | |
| | ||||||
* | Added tests for utils/enum.c | Tobias Brunner | 2013-06-11 | 4 | -1/+251 | |
| | ||||||
* | Additional tests for identification_t added | Tobias Brunner | 2013-06-11 | 1 | -14/+518 | |
| | ||||||
* | Added tests for utils/utils.[ch] | Tobias Brunner | 2013-06-11 | 1 | -0/+375 | |
| | ||||||
* | Additional tests for chunk_t | Tobias Brunner | 2013-06-11 | 1 | -2/+625 | |
| | ||||||
* | Also capture coverage data for tests but filter them from the result | Tobias Brunner | 2013-06-11 | 1 | -1/+1 | |
| | | | | Otherwise calls from test cases to static inline functions are not captured. | |||||
* | Add tests for lib->get|set | Tobias Brunner | 2013-06-11 | 4 | -1/+61 | |
| | ||||||
* | Additional and improved enumerator_t tests | Tobias Brunner | 2013-06-11 | 1 | -4/+219 | |
| | ||||||
* | Test remove and remove_at of hashtable_t if all items are in the same bucket | Tobias Brunner | 2013-06-11 | 1 | -5/+54 | |
| | ||||||
* | Add test cases for invoke_* and clone_* of linked_list_t | Tobias Brunner | 2013-06-11 | 1 | -0/+144 | |
| | ||||||
* | Improve tests for linked_list_t.replace() | Tobias Brunner | 2013-06-11 | 1 | -2/+18 | |
| | ||||||
* | Add additional tests for linked_list_t | Tobias Brunner | 2013-06-11 | 1 | -0/+51 | |
| | ||||||
* | Improved test for linked_list_t.insert_before() | Tobias Brunner | 2013-06-11 | 1 | -3/+3 | |
| | ||||||
* | Enable coverage report for libstrongswan | Tobias Brunner | 2013-06-11 | 1 | -0/+1 | |
| | ||||||
* | Use proper type for enumerator_t/linked_list_t tests | Tobias Brunner | 2013-06-11 | 2 | -10/+18 | |
| | | | | Worked with -O2 but not with -O0. | |||||
* | Converted test for recursive mutex_t | Tobias Brunner | 2013-06-11 | 4 | -1/+113 | |
| | ||||||
* | Adding chunk_mac() which calculates a 64-bit MAC using SipHash-2-4 | Tobias Brunner | 2013-06-11 | 1 | -0/+113 | |
| | ||||||
* | Converted tests for chunk_t | Tobias Brunner | 2013-06-11 | 4 | -1/+91 | |
| | ||||||
* | Converted and added tests for hashtable_t | Tobias Brunner | 2013-06-11 | 4 | -1/+298 | |
| | ||||||
* | Converted tests for identification_t | Tobias Brunner | 2013-06-11 | 4 | -1/+215 | |
| | ||||||
* | Add tests combining linked_list_t and enumerators | Tobias Brunner | 2013-06-11 | 4 | -1/+308 | |
| | ||||||
* | Add basic tests for linked_list_t | Tobias Brunner | 2013-06-11 | 4 | -1/+288 | |
| | ||||||
* | Redirect test runner output to stderr | Tobias Brunner | 2013-06-11 | 1 | -0/+4 | |
| | | | | This allows redirecting stdout of 'make check' to /dev/null. | |||||
* | Add tests for enumerator_t | Tobias Brunner | 2013-06-11 | 4 | -1/+196 | |
| | ||||||
* | Add test runner for unit tests in libstrongswan | Tobias Brunner | 2013-06-11 | 4 | -0/+76 | |