d_komarov
eb9f7c488b
Minor test changes
...
* Fix warning in test/CMakeLists.txt
* Fix router name check in test_upnp
2018-02-21 09:20:02 +01:00
d-komarov
b922ea86c9
Fix some tests
...
* Fix test_remove_torrent fails when torrent is downloaded too quick
* Fix typo when printing session alerts
* Fix test_lsd and test_upnp on multi-homed systems
* Fix test_tracker 'connect_alert' predicate
2018-02-19 23:23:15 +01:00
Arvid Norberg
830ef0bedd
prevent dependency on openssl from leaking outside of libtorrent (libssl and libcrypto should not be a usage requirement). This cleans up most tests to build without having to also link against openssl
2017-10-09 17:15:35 +02:00
arvidn
ff63557f58
bind upnp requests to correct local address
2017-05-12 18:17:38 -04:00
arvidn
8ffa76842c
fix test_upnp build
2016-02-28 01:18:27 -05:00
Chocobo1
329d797342
Add test case for igd_version
2015-07-09 20:11:24 +08:00
Arvid Norberg
c8443d0c7c
msvc fixes
2015-05-31 12:21:16 +00:00
Arvid Norberg
f9c9d0ad0d
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
Arvid Norberg
de616b29c5
fix c++98 support
2015-01-18 02:06:18 +00:00
Arvid Norberg
0f37e3403c
transition from intrusive_ptr to shared_ptr. don't export initialize_default_settings
2015-01-06 08:08:49 +00:00
Arvid Norberg
ceccc2a483
land branch to remove half-open connection limit / connection queue
2014-10-03 20:56:57 +00:00
Arvid Norberg
1dc491e7e1
fix test_upnp
2013-09-03 04:41:49 +00:00
Arvid Norberg
c0da76ac84
some windows fixes for unit tests
2013-07-23 07:32:38 +00:00
Arvid Norberg
1774e989f0
make tests run in separate directories, to have them never interfere with eachother
2013-06-17 00:45:17 +00:00
Arvid Norberg
971aea19e7
merged local service discovery logging from RC_0_16
2012-10-09 04:16:37 +00:00
Arvid Norberg
426f555ce0
improve and extend the upnp unit test
2012-06-28 06:47:59 +00:00
Arvid Norberg
779014ddac
support requesting UPnP and NAT-PMP routers for our external IP address
2010-12-05 20:40:28 +00:00
Arvid Norberg
a47c40d7fa
fixed web server tests to not require a fixed port. Should be much more likely to pass now
2010-01-23 23:57:11 +00:00
Arvid Norberg
2055426c52
fix trunk build and tests build without exceptions
2009-12-16 10:42:34 +00:00
Arvid Norberg
96cedc9b5f
more beos fixes
2009-12-15 13:11:07 +00:00
Arvid Norberg
690467d4ee
turned test_upnp into a proper unit-test with a simple program acting as a UPnP router
2009-06-29 08:09:32 +00:00
Arvid Norberg
c6b793021d
make tests not depend on exceptions
2008-11-05 03:17:41 +00:00
Arvid Norberg
19660306e0
more exception defines
2008-11-03 04:23:16 +00:00
Arvid Norberg
ce9d9c760c
updated upnp test
2008-10-28 22:00:34 +00:00
Arvid Norberg
af0ebb519c
added copyright notices in files missing them
2008-07-01 18:59:13 +00:00
Arvid Norberg
c7e6c04705
switched over to asio from boost-1.35
2008-05-03 16:05:42 +00:00
Arvid Norberg
2e6b9c2dce
revamped part of the port mapping code (UPnP and NAT-PMP). Added documentation for start_{lsd,natpmp,upnp} and stop_{lsd,natpmp,upnp}
2008-04-06 19:17:58 +00:00
Arvid Norberg
e05f396a5d
made UPnP ignore devices that don't respond from a router IP (optional but on by default)
2008-01-07 05:48:28 +00:00
Arvid Norberg
14b49a08ee
fixed test_upnp
2008-01-03 19:03:52 +00:00
Arvid Norberg
0220e209fa
fixed bug in test_upnp program
2007-11-28 03:09:58 +00:00
Arvid Norberg
0d02fe0539
upnp and lsd update. added a broadcast_socket and made the upnp connection use the locally bound ip to specify its address in the soap requests
2007-09-09 23:52:34 +00:00
Arvid Norberg
36898ecc12
added more logging to upnp. fixed upnp test
2007-05-14 08:56:46 +00:00
Arvid Norberg
d320928e8f
more upnp logging and made the upnp test build again
2007-05-05 20:00:28 +00:00
Arvid Norberg
306d015924
added a timer abstraction and replaced the use of boost.date_time. the timers used now are QueryPerformanceCounter on windows, mach_absolute_time on darwin and currently falls back on boost.date_time on other platforms. This has the advantage of being a monotonic clock, and also slightly more efficient
2007-04-04 22:27:36 +00:00
Arvid Norberg
bf5dc7fce4
added UPnP test application
2007-04-02 05:14:20 +00:00