qBittorrent/test
Chocobo1 a4c2363f43
Improve constructor of Version class
Now we can write `Version<int, 3, 1>(1)` and provide only 1 parameter
instead of all 3 parameters at once at the constructor. Note that for
this instance of `Version` 3 numbers were specified but only 1 is truly
mandatory.

The added code are required to specify conditions of the template
instantiation for the compiler.
2022-08-01 14:53:55 +08:00
..
CMakeLists.txt Improve constructor of Version class 2022-08-01 14:53:55 +08:00
Readme.md Add support for unit testing 2022-07-10 13:20:27 +08:00
testalgorithm.cpp Add testing for various classes 2022-07-13 18:05:14 +08:00
testorderedset.cpp Add testing for various classes 2022-07-13 18:05:14 +08:00
testutilscompare.cpp Add testing for various classes 2022-07-13 18:05:14 +08:00
testutilsgzip.cpp Add support for unit testing 2022-07-10 13:20:27 +08:00
testutilsstring.cpp Fix empty string parameter was omitted 2022-07-30 00:17:31 +08:00
testutilsversion.cpp Improve constructor of Version class 2022-08-01 14:53:55 +08:00

Test suite

To run tests, add -DTESTING=ON argument when invoking cmake, then build the app as usual.
After building, run cmake --build <build> --target check where <build> is your cmake build directory.