mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-21 16:55:46 +03:00
5b3b56c918
1. Use proper case folding function instead of `toLower()`. 2. Use locale aware comparison instead of comparing unicode code points. Now `a` comes before `A` which is the same as the result from QCollator. A nice side effect is now it properly compares locale specific characters (for example `C`, `Č`). 3. Improve testing. Now the test is runnable and stable on all platforms. PR #20208. |
||
---|---|---|
.. | ||
testdata | ||
CMakeLists.txt | ||
Readme.md | ||
testalgorithm.cpp | ||
testbittorrenttrackerentry.cpp | ||
testconceptsexplicitlyconvertibleto.cpp | ||
testconceptsstringable.cpp | ||
testglobal.cpp | ||
testorderedset.cpp | ||
testpath.cpp | ||
testutilsbytearray.cpp | ||
testutilscompare.cpp | ||
testutilsgzip.cpp | ||
testutilsio.cpp | ||
testutilsstring.cpp | ||
testutilsversion.cpp |
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.