Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | utils: add round_up/down() helper functions | Martin Willi | 2013-07-29 | 1 | -0/+26 |
| | |||||
* | unit-tests: Add additional tests for host_t | Tobias Brunner | 2013-07-25 | 1 | -3/+551 |
| | |||||
* | unit-tests: Add test for host_create_netmask() | Tobias Brunner | 2013-07-24 | 4 | -1/+100 |
| | |||||
* | linked-list: Remove barely used has_more() method | Tobias Brunner | 2013-07-17 | 1 | -49/+1 |
| | | | | | | | | This required some refactoring when handling encrypted payloads. Also changed log messages so that "encrypted payload" is logged instead of "encryption payload" (even if we internally still call it that) as that's the name used in RFC 5996. | ||||
* | linked-list: Don't require an argument for the item when enumerating | Tobias Brunner | 2013-07-17 | 1 | -0/+17 |
| | |||||
* | linked-list: Remove unused clone_function() method | Tobias Brunner | 2013-07-17 | 1 | -29/+7 |
| | |||||
* | linked-list: Remove barely used find_last() method | Tobias Brunner | 2013-07-17 | 1 | -23/+0 |
| | |||||
* | linked-list: Remove unused replace() method | Tobias Brunner | 2013-07-17 | 1 | -40/+51 |
| | | | | | | Its functionality can be replicated by calling insert_before() followed by remove_at(). Not the other way around, though, because remove_at() changes the enumerator position. | ||||
* | unit-tests: implement tests for array collection | Martin Willi | 2013-07-17 | 4 | -1/+363 |
| | |||||
* | 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 |
| |