transmission/tests/libtransmission
Charles Kerr 073c6af1d6
refactor: swarm (#2103)
* refactor: encapsulate request tracking in a class

Introduces a new class to peer-mgr, `ClientRequests`, which tracks what
active requests we've got pending: which blocks, when the requests were
sent, and who they were sent to.

This shouldn't change peer-mgr behavior. Its goal is to carve out some
of peer-mgr's data structures and encapsulte them behind an API that's
simpler to understand.

* refactor: move ActiveRequests to its own file

* perf: avoid duplicate call to tr_cpMissingBlocksInPiece
2021-11-19 12:37:38 -06:00
..
assets Fix/benc zero length dict key (#1964) 2021-10-15 13:13:33 -05:00
.clang-tidy build: silence new clang-tidy 13 warnings (#1982) 2021-10-17 19:48:33 -05:00
CMakeLists.txt refactor: swarm (#2103) 2021-11-19 12:37:38 -06:00
bitfield-test.cc fixup! refactor: remove tr_piece struct (#2059) (#2115) 2021-11-07 18:25:45 -06:00
blocklist-test.cc feat: add tr_strvPath() (#2134) 2021-11-12 18:10:04 -06:00
clients-test.cc fixup! refactor: add tr_peer_id_t (#2004) (#2016) 2021-10-22 15:24:30 -05:00
copy-test.cc feat: add tr_strvPath() (#2134) 2021-11-12 18:10:04 -06:00
crypto-test-ref.h Fix testing against reference crypto impl 2021-10-24 13:39:03 +03:00
crypto-test.cc refactor: tr_ssha1(), tr_ssha1_matches() (#2148) 2021-11-13 20:03:01 -06:00
error-test.cc
file-test.cc refactor: tr_sys_path_dirname(), tr_sys_path_basename() now take std::string_view parameters (#2177) 2021-11-15 18:50:14 -06: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 refactor: use C++ inheritance for tr_peer, tr_peerMsgs, and tr_webseed (#1877) 2021-10-07 08:33:55 -05:00
json-test.cc refactor: make tr_variantFromBuf() public (#2187) 2021-11-17 23:37:35 -06:00
magnet-metainfo-test.cc refactor: magnet metainfo (#2124) 2021-11-09 20:42:18 -06:00
makemeta-test.cc feat: add tr_strvPath() (#2134) 2021-11-12 18:10:04 -06:00
metainfo-test.cc fix: coverity regression reported on 2021-11-17 2021-11-17 18:28:16 -06:00
move-test.cc feat: add tr_strvPath() (#2134) 2021-11-12 18:10:04 -06:00
peer-mgr-active-requests-test.cc refactor: swarm (#2103) 2021-11-19 12:37:38 -06:00
peer-mgr-wishlist-test.cc refactor: swarm (#2103) 2021-11-19 12:37:38 -06:00
peer-msgs-test.cc
quark-test.cc refactor: tr_quark_lookup() takes a std::string_view (#2081) 2021-11-01 18:29:13 -05:00
rename-test.cc refactor: fix some msvc compiler warnings (#2185) 2021-11-16 13:25:30 -06:00
rpc-test.cc refactor: make tr_variantFromBuf() public (#2187) 2021-11-17 23:37:35 -06:00
session-test.cc fixup! refactor: rpc-server.cc (#2152) (#2164) 2021-11-14 21:54:48 -06: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 fix: coverity warnings (#2186) 2021-11-17 15:56:50 -06:00
test-fixtures.h feat: add tr_strvPath() (#2134) 2021-11-12 18:10:04 -06:00
utils-test.cc refactor: tr session.tos (#2149) 2021-11-13 23:23:19 -06:00
variant-test.cc refactor: make tr_variantFromBuf() public (#2187) 2021-11-17 23:37:35 -06:00
watchdir-test.cc refactor: replace tr_ptrArray with std::unordered_set in tr_watchdir_scan() (#1854) 2021-09-29 12:25:52 -05:00
web-utils-test.cc refactor: web_utils (#2121) 2021-11-08 21:30:03 -06:00