aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* unit-tests: Support testing multi-threaded codeMartin Willi2013-11-062-7/+49
|
* unit-tests: Use a home-brew thread barrier to remove pthread dependencyMartin Willi2013-11-061-15/+86
|
* unit-tests: Show how many test vectors have failed on test failureMartin Willi2013-11-061-1/+2
|
* unit-tests: Skip fmemopen() based printf() tests if not availableMartin Willi2013-11-061-7/+12
|
* unit-tests: Avoid name clash with clone() from <sched.h>Martin Willi2013-11-061-6/+6
|
* unit-tests: Fix a compiler warning in identification testsMartin Willi2013-11-061-1/+1
|
* unit-tests: Clean up memory in new asn1 unit testsMartin Willi2013-11-061-1/+3
| | | | Test runner checks for leaks when leak detective is enabled.
* unit-tests: Pass linked_list->invoke* varargs as uintptr_tMartin Willi2013-11-061-6/+10
| | | | | | Passing integers of unspecified length may result in passing an integer shorter than uintptr_t. When reading them back, we might get more data than passed, resulting in a failure.
* unit-tests: Initialize backtracing before printing any backtracesMartin Willi2013-11-061-0/+4
|
* unit-tests: Implement testing framework without "check"Martin Willi2013-11-065-113/+956
|
* unit-tests: Move test suites to its own subfolderMartin Willi2013-11-0620-8/+22
|
* unit-tests: completed asn1_suiteAndreas Steffen2013-11-041-33/+55
|
* Updated test_runner.h with new suitesAndreas Steffen2013-11-031-0/+2
|
* unit-tests: 100% function coverage for asn1.cAndreas Steffen2013-11-031-4/+284
|
* unit-tests: 12 asn1 functions testedAndreas Steffen2013-11-023-1/+541
|
* unit-tests: Added tests for pen_type_tAndreas Steffen2013-11-013-1/+89
|
* unit-tests: Additionally do reverse match checking with empty identitiesMartin Willi2013-10-311-0/+55
|
* unit-tests: Test matching against some empty data identitiesMartin Willi2013-10-311-0/+44
|
* unit-tests: Test for equality against some empty data identitiesMartin Willi2013-10-311-0/+43
|
* unit-tests: Let identity equality test fail if a->equals(b) != b->equals(a)Martin Willi2013-10-311-1/+1
|
* unit-tests: Set sa_len in sockaddr template data, if requiredMartin Willi2013-10-241-0/+6
|
* unit-tests: Make test for bio_writer_t more portableTobias Brunner2013-10-171-2/+8
|
* utils: Add utility function to calculate padding lengthTobias Brunner2013-10-171-1/+8
|
* ipsec_types: Add utility function to parse mark_t from stringsTobias Brunner2013-10-111-0/+49
|
* unit-tests: support testing when leak-detective has not been enabledMartin Willi2013-10-111-5/+14
|
* printf-hook-builtin: Print NaN/Infinity floating point values as suchMartin Willi2013-10-111-0/+14
|
* printf-hook-builtin: Correctly round up floating point valuesMartin Willi2013-10-111-8/+28
|
* printf-hook-builtin: Add some preliminary floating point supportMartin Willi2013-10-111-0/+29
| | | | | This minimalistic implementation has no aspiration for completeness or accuracy, and just provides what we need.
* printf-hook-builtin: Support GNU %m specifierMartin Willi2013-10-111-0/+13
|
* printf-hook: Add some basic printf() string/integer test functionsMartin Willi2013-10-114-1/+112
|
* chunk: Print chunks without separator if + modifier is usedTobias Brunner2013-08-241-4/+17
|
* utils: Add case-insensitive version of strpfx()Tobias Brunner2013-08-241-0/+36
|
* 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
|