aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/tests
Commit message (Collapse)AuthorAgeFilesLines
* utils: add round_up/down() helper functionsMartin Willi2013-07-291-0/+26
|
* unit-tests: Add additional tests for host_tTobias Brunner2013-07-251-3/+551
|
* unit-tests: Add test for host_create_netmask()Tobias Brunner2013-07-244-1/+100
|
* linked-list: Remove barely used has_more() methodTobias Brunner2013-07-171-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 enumeratingTobias Brunner2013-07-171-0/+17
|
* linked-list: Remove unused clone_function() methodTobias Brunner2013-07-171-29/+7
|
* linked-list: Remove barely used find_last() methodTobias Brunner2013-07-171-23/+0
|
* linked-list: Remove unused replace() methodTobias Brunner2013-07-171-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 collectionMartin Willi2013-07-174-1/+363
|
* chunk: Add predictable hash functionTobias Brunner2013-06-281-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() methodTobias Brunner2013-06-281-1/+1
| | | | | Multiple additional search paths can be added with the add_path() method.
* unit-tests: Print loaded pluginsTobias Brunner2013-06-271-0/+1
|
* unit-tests: RSA key generation might take longer than 4 secondsTobias Brunner2013-06-271-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 directoryTobias Brunner2013-06-271-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 directoryMartin Willi2013-06-212-1/+30
|
* unit-tests: link test-runner against -lpthreadMartin Willi2013-06-211-0/+1
|
* unit-tests: add RSA test cases, very similar to ECDSAMartin Willi2013-06-214-1/+400
|
* unit-tests: test with /dev/urandom if random plugin is in useMartin Willi2013-06-211-0/+6
|
* unit-tests: test supported ECDSA schemes onlyMartin Willi2013-06-211-0/+14
|
* Move test-runners has_feature() function to plugin loaderMartin Willi2013-06-211-32/+2
|
* unit-tests: enforce CET/CEST timezone to properly test non-UTC time formattingMartin Willi2013-06-211-0/+6
|
* unit-tests: don't use ck_assert() to test a cleared chunk, as it allocates dataMartin Willi2013-06-211-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-bitMartin Willi2013-06-211-2/+2
|
* unit-tests: test some zeroed ECDSA signatures that never should succeedMartin Willi2013-06-211-0/+63
|
* unit-tests: perform signing/validation with keys ECDSA keys generated or loadedMartin Willi2013-06-211-0/+47
|
* unit-tests: add an ECDSA test case loading keysMartin Willi2013-06-211-0/+61
|
* unit-tests: perform a first ECDSA test case if ECDSA is supportedMartin Willi2013-06-214-1/+58
|
* unit-tests: add a helper function checking if a plugin feature is availableMartin Willi2013-06-211-0/+32
|
* unit-tests: add a test case checking if all test vectors have been passedMartin Willi2013-06-214-1/+44
|
* unit-tests: load all libstrongswan plugins in test-runnerMartin Willi2013-06-212-0/+7
|
* Suppress log messages during testsTobias Brunner2013-06-111-0/+2
|
* Remove explicit leak detective checks as these are now done for all testsTobias Brunner2013-06-112-16/+0
|
* Enable leak detective for all test casesTobias Brunner2013-06-1114-22/+129
|
* Added tests for bio_writer_tTobias Brunner2013-06-114-1/+397
|
* Added tests for bio_reader_tTobias Brunner2013-06-114-3/+464
|
* Added tests for utils/enum.cTobias Brunner2013-06-114-1/+251
|
* Additional tests for identification_t addedTobias Brunner2013-06-111-14/+518
|
* Added tests for utils/utils.[ch]Tobias Brunner2013-06-111-0/+375
|
* Additional tests for chunk_tTobias Brunner2013-06-111-2/+625
|
* Also capture coverage data for tests but filter them from the resultTobias Brunner2013-06-111-1/+1
| | | | Otherwise calls from test cases to static inline functions are not captured.
* Add tests for lib->get|setTobias Brunner2013-06-114-1/+61
|
* Additional and improved enumerator_t testsTobias Brunner2013-06-111-4/+219
|
* Test remove and remove_at of hashtable_t if all items are in the same bucketTobias Brunner2013-06-111-5/+54
|
* Add test cases for invoke_* and clone_* of linked_list_tTobias Brunner2013-06-111-0/+144
|
* Improve tests for linked_list_t.replace()Tobias Brunner2013-06-111-2/+18
|
* Add additional tests for linked_list_tTobias Brunner2013-06-111-0/+51
|
* Improved test for linked_list_t.insert_before()Tobias Brunner2013-06-111-3/+3
|
* Enable coverage report for libstrongswanTobias Brunner2013-06-111-0/+1
|
* Use proper type for enumerator_t/linked_list_t testsTobias Brunner2013-06-112-10/+18
| | | | Worked with -O2 but not with -O0.
* Converted test for recursive mutex_tTobias Brunner2013-06-114-1/+113
|