aboutsummaryrefslogtreecommitdiff
path: root/src/test/cuckoocache_tests.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix cuckoocache_tests TSAN failure introduced in #14935. Fixes #14967.practicalswift2018-12-151-2/+4
|
* Merge #14935: tests: Test for expected return values when calling functions ↵MarcoFalke2018-12-141-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | returning a success code c84c2b8c92 tests: Test for expected return values when calling functions returning a success code (practicalswift) Pull request description: Test for expected return values when calling functions returning a success code (instead of discarding the return values). **Note to reviewers:** The following commands can be used to verify that the only text fragments added in this PR are `BOOST_CHECK(`, `!` and `)` : ``` $ git diff HEAD~1 | grep -E '^[\-][^\-]' | cut -b2- > before.txt $ git diff HEAD~1 | grep -E '^[\+][^\+]' | cut -b2- > after.txt $ cat after.txt | sed 's/BOOST_CHECK(//g' | sed 's/));/);/g' | tr -d '!' > after-sed.txt $ diff -u before.txt after-sed.txt $ ``` Tree-SHA512: ff0863ef2046a2eda3c44e9c6b9aedfe167881f2fa58db29fef859416831233ef6502a3a11fd2322bc1a924db83df8d4a5c5879298007f2a7b085e2a7286af70
| * tests: Test for expected return values when calling functions returning a ↵practicalswift2018-12-131-2/+2
| | | | | | | | success code
* | Make unit tests use the insecure_rand_ctx exclusivelyPieter Wuille2018-12-121-28/+11
|/
* Make objects in range declarations immutable by default. Avoid unnecessary ↵practicalswift2018-08-271-3/+3
| | | | copying of objects in range declarations.
* Update copyright headers to 2018DrahtBot2018-07-271-1/+1
|
* tests: Fix incorrect documentation for test case cuckoocache_hit_rate_okpracticalswift2018-06-271-1/+1
|
* Make it clear which functions that are intended to be translation unit localpracticalswift2018-05-031-6/+6
| | | | | Do not share functions that are meant to be translation unit local with other translation units. Use internal linkage for those consistently.
* Fix typosDimitris Apostolou2018-03-211-2/+2
|
* Increment MIT Licence copyright header year on files modified in 2017Akira Takizawa2018-01-031-1/+1
|
* scripted-diff: Replace #include "" with #include <> (ryanofsky)MeshCollider2017-11-161-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -BEGIN VERIFY SCRIPT- for f in \ src/*.cpp \ src/*.h \ src/bench/*.cpp \ src/bench/*.h \ src/compat/*.cpp \ src/compat/*.h \ src/consensus/*.cpp \ src/consensus/*.h \ src/crypto/*.cpp \ src/crypto/*.h \ src/crypto/ctaes/*.h \ src/policy/*.cpp \ src/policy/*.h \ src/primitives/*.cpp \ src/primitives/*.h \ src/qt/*.cpp \ src/qt/*.h \ src/qt/test/*.cpp \ src/qt/test/*.h \ src/rpc/*.cpp \ src/rpc/*.h \ src/script/*.cpp \ src/script/*.h \ src/support/*.cpp \ src/support/*.h \ src/support/allocators/*.h \ src/test/*.cpp \ src/test/*.h \ src/wallet/*.cpp \ src/wallet/*.h \ src/wallet/test/*.cpp \ src/wallet/test/*.h \ src/zmq/*.cpp \ src/zmq/*.h do base=${f%/*}/ relbase=${base#src/} sed -i "s:#include \"\(.*\)\"\(.*\):if test -e \$base'\\1'; then echo \"#include <\"\$relbase\"\\1>\\2\"; else echo \"#include <\\1>\\2\"; fi:e" $f done -END VERIFY SCRIPT-
* Remove unused Boost includespracticalswift2017-06-091-2/+0
|
* scripted-diff: Rename cuckoo tests' local rand contextPieter Wuille2017-06-051-12/+12
| | | | | | -BEGIN VERIFY SCRIPT- sed -i 's/insecure_rand/local_rand_ctx/g' src/test/cuckoocache_tests.cpp -END VERIFY SCRIPT-
* Deduplicate SignatureCacheHasherJeremy Rubin2017-04-121-19/+6
| | | | | This moves the SignatureCacheHasher to the sigcache header, out of the anonymous namespace, so that the tests can import it.
* Decrease testcase sizes in cuckoocache testsJeremy Rubin2017-03-301-6/+7
|
* [trivial] Fix typos in commentspracticalswift2017-03-211-1/+1
|
* [Trivial] Grammar and typo correctionLauda2017-01-221-1/+1
| | | | Minor corrections in src\test\* .
* Add unit tests for the CuckooCacheJeremy Rubin2016-12-141-0/+394
SQUASHME: Update Tests for other SQUASHMEs