Files
qBittorrent/test
Chocobo1 5b3b56c918 Improve natural sort algorithm
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.
2024-01-08 14:47:00 +08:00
..
2022-07-10 13:20:27 +08:00
2023-08-11 13:47:55 +08:00
2023-08-11 13:47:55 +08:00
2023-08-11 13:47:55 +08:00
2023-08-11 13:47: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.