aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_passhash.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Travis did not like these long testsJack Lloyd2016-12-251-2/+2
|
* Add test option --run-long-testsJack Lloyd2016-12-241-2/+2
| | | | | | Previously longer tests were hidden behind higher 'soak levels' but these arbitrary cutoffs are confusing compared to a simple short tests/long tests split.
* Minor refactoring of Text_Based_TestJack Lloyd2016-12-191-2/+2
| | | | | | Turns out astyle has some bugs wrt C++11 initialize lists. Rather than having astyle mangle all of the tests, convert to using a string which is split once at the start instead of a vector of keys.
* Convert to using standard uintN_t integer typesJack Lloyd2016-12-181-3/+3
| | | | | | Renames a couple of functions for somewhat better name consistency, eg make_u32bit becomes make_uint32. The old typedefs remain for now since probably lots of application code uses them.
* Add --data-dir option to test commandJack Lloyd2015-12-201-2/+2
| | | | | | | Understand using '-' on the command line to mean stdin Fix last few unit tests that wanted to write to the filesystem; removes outdata directory.
* Fix indent in test_passhashSimon Warta2015-12-081-1/+1
|
* Update and consolidate the test framework.Jack Lloyd2015-11-111-67/+72
| | | | | | | | | | | The tests previously had used 4 to 6 different schemes internally (the vec file reader framework, Catch, the old InSiTo Boost.Test tests, the PK/BigInt tests which escaped the rewrite in 1.11.7, plus a number of one-offs). Converge on a design that works everywhere, and update all the things. Fix also a few bugs found by the test changes: SHA-512-256 name incorrect, OpenSSL RC4 name incorrect, signature of FFI function botan_pubkey_destroy was wrong.
* Replace \n by std::endl in tests to ensure proper flushingSimon Warta2015-06-191-5/+5
| | | | | | | - Remove additional newlines in CHECK_MESSAGE call - Remove redundant output of algo in aead_test() Closes #115
* Ensure all files have copyright and license info.lloyd2015-01-101-1/+6
| | | | | Update license header line to specify the terms and refer to the file, neither of which it included before.
* All tests now share an RNG. Uses system RNG if availablelloyd2014-12-281-3/+3
|
* Split up docs into the reference manual, the website, and everything else.lloyd2014-01-101-0/+94
| | | | | | | | | | | Add `website` target to makefile. Some progress towards fixing minimized builds. TLS now hard requires ECDSA and GCM since otherwise a minimized build has only insecure options. Remove boost_thread dependency in command line tool
* Rename test sourceslloyd2014-01-071-94/+0
|
* Shuffle things around. Add NIST X.509 test to build.lloyd2014-01-011-0/+94