premiere-libtorrent/test
arvidn b1b03a0d77 factor out and unit test parts of the DHT routing table logic that handles the affinity of nodes to insert. Specifically, make sure the even distribution within routing table buckets works correctly 2019-07-30 07:56:18 -07:00
..
mutable_test_torrents landed mutable torrents branch in trunk 2015-03-21 00:12:40 +00:00
ssl back-port the new test SSL cert from master 2018-11-09 11:55:42 +01:00
test_torrents improve file_storage::sanitize_symlinks 2019-07-29 06:10:04 -07:00
CMakeLists.txt cmake: backport changes from the master branch 2018-10-31 00:17:36 +01:00
Jamfile don't run the SHA-1 and SHA-512 test vector tests by default, as they are slow 2019-04-02 20:03:34 +02:00
Makefile.am improve file_storage::sanitize_symlinks 2019-07-29 06:10:04 -07:00
bittorrent_peer.cpp improve sanitizer rule in Jamfile. Some fixes for new clang sanitizr 'implicit-conversion' 2019-03-26 10:14:06 +01:00
bittorrent_peer.hpp introduce lt namespace alias 2017-04-23 23:43:58 -04:00
corrupt.gz update puff.c for gzip inflation (#1022) 2016-08-21 14:43:44 -04:00
dht_server.cpp deprecate slow bdecode() function 2018-11-19 09:09:55 +01:00
dht_server.hpp more linking issues 2013-06-23 22:36:07 +00:00
enum_if.cpp simplify natpmp gateway and local address discovery 2018-07-29 13:10:36 +02:00
http.py more lgtm fixes 2018-10-20 16:30:06 +02:00
invalid1.gz fix bounds checking in parsing of gzip header 2017-10-01 03:33:38 +02:00
main.cpp minor improvement to test_tracker. fix test output redirection on windows. tweak starting of web server in tests 2019-03-28 00:22:05 +01:00
make_torrent.cpp make span's and sha1_hash's index and size types signed (instead of unsigned). Specifically std::ptrdiff_t. In line with the direction of gsl span and reduce signed->unsigned casts 2018-11-16 14:06:22 +01:00
make_torrent.hpp introduce lt namespace alias 2017-04-23 23:43:58 -04:00
peer_server.cpp merged RC_1_1 into master 2018-04-04 20:48:07 +02:00
peer_server.hpp fix missing EXPORT annotation of functions in the test utility library (#631) 2016-04-20 07:51:25 -04:00
print_alerts.cpp introduce lt namespace alias 2017-04-23 23:43:58 -04:00
print_alerts.hpp introduce lt namespace alias 2017-04-23 23:43:58 -04:00
root1.xml improve and extend the upnp unit test 2012-06-28 06:47:59 +00:00
root2.xml improve and extend the upnp unit test 2012-06-28 06:47:59 +00:00
root3.xml Add test case for igd_version 2015-07-09 20:11:24 +08:00
settings.cpp renamed debug_notification to connect_notification 2018-09-28 17:28:34 -07:00
settings.hpp introduce lt namespace alias 2017-04-23 23:43:58 -04:00
setup_transfer.cpp minor improvement to test_tracker. fix test output redirection on windows. tweak starting of web server in tests 2019-03-28 00:22:05 +01:00
setup_transfer.hpp fix seed_mode flag 2019-02-24 10:20:20 +01:00
socks.py more lgtm fixes 2018-10-20 16:30:06 +02:00
swarm_suite.cpp make random_shuffle() take a range instead of two iterators. use random_bytes() instead of std::generate() and random_byte(). Remove unused hasher.hpp includes 2019-02-19 01:48:08 +01:00
swarm_suite.hpp declare tag types in-line 2018-03-23 11:21:08 +01:00
test.cpp similar to how low RTT DHT nodes are preferred over high RTT nodes, also have an affinity for nodes with node IDs derived from their IP 2019-07-28 16:13:16 -07:00
test.hpp fix warnings 2018-03-24 23:01:19 +01:00
test_alert_manager.cpp merged RC_1_1 into master 2018-06-07 00:30:23 +02:00
test_alert_types.cpp renamed debug_notification to connect_notification 2018-09-28 17:28:34 -07:00
test_alloca.cpp construct and destruct objects in stack allocations (alloca()) 2017-04-28 21:34:31 -04:00
test_auto_unchoke.cpp make random_shuffle() take a range instead of two iterators. use random_bytes() instead of std::generate() and random_byte(). Remove unused hasher.hpp includes 2019-02-19 01:48:08 +01:00
test_bandwidth_limiter.cpp fix some conversion warnings by using std::abs() instead of fabs() 2018-08-09 16:11:25 +02:00
test_bdecode.cpp make span's and sha1_hash's index and size types signed (instead of unsigned). Specifically std::ptrdiff_t. In line with the direction of gsl span and reduce signed->unsigned casts 2018-11-16 14:06:22 +01:00
test_bencoding.cpp improve interoperability between bdecode_node and entry (for encoding). Make it possible to construct an entry from a bdecode_node. move comparison operators out of entry to support implicit conversions from bdecode_node 2018-11-18 22:54:36 +01:00
test_bitfield.cpp fix warnings 2019-04-10 08:05:36 +02:00
test_block_cache.cpp fix some warnings around unused variables, dead stores, potentially dereferencing nullptr and calling virtual functions from constructor 2018-07-20 01:03:16 +02:00
test_bloom_filter.cpp fixing warnings in tests code, part4 2018-01-27 09:18:26 +01:00
test_buffer.cpp don't copy a vector into the async_write operation for iovec. Since the chained_buffer will own the vector anyway, just make it return a span and copy that 2019-02-09 17:45:47 +01:00
test_checking.cpp make create_random_files() take a span instead of pointer, length parameters 2018-06-11 01:35:31 +02:00
test_crc32.cpp fix warnings 2018-03-24 23:01:19 +01:00
test_create_torrent.cpp merged RC_1_1 2018-05-10 22:48:39 +02:00
test_dht.cpp factor out and unit test parts of the DHT routing table logic that handles the affinity of nodes to insert. Specifically, make sure the even distribution within routing table buckets works correctly 2019-07-30 07:56:18 -07:00
test_dht_storage.cpp remove the IPv6 enable/disable build config 2018-08-19 22:20:54 +02:00
test_direct_dht.cpp fix asio-debugging build of dht test 2018-11-09 16:39:39 +01:00
test_dos_blocker.cpp fixing warnings in tests code, part5 (#2736) 2018-01-28 00:56:21 +01:00
test_ed25519.cpp fixing warnings in tests code, part1 (#2700) 2018-01-19 22:40:39 +01:00
test_enum_net.cpp remove the IPv6 enable/disable build config 2018-08-19 22:20:54 +02:00
test_fast_extension.cpp fix build with boost-1.70 (#3788) 2019-04-19 20:56:19 +02:00
test_fence.cpp introduce lt namespace alias 2017-04-23 23:43:58 -04:00
test_ffs.cpp introduce lt namespace alias 2017-04-23 23:43:58 -04:00
test_file.cpp improve file_storage::sanitize_symlinks 2019-07-29 06:10:04 -07:00
test_file_progress.cpp simple test for file_progress::update 2019-01-13 02:40:15 +01:00
test_file_storage.cpp improve file_storage::sanitize_symlinks 2019-07-29 06:10:04 -07:00
test_flags.cpp feature to disable DHT, PEX and LSD per torrent 2019-07-20 10:20:41 -07:00
test_generate_peer_id.cpp factor out generate_peer_id into its own file 2018-07-25 08:49:18 +02:00
test_gzip.cpp fixing warnings in tests code, part5 (#2736) 2018-01-28 00:56:21 +01:00
test_hasher.cpp some cleanup turning memcmp() and memcpy() into span comparisons and std::copy(). some more use of random_bytes() instead of loops. 2018-11-05 18:52:45 +01:00
test_hasher512.cpp introduce lt namespace alias 2017-04-23 23:43:58 -04:00
test_heterogeneous_queue.cpp fixing warnings in tests code, part7 2018-01-30 12:34:53 +01:00
test_http_connection.cpp improve sanitizer rule in Jamfile. Some fixes for new clang sanitizr 'implicit-conversion' 2019-03-26 10:14:06 +01:00
test_http_parser.cpp some cleanup turning memcmp() and memcpy() into span comparisons and std::copy(). some more use of random_bytes() instead of loops. 2018-11-05 18:52:45 +01:00
test_identify_client.cpp fix internal use of deprecated function identify_client 2017-06-10 08:16:23 +02:00
test_io.cpp add tests for low level I/O functions, read_* and write_*. also turn some raw for loops into range-for loops in the I/O functions 2018-11-07 14:35:30 +01:00
test_ip_filter.cpp fix warnings 2018-10-20 20:56:26 +02:00
test_ip_voter.cpp remove the IPv6 enable/disable build config 2018-08-19 22:20:54 +02:00
test_linked_list.cpp fixing warnings in tests code, part4 2018-01-27 09:18:26 +01:00
test_listen_socket.cpp fixing warnings in tests code, part3 2018-01-25 09:09:21 +01:00
test_lsd.cpp make random_shuffle() take a range instead of two iterators. use random_bytes() instead of std::generate() and random_byte(). Remove unused hasher.hpp includes 2019-02-19 01:48:08 +01:00
test_magnet.cpp fix issue where trackers from magnet links were not included in create_torrent() 2019-07-04 12:53:36 +02:00
test_merkle.cpp introduce lt namespace alias 2017-04-23 23:43:58 -04:00
test_natpmp.cpp fixing warnings in tests code, part10, final 2018-02-02 20:59:01 +01:00
test_packet_buffer.cpp fixing warnings in tests code, part10, final 2018-02-02 20:59:01 +01:00
test_part_file.cpp fixing warnings in tests code, part7 2018-01-30 12:34:53 +01:00
test_pe_crypto.cpp make random_shuffle() take a range instead of two iterators. use random_bytes() instead of std::generate() and random_byte(). Remove unused hasher.hpp includes 2019-02-19 01:48:08 +01:00
test_peer_classes.cpp remove the IPv6 enable/disable build config 2018-08-19 22:20:54 +02:00
test_peer_list.cpp improve type-safety of the severity parameter to peer_connection::disconnect() 2018-09-06 16:42:04 -07:00
test_peer_priority.cpp fixing warnings in tests code, part9 (#2758) 2018-02-02 08:26:21 +01:00
test_pex.cpp make random_shuffle() take a range instead of two iterators. use random_bytes() instead of std::generate() and random_byte(). Remove unused hasher.hpp includes 2019-02-19 01:48:08 +01:00
test_piece_picker.cpp fix overflow in calc_bytes(), add more tests, fix bug in piece picker accounting of filtered pad blocks. 2018-09-09 20:17:32 -07:00
test_primitives.cpp remove the IPv6 enable/disable build config 2018-08-19 22:20:54 +02:00
test_priority.cpp don't count connections and disconnections to ourself as sign of failure in tests 2019-03-30 10:08:38 +01:00
test_privacy.cpp improve sanitizer rule in Jamfile. Some fixes for new clang sanitizr 'implicit-conversion' 2019-03-26 10:14:06 +01:00
test_read_piece.cpp merge RC_1_1 into master 2018-09-25 21:33:29 -07:00
test_read_resume.cpp improve interoperability between bdecode_node and entry (for encoding). Make it possible to construct an entry from a bdecode_node. move comparison operators out of entry to support implicit conversions from bdecode_node 2018-11-18 22:54:36 +01:00
test_receive_buffer.cpp fix overflow in sliding_average in the case of very high download rates 2018-10-03 00:53:05 +02:00
test_recheck.cpp make random_shuffle() take a range instead of two iterators. use random_bytes() instead of std::generate() and random_byte(). Remove unused hasher.hpp includes 2019-02-19 01:48:08 +01:00
test_remap_files.cpp fix warnings 2018-10-20 20:56:26 +02:00
test_remove_torrent.cpp merged RC_1_1 into master 2018-09-05 08:25:14 -07:00
test_resolve_links.cpp fixing warnings in tests code, part6 (#2745) 2018-01-29 12:40:44 +01:00
test_resume.cpp fix seed_mode flag 2019-02-24 10:20:20 +01:00
test_session.cpp narrow the scope affected by TORRENT_DISABLE_EXTENSIONS to only disable the user extensions, but always support the extension message and the built-in extensions, like lt_donthave and seed_mode 2018-07-26 09:31:49 +02:00
test_session_params.cpp similar to how low RTT DHT nodes are preferred over high RTT nodes, also have an affinity for nodes with node IDs derived from their IP 2019-07-28 16:13:16 -07:00
test_settings_pack.cpp merged RC_1_1 into master 2019-01-12 00:53:45 +01:00
test_sha1_hash.cpp introduce lt namespace alias 2017-04-23 23:43:58 -04:00
test_sliding_average.cpp fix overflow in sliding_average in the case of very high download rates 2018-10-03 00:53:05 +02:00
test_socket_io.cpp remove the IPv6 enable/disable build config 2018-08-19 22:20:54 +02:00
test_span.cpp add assignment operator to span 2018-12-12 19:55:07 +01:00
test_ssl.cpp merge RC_1_1 into master 2018-09-25 21:33:29 -07:00
test_stack_allocator.cpp make stack_allocator::format_string() grow the buffer for large strings 2018-12-02 04:03:03 +01:00
test_stat_cache.cpp introduce lt namespace alias 2017-04-23 23:43:58 -04:00
test_storage.cpp make random_shuffle() take a range instead of two iterators. use random_bytes() instead of std::generate() and random_byte(). Remove unused hasher.hpp includes 2019-02-19 01:48:08 +01:00
test_string.cpp improve file_storage::sanitize_symlinks 2019-07-29 06:10:04 -07:00
test_tailqueue.cpp fixing warnings in tests code, part3 2018-01-25 09:09:21 +01:00
test_threads.cpp fixing warnings in tests code, part1 (#2700) 2018-01-19 22:40:39 +01:00
test_time.cpp fixing warnings in tests code, part1 (#2700) 2018-01-19 22:40:39 +01:00
test_time_critical.cpp make add_torrent_params::flags_t an enum class and move it out into its own header 2017-07-17 01:05:31 -07:00
test_timestamp_history.cpp introduce lt namespace alias 2017-04-23 23:43:58 -04:00
test_torrent.cpp missing changes 2019-03-11 14:38:26 +01:00
test_torrent_info.cpp improve file_storage::sanitize_symlinks 2019-07-29 06:10:04 -07:00
test_tracker.cpp minor improvement to test_tracker. fix test output redirection on windows. tweak starting of web server in tests 2019-03-28 00:22:05 +01:00
test_transfer.cpp don't count connections and disconnections to ourself as sign of failure in tests 2019-03-30 10:08:38 +01:00
test_upnp.cpp merged RC_1_1 into master 2018-02-25 09:36:12 +01:00
test_url_seed.cpp introduce lt namespace alias 2017-04-23 23:43:58 -04:00
test_utf8.cpp fixing warnings in tests code, part6 (#2745) 2018-01-29 12:40:44 +01:00
test_utils.cpp factor out includes from config.hpp into the files actually using it. primarily, printf family of functions, since C++11 version is used now. This removes the need for an snprintf-wrapper on windows (#732) 2016-05-17 09:24:06 -04:00
test_utils.hpp introduce a download_priority_t type, for uniform an type-safe piece- and file priorities 2017-11-02 08:20:21 +01:00
test_utp.cpp make random_shuffle() take a range instead of two iterators. use random_bytes() instead of std::generate() and random_byte(). Remove unused hasher.hpp includes 2019-02-19 01:48:08 +01:00
test_web_seed.cpp introduce lt namespace alias 2017-04-23 23:43:58 -04:00
test_web_seed_ban.cpp introduce lt namespace alias 2017-04-23 23:43:58 -04:00
test_web_seed_chunked.cpp introduce lt namespace alias 2017-04-23 23:43:58 -04:00
test_web_seed_http.cpp introduce lt namespace alias 2017-04-23 23:43:58 -04:00
test_web_seed_http_pw.cpp introduce lt namespace alias 2017-04-23 23:43:58 -04:00
test_web_seed_redirect.cpp make random_shuffle() take a range instead of two iterators. use random_bytes() instead of std::generate() and random_byte(). Remove unused hasher.hpp includes 2019-02-19 01:48:08 +01:00
test_web_seed_socks4.cpp introduce lt namespace alias 2017-04-23 23:43:58 -04:00
test_web_seed_socks5.cpp introduce lt namespace alias 2017-04-23 23:43:58 -04:00
test_web_seed_socks5_no_peers.cpp introduce lt namespace alias 2017-04-23 23:43:58 -04:00
test_web_seed_socks5_pw.cpp introduce lt namespace alias 2017-04-23 23:43:58 -04:00
test_xml.cpp fixing warnings in tests code, part1 (#2700) 2018-01-19 22:40:39 +01:00
udp_tracker.cpp remove the IPv6 enable/disable build config 2018-08-19 22:20:54 +02:00
udp_tracker.hpp introduce lt namespace alias 2017-04-23 23:43:58 -04:00
utf8_test.txt add utf8 unit test 2014-05-03 05:09:21 +00:00
valgrind_suppressions.txt fix suppressions file 2014-01-26 01:28:16 +00:00
web_seed_suite.cpp make random_shuffle() take a range instead of two iterators. use random_bytes() instead of std::generate() and random_byte(). Remove unused hasher.hpp includes 2019-02-19 01:48:08 +01:00
web_seed_suite.hpp introduce lt namespace alias 2017-04-23 23:43:58 -04:00
web_server.py more lgtm fixes 2018-10-20 16:30:06 +02:00
zeroes.gz fixed bug in gunzip 2014-05-02 16:11:25 +00:00