qBittorrent/test
Hanabishi bda37cbade
Improve parsing of HTTP headers
Parse HTTP headers using raw byte arrays instead of strings. This allows us to apply different encodings for different parts.
This change is backward compatible and should not affect any existing operation, so WebAPI version bump is not required.

PR #23083.
2025-08-23 02:51:51 +08:00
..
testdata Fix wrong behavior when reading text 2023-07-02 13:23:20 +08:00
CMakeLists.txt Add tests for PeerAddress struct 2025-03-10 03:11:08 +08:00
Readme.md Add support for unit testing 2022-07-10 13:20:27 +08:00
testalgorithm.cpp Replace Q_UNUSED with [[maybe_unused]] attribute 2023-08-18 07:09:40 +03:00
testbittorrentpeeraddress.cpp Add tests for PeerAddress struct 2025-03-10 03:11:08 +08:00
testbittorrenttrackerentry.cpp Replace QVector with QList 2024-09-30 18:20:58 +08:00
testconceptsexplicitlyconvertibleto.cpp Introduce helper function to join values as string 2023-12-19 00:08:37 +08:00
testconceptsstringable.cpp Specify interface requirements as an C++ concept 2023-08-12 20:53:03 +08:00
testglobal.cpp Move to separate headers 2023-08-11 13:47:55 +08:00
testorderedset.cpp Introduce helper function to join values as string 2023-12-19 00:08:37 +08:00
testpath.cpp Provide testing cases for path concatenation 2025-06-22 15:40:14 +08:00
testutilsbytearray.cpp Improve parsing of HTTP headers 2025-08-23 02:51:51 +08:00
testutilscompare.cpp Improve natural sort algorithm 2024-01-08 14:47:00 +08:00
testutilsdatetime.cpp Provide safe helper for converting to 'seconds since epoch' 2024-01-08 15:13:02 +08:00
testutilsgzip.cpp Use Qt built-in function for comparing values 2025-03-10 03:19:31 +08:00
testutilsio.cpp Move to separate headers 2023-08-11 13:47:55 +08:00
testutilsnumber.cpp Adjust tracker tier when adding additional trackers 2024-04-25 12:18:30 +08:00
testutilsstring.cpp Introduce helper function to join values as string 2023-12-19 00:08:37 +08:00
testutilsversion.cpp Drop support of Qt 6.5 2025-04-27 16:21:20 +03: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.