qBittorrent/test
Chocobo1 e31c3376bd
Use library provided erase_if()
`Algorithm::removeIf()` is still valuable as `QHash::removeIf()` predicate require an
iterator or a `std::pair`, which both require more code to unpack the variable and therefore
cumbersome to use.

PR #19353.
2023-07-24 20:29:02 +08:00
..
testdata Fix wrong behavior when reading text 2023-07-02 13:23:20 +08:00
CMakeLists.txt Drop support of Qt 5 2023-07-20 11:17:27 +03:00
Readme.md Add support for unit testing 2022-07-10 13:20:27 +08:00
testalgorithm.cpp Use library provided erase_if() 2023-07-24 20:29:02 +08:00
testbittorrenttrackerentry.cpp Rename literal operator 2023-06-18 03:32:44 +08:00
testglobal.cpp Add unit test for string literal helper 2023-06-18 13:51:19 +08:00
testorderedset.cpp Switch to C++20 2023-07-21 15:38:49 +03:00
testpath.cpp Rename literal operator 2023-06-18 03:32:44 +08:00
testutilsbytearray.cpp Show I2P peer addresses 2023-06-01 17:16:03 +03:00
testutilscompare.cpp Rename literal operator 2023-06-18 03:32:44 +08:00
testutilsgzip.cpp Add support for unit testing 2022-07-10 13:20:27 +08:00
testutilsio.cpp Fix wrong behavior when reading text 2023-07-02 13:23:20 +08:00
testutilsstring.cpp Rename literal operator 2023-06-18 03:32:44 +08:00
testutilsversion.cpp Rename literal operator 2023-06-18 03:32:44 +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.