aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* 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
|