1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 09:13:06 +00:00
transmission/tests/libtransmission
Charles Kerr 5efec26a3b
refactor: SAX-like benc parser pt. 1 (#2490)
* refactor: add SAX-like benc parser

This is the first part of a series of PRs whose end goal is to avoid
the overhead of tr_variant when parsing bencoded data, e.g. when
parsing .torrent files on startup or when parsing announce/scrape
tracker responses.

This PR introduces a SAX-like benc parser, reimplements variant-benc
to use the SAX benc parser (so that we don't have two benc parsers),
and updates the benc + variant tests.
2022-01-24 00:30:00 -06:00
..
assets Fix/benc zero length dict key (#1964) 2021-10-15 13:13:33 -05:00
.clang-tidy refactor: clang-tidy 14 (#2487) 2022-01-23 20:44:14 -06:00
announce-list-test.cc chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
bitfield-test.cc chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
block-info-test.cc chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
blocklist-test.cc chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
clients-test.cc chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
CMakeLists.txt refactor: replace tr_info with tr_torrent_metainfo (#2397) 2022-01-15 13:33:57 -06:00
completion-test.cc chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
copy-test.cc chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
crypto-test-ref.h chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
crypto-test.cc chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
error-test.cc chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
file-piece-map-test.cc chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
file-test.cc chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
getopt-test.cc chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
history-test.cc chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
json-test.cc chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
magnet-metainfo-test.cc test: tests for magnet links with bad/junk values (#2483) 2022-01-23 13:01:48 -06:00
makemeta-test.cc chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
move-test.cc chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
peer-mgr-active-requests-test.cc chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
peer-mgr-wishlist-test.cc chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
peer-msgs-test.cc chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
quark-test.cc chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
rename-test.cc chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
rpc-test.cc chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
session-test.cc chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
subprocess-test-program.cc chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06: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 chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
test-fixtures.h chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
torrent-metainfo-test.cc chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
utils-test.cc chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
variant-test.cc refactor: SAX-like benc parser pt. 1 (#2490) 2022-01-24 00:30:00 -06:00
watchdir-test.cc chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00
web-utils-test.cc chore: update copyright years, make notices consistent (#2463) 2022-01-20 12:27:56 -06:00