premiere-libtorrent/test
Arvid Norberg 7251575d98 This patch does: (#633)
1. simplifies and regularizies creation of listen sockets based on the listen
   interfaces setting.
2. simplifies and improves the behavior of UDP sockets, which are now explicitly
   opened per listen interface
3. transitions udp tracker, DHT and uTP socket manager over to using the new
   udp sockets
4. greatly simplified udp_socket to only wrap a single underlying socket (as
   opposed to one IPv4 and IPv6 socket)
5. improved behavior of bind-to-device
6. introduce an array_view type to make udp packet passing code simpler
7. simplify and make setting of DF flag more robust
8. simplify and regularize port mapping of listen sockets
2016-04-24 15:26:28 -04:00
..
mutable_test_torrents landed mutable torrents branch in trunk 2015-03-21 00:12:40 +00:00
ssl update ssl certificate for tests 2015-10-25 10:29:42 -04:00
test_torrents optimize copying torrent_info and file_storage objects 2014-12-17 05:33:16 +00:00
Jamfile merge RC_1_1 into master 2016-03-08 01:10:48 -05:00
Makefile.am Merge branch 'RC_1_1' 2016-04-11 02:08:06 -04:00
bdecode_benchmark.cpp clean up use of error categories 2015-11-24 00:50:51 -05:00
bittorrent_peer.cpp fix release build with VS2015 UP2 compiler warnings for: examples, test, tools (#627) 2016-04-20 00:45:32 -04:00
bittorrent_peer.hpp add sim test for optimistic unchoke round-robin distribution 2016-02-01 20:28:30 -05:00
dht_server.cpp minor cleanups. use libtorrent typedefs for asio. failing to bind IPv6 UDP socket is no longer fatal. removed some redundant listen_failed_alerts 2015-07-11 23:01:27 -04:00
dht_server.hpp more linking issues 2013-06-23 22:36:07 +00:00
enum_if.cpp test: fix enum_if compilation 2016-01-04 14:27:39 +01:00
http.py Add/fix shebang in python scripts, add execute permission (linux), remove whitespace/tabs at end of line 2015-07-12 14:24:01 +08:00
main.cpp fix msvc test build. make test framework robust to tmpfile() failing. add missing files and tests to makefile 2016-04-10 20:46:51 -04:00
make_torrent.cpp rewrite most of web_peer_connection::on_receive to make it a lot simpler and fix edge cases with pad-files 2016-01-28 01:58:33 -05:00
make_torrent.hpp fix missing EXPORT annotation of functions in the test utility library (#631) 2016-04-20 07:51:25 -04:00
peer_server.cpp minor cleanups. use libtorrent typedefs for asio. failing to bind IPv6 UDP socket is no longer fatal. removed some redundant listen_failed_alerts 2015-07-11 23:01:27 -04: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 fix release build with VS2015 UP2 compiler warnings for: examples, test, tools (#627) 2016-04-20 00:45:32 -04:00
print_alerts.hpp fix missing EXPORT annotation of functions in the test utility library (#631) 2016-04-20 07:51:25 -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 port sim tests to use the new setup_swarm API 2015-12-12 00:41:47 -05:00
settings.hpp fix shared linking against libtorrent_test 2015-08-08 18:13:43 -04:00
setup_transfer.cpp improve message from listen_failed_alert. Post listen_failed_alert for every failure, including the ones that are re-tried 2016-03-13 16:18:44 -04:00
setup_transfer.hpp extend the unit test of dht_storage 2015-12-19 02:09:06 -05:00
socks.py Add/fix shebang in python scripts, add execute permission (linux), remove whitespace/tabs at end of line 2015-07-12 14:24:01 +08:00
swarm_suite.cpp fix release build with VS2015 UP2 compiler warnings for: examples, test, tools (#627) 2016-04-20 00:45:32 -04:00
swarm_suite.hpp deprecate explicit cache feature 2016-03-18 12:15:03 -04:00
test.cpp fix and re-enable simulations 2015-08-09 00:56:37 -04:00
test.hpp use test_name rather than __LINE__ for hidden test structs 2015-08-10 20:05:16 -07:00
test_alert_manager.cpp remove the timestamps and file sizes from the resume data. This makes saving resume data alot cheaper, since it doesn't have to go via the disk thread. It also removes an old-standing API usage issue where there was easily a race condition introduced between saving resume data and pausing a torrent. 2016-02-06 15:50:55 -05:00
test_auto_unchoke.cpp fix release build with VS2015 UP2 compiler warnings for: examples, test, tools (#627) 2016-04-20 00:45:32 -04:00
test_bandwidth_limiter.cpp fix release build with VS2015 UP2 compiler warnings for: examples, test, tools (#627) 2016-04-20 00:45:32 -04:00
test_bdecode.cpp fix assert in bdecode assert for strings with prefixes of 6 or more digits 2015-12-12 00:19:13 -05:00
test_bencoding.cpp mark up some more functions with override and silence a few more warnings in boost headers 2015-10-17 10:02:37 -04:00
test_bitfield.cpp fix release build with VS2015 UP2 compiler warnings for: examples, test, tools (#627) 2016-04-20 00:45:32 -04:00
test_block_cache.cpp merged RC_1_1 into master 2016-03-16 19:59:53 -04:00
test_bloom_filter.cpp msvc fixes 2015-05-31 12:21:16 +00:00
test_buffer.cpp fix release build with VS2015 UP2 compiler warnings for: examples, test, tools (#627) 2016-04-20 00:45:32 -04:00
test_checking.cpp deprecate more parts of explicit cache as well as fixing typos of TORRENT_NO_DEPRECATE preprocessor tests 2016-03-19 07:54:29 -04:00
test_crc32.cpp msvc fixes 2015-05-31 12:21:16 +00:00
test_dht.cpp some cleanup of the dht_socket_interface and fix tests and simulations to build with the dht disabled 2016-01-18 14:34:42 -05:00
test_dht_storage.cpp fix release build with VS2015 UP2 compiler warnings for: examples, test, tools (#627) 2016-04-20 00:45:32 -04:00
test_direct_dht.cpp some cleanup of the dht_socket_interface and fix tests and simulations to build with the dht disabled 2016-01-18 14:34:42 -05:00
test_dos_blocker.cpp fix some more warnings 2015-08-08 02:48:01 -04:00
test_enum_net.cpp split out some more tests from test_primitives 2015-08-24 17:40:29 +02:00
test_fast_extension.cpp This patch does: (#633) 2016-04-24 15:26:28 -04:00
test_fence.cpp fix release build with VS2015 UP2 compiler warnings for: examples, test, tools (#627) 2016-04-20 00:45:32 -04:00
test_file.cpp make coalesce reads and coalesce writes actually work 2016-03-20 16:34:19 -04:00
test_file_progress.cpp fix release build with VS2015 UP2 compiler warnings for: examples, test, tools (#627) 2016-04-20 00:45:32 -04:00
test_file_storage.cpp fix release build with VS2015 UP2 compiler warnings for: examples, test, tools (#627) 2016-04-20 00:45:32 -04:00
test_gzip.cpp msvc fixes 2015-05-31 12:21:16 +00:00
test_hasher.cpp mark up some more functions with override and silence a few more warnings in boost headers 2015-10-17 10:02:37 -04:00
test_heterogeneous_queue.cpp fixed some GCC warnings 2015-08-20 01:33:20 +02:00
test_http_connection.cpp fix release build with VS2015 UP2 compiler warnings for: examples, test, tools (#627) 2016-04-20 00:45:32 -04:00
test_http_parser.cpp forward port IPv6 IP address resolution in URLs fix 2015-11-01 17:26:45 -05:00
test_identify_client.cpp fix test_identify_client build with deprecated functions turned off 2015-06-19 23:54:38 -04:00
test_ip_filter.cpp fixed some GCC warnings 2015-08-20 01:33:20 +02:00
test_ip_voter.cpp remove some randomness from the unit tests 2015-08-13 02:06:30 -04:00
test_linked_list.cpp fix typo 2015-08-31 00:19:58 -04:00
test_lsd.cpp fix release build with VS2015 UP2 compiler warnings for: examples, test, tools (#627) 2016-04-20 00:45:32 -04:00
test_magnet.cpp fix bug in parse_magnet_uri and improve unit test 2015-10-02 23:24:17 -04:00
test_merkle.cpp msvc fixes 2015-05-31 12:21:16 +00:00
test_natpmp.cpp Remove unused mentions of non-existent class. 2015-07-17 20:13:14 -04:00
test_packet_buffer.cpp fix some build warnings 2015-08-17 09:01:43 -04:00
test_part_file.cpp msvc fixes 2015-05-31 12:21:16 +00:00
test_pe_crypto.cpp transition the test_pe_crypto system tests to be simulation 2015-08-10 06:57:51 -04:00
test_peer_classes.cpp some msvc fixes 2015-05-30 21:46:59 +00:00
test_peer_list.cpp Fix of dht_storage_counters::peers counter. 2015-09-24 10:50:04 -04:00
test_peer_priority.cpp polish some behavior when setting piece and file priorities for torrents with no metadata. Fix the initialization order of peers once we do get the metadata 2015-08-29 10:21:15 -04:00
test_pex.cpp separate out announce_entry and torrent_status into their own headers 2015-09-18 08:08:08 -04:00
test_piece_picker.cpp fix release build with VS2015 UP2 compiler warnings for: examples, test, tools (#627) 2016-04-20 00:45:32 -04:00
test_primitives.cpp Fix of dht_storage_counters::peers counter. 2015-09-24 10:50:04 -04:00
test_priority.cpp make tests pass 2016-02-20 12:50:52 -05:00
test_privacy.cpp fix release build with VS2015 UP2 compiler warnings for: examples, test, tools (#627) 2016-04-20 00:45:32 -04:00
test_random.cpp msvc fixes 2015-05-31 12:21:16 +00:00
test_read_piece.cpp separate out announce_entry and torrent_status into their own headers 2015-09-18 08:08:08 -04:00
test_read_resume.cpp add unit test for read_resume_data 2016-02-20 13:26:21 -05:00
test_receive_buffer.cpp add receive_buffer unit test and some more cleanup and asserts 2016-03-05 00:14:00 -05:00
test_recheck.cpp add more slack to test_recheck, as it has been failing on and off on travis 2016-03-02 21:38:20 -05:00
test_remap_files.cpp deprecate more parts of explicit cache as well as fixing typos of TORRENT_NO_DEPRECATE preprocessor tests 2016-03-19 07:54:29 -04:00
test_resolve_links.cpp fixed some GCC warnings 2015-08-20 01:33:20 +02:00
test_resume.cpp add unit test for read_resume_data 2016-02-20 13:26:21 -05:00
test_session.cpp support filtering which parts of session state are loaded by load_state() 2016-03-06 16:35:49 -05:00
test_settings_pack.cpp extend settings_pack unit test 2015-08-24 18:48:43 +02:00
test_sha1_hash.cpp merge small unit tests to make running the tests quicker. expand the test framework a bit. add ax_boost_random.m4 script to link against boost.random correctly from makefile. 2015-05-30 04:31:23 +00:00
test_sliding_average.cpp split out some more tests from test_primitives 2015-08-24 17:40:29 +02:00
test_socket_io.cpp msvc fixes 2015-05-31 12:21:16 +00:00
test_ssl.cpp merged RC_1_1 2016-02-24 21:22:39 -05:00
test_stat_cache.cpp improve abstraction level of stats cache and fix test 2016-02-06 15:51:00 -05:00
test_storage.cpp fix release build with VS2015 UP2 compiler warnings for: examples, test, tools (#627) 2016-04-20 00:45:32 -04:00
test_string.cpp deprecate ssl_listen setting. instead ssl sockets are specified by an 's' suffix of the port in listen_interfaces. 2016-02-12 15:46:12 -05:00
test_tailqueue.cpp make tailequeue a template, introduce type safety, remove old-style casts 2015-08-19 15:22:05 +02:00
test_threads.cpp fixed some GCC warnings 2015-08-20 01:33:20 +02:00
test_time.cpp msvc fixes 2015-05-31 12:21:16 +00:00
test_time_critical.cpp some msvc fixes 2015-05-30 21:46:59 +00:00
test_timestamp_history.cpp merge small unit tests to make running the tests quicker. expand the test framework a bit. add ax_boost_random.m4 script to link against boost.random correctly from makefile. 2015-05-30 04:31:23 +00:00
test_torrent.cpp fix test_torrent on windows 2016-03-17 08:18:29 -04:00
test_torrent_info.cpp only strip trailing dots and spaces from filenames on windows 2016-01-18 13:07:04 -05:00
test_tracker.cpp convert tracker try-next test to be a simulation (and deterministic) 2016-03-18 14:38:45 -04:00
test_transfer.cpp Merge pull request #563 from arvidn/no-compact-1.1 2016-03-20 23:20:19 -04:00
test_upnp.cpp merge RC_1_1 into master 2016-03-08 01:10:48 -05:00
test_url_seed.cpp fix SSL web-seed test 2015-07-16 00:44:03 -04:00
test_utf8.cpp merge more lenient utf8 conversion from RC_1_0 2015-07-27 08:59:38 -07:00
test_utils.cpp fix release build with VS2015 UP2 compiler warnings for: examples, test, tools (#627) 2016-04-20 00:45:32 -04:00
test_utils.hpp move time_now_string out to the unit test library (basically unused in libtorrent itself) 2015-04-24 03:48:08 +00:00
test_utp.cpp now that force-started torrents aren't affected by the auto-manager, they need to be explicitly kicked when entering checking state (it would be nice if all this could be done through set_state()) 2015-09-29 20:49:38 -04:00
test_web_seed.cpp some test fixes 2015-05-31 16:14:46 +00:00
test_web_seed_ban.cpp separate some more test cases to improve test output 2015-06-17 00:50:58 -04:00
test_web_seed_chunked.cpp fix test_web_seed_chunked 2015-06-17 18:05:27 -04:00
test_web_seed_http.cpp some test fixes 2015-05-31 16:14:46 +00:00
test_web_seed_http_pw.cpp some test fixes 2015-05-31 16:14:46 +00:00
test_web_seed_redirect.cpp separate out announce_entry and torrent_status into their own headers 2015-09-18 08:08:08 -04:00
test_web_seed_socks4.cpp separate some more test cases to improve test output 2015-06-17 00:50:58 -04:00
test_web_seed_socks5.cpp separate some more test cases to improve test output 2015-06-17 00:50:58 -04:00
test_web_seed_socks5_no_peers.cpp fix build 2015-10-03 12:27:01 -04:00
test_web_seed_socks5_pw.cpp separate some more test cases to improve test output 2015-06-17 00:50:58 -04:00
test_xml.cpp fix const correctness in xml_parse(). update unit tests rss and upnp to use new signature for parser callback 2015-09-06 00:38:33 -04:00
udp_tracker.cpp minor cleanups. use libtorrent typedefs for asio. failing to bind IPv6 UDP socket is no longer fatal. removed some redundant listen_failed_alerts 2015-07-11 23:01:27 -04:00
udp_tracker.hpp clean up udp-tracker unit tests 2014-02-23 01:32:55 +00: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
vsinstr_excludes.rsp extend ignore patterns for windows test coverage 2014-05-03 06:27:21 +00:00
web_seed_suite.cpp fix release build with VS2015 UP2 compiler warnings for: examples, test, tools (#627) 2016-04-20 00:45:32 -04:00
web_seed_suite.hpp forward port fix to proxy_peer_connections to master 2015-10-03 11:20:10 -04:00
web_server.py rewrite most of web_peer_connection::on_receive to make it a lot simpler and fix edge cases with pad-files 2016-01-28 01:58:33 -05:00
zeroes.gz fixed bug in gunzip 2014-05-02 16:11:25 +00:00