-
- Downloads
tests: add unit tests structure to opendht
+ Unit testing requires cppunit. + add options for CMake and Autotools to build opendht_unit_tests. + add sample tests for InfoHash + modify Dockerfiles and Travis build to run `make test` + Change lowbit signature to return an int instead of an unsigned.
Showing
- .gitignore 4 additions, 0 deletions.gitignore
- .travis.yml 1 addition, 1 deletion.travis.yml
- CMakeLists.txt 26 additions, 1 deletionCMakeLists.txt
- Makefile.am 1 addition, 1 deletionMakefile.am
- cmake/FindCppunit.cmake 28 additions, 0 deletionscmake/FindCppunit.cmake
- configure.ac 6 additions, 0 deletionsconfigure.ac
- docker/DockerfileDeps 1 addition, 1 deletiondocker/DockerfileDeps
- docker/DockerfileDepsLlvm 2 additions, 2 deletionsdocker/DockerfileDepsLlvm
- docker/DockerfileTravis 5 additions, 1 deletiondocker/DockerfileTravis
- docker/DockerfileTravisLlvm 5 additions, 1 deletiondocker/DockerfileTravisLlvm
- docker/DockerfileTravisProxy 3 additions, 0 deletionsdocker/DockerfileTravisProxy
- include/opendht/infohash.h 1 addition, 1 deletioninclude/opendht/infohash.h
- tests/Makefile.am 9 additions, 0 deletionstests/Makefile.am
- tests/infohashtester.cpp 145 additions, 0 deletionstests/infohashtester.cpp
- tests/infohashtester.h 70 additions, 0 deletionstests/infohashtester.h
- tests/tests_runner.cpp 35 additions, 0 deletionstests/tests_runner.cpp
Loading
Please register or sign in to comment