transmission/tests/libtransmission
Dmytro Lytovchenko 312d18281d
C++ modernize: Replace MIN/MAX with type safe std::min/std::max (#1806)
* C++ modernize: Replace MIN/MAX with type safe std::min/std::max

* Template std::min/max invocations now explicitly use largest integer type

* torrent.cc did not have <algorithm> included

* MIN/MAX Changes for subprocess-win32.cc

* Using type{} style cast instead of template parameter in std::min/max

* 32-bit type cast errors with uint64_t versus size_t

* 32-bit type cast errors inout.cc and file.cc

* Missing include in windows code; Type cast error fixed

* Missing macro in win32 daemon; Replaced MIN in commented code with std::min

* Update libtransmission/tr-getopt.cc

Co-authored-by: Mike Gelfand <mikedld@users.noreply.github.com>

* Update libtransmission/file-posix.cc

Co-authored-by: Mike Gelfand <mikedld@users.noreply.github.com>

* Update tests/libtransmission/copy-test.cc

Co-authored-by: Mike Gelfand <mikedld@users.noreply.github.com>

* Update libtransmission/peer-mgr.cc

Co-authored-by: Mike Gelfand <mikedld@users.noreply.github.com>

* Strlen returns size_t, remove cast

Co-authored-by: Charles Kerr <charles@charleskerr.com>
Co-authored-by: Mike Gelfand <mikedld@users.noreply.github.com>
2021-09-19 15:41:35 -05:00
..
.clang-tidy perf: lookup tables for faster torrent searching. (#1778) 2021-09-09 00:22:29 -05:00
CMakeLists.txt Combine all tests in a single executable to speed up the build 2021-08-16 23:16:36 +03:00
bitfield-test.cc Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
blocklist-test.cc refactor: use GTest for running tests (#1383) 2020-08-11 13:11:55 -05:00
clients-test.cc Retain full BitLord build number 2021-04-27 20:47:37 -07:00
copy-test.cc C++ modernize: Replace MIN/MAX with type safe std::min/std::max (#1806) 2021-09-19 15:41:35 -05:00
crypto-test-ref.h Switch to a standalone ARC4 implementation (#1788) 2021-09-12 06:47:29 +03:00
crypto-test.cc Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
error-test.cc refactor: use GTest for running tests (#1383) 2020-08-11 13:11:55 -05:00
file-test.cc Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
getopt-test.cc Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
history-test.cc Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
json-test.cc Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
magnet-test.cc Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
makemeta-test.cc Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
metainfo-test.cc Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
move-test.cc Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
peer-msgs-test.cc refactor: use GTest for running tests (#1383) 2020-08-11 13:11:55 -05:00
quark-test.cc refactor: use GTest for running tests (#1383) 2020-08-11 13:11:55 -05:00
rename-test.cc Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
rpc-test.cc Switch to clang-format for code formatting, include Mac client 2021-08-16 00:38:29 +03:00
session-test.cc Combine all tests in a single executable to speed up the build 2021-08-16 23:16:36 +03:00
subprocess-test-program.cc C++ modernization: Replace NULLs with typesafe nullptrs (#1799) 2021-09-14 19:18:09 -05:00
subprocess-test-script.cmd Combine all tests in a single executable to speed up the build 2021-08-16 23:16:36 +03:00
subprocess-test.cc Combine all tests in a single executable to speed up the build 2021-08-16 23:16:36 +03:00
test-fixtures.h Combine all tests in a single executable to speed up the build 2021-08-16 23:16:36 +03:00
utils-test.cc refactor: tr_quickfindFirstK --> std::partial_sort (#1794) 2021-09-15 09:32:07 -05:00
variant-test.cc Combine all tests in a single executable to speed up the build 2021-08-16 23:16:36 +03:00
watchdir-test.cc refactor: port libtransmission to C++ (#1787) 2021-09-12 12:41:49 -05:00