qBittorrent/test
Chocobo1 79ca2e145f
Don't read unlimited data from files
It now guards against reading infinite files such as `/dev/zero`.
And most readings are bound with a (lax) limit.
As a side effect, more checking are done when reading a file and
overall the reading procedure is more robust.

PR #19095.
2023-06-14 13:38:19 +08:00
..
testdata Don't read unlimited data from files 2023-06-14 13:38:19 +08:00
CMakeLists.txt Don't read unlimited data from files 2023-06-14 13:38:19 +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
testbittorrenttrackerentry.cpp Revise 'Add trackers' dialog 2022-09-14 01:20:30 +08:00
testorderedset.cpp Implement torrent tags editing dialog 2023-04-03 10:36:28 +03:00
testpath.cpp Add unit testing for Path class 2022-08-14 13:31:22 +08:00
testutilsbytearray.cpp Show I2P peer addresses 2023-06-01 17:16:03 +03: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
testutilsio.cpp Don't read unlimited data from files 2023-06-14 13:38:19 +08:00
testutilsstring.cpp Fix empty string parameter was omitted 2022-07-30 00:17:31 +08:00
testutilsversion.cpp Redesign Version class 2022-08-06 11:06:16 +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.