arvidn
225b82d9a0
move test_trackers_extensions over to a simulation and some minor metadata extension and tracker re-announce fixes
2015-08-13 23:07:04 -04:00
arvidn
874bfcc89e
transitioned test_super_seeding to a simulation (and remove the live test for test_swarm, which already has been transitioned to a simulation)
2015-08-10 10:18:36 -04:00
arvidn
a75699eff1
move test_metadata_extension to a simulation instead of a live test
2015-08-10 09:17:41 -04:00
arvidn
e38f461197
disable another flapping test on appveyor/windows
2015-08-09 18:23:01 -04:00
arvidn
d977f2e68f
attempt to make appveyor happy
2015-08-09 17:54:10 -04:00
arvidn
46803b75f8
support building libtorrent in simulation mode (using libsimulator, which is a git submodule)
2015-08-07 21:31:59 -04:00
Jakob Petsovits
991f0c2a45
Rename test_bdecode_performance to bdecode_benchmark, fix CMake issues.
...
It's not a test as such, since it's got its own main() that takes
arguments, doesn't return a result that can be directly compared
against expected results, and doesn't make use of the test_common
infrastructure.
The CMake build attempts to build all files named test_*.cpp with
test_common, whose main() and load_file() symbols clash with those
that the benchmark provides. Instead of making an exception, let's
rename it to something that doesn't start with "test_". Its usage
message even claims it's called bdecode_benchmark, so we use that.
Also, complete the file listing for test_common in CMake and use
an OBJECT pseudo-library there instead of STATIC. It's just as good
and jives better with having symbols provided by the executable.
(Follow-up patch in the works to provide Asio symbols that way.)
test_natpmp is a proper test but doesn't currently build,
so exclude it from the build for now.
2015-07-17 20:59:39 -04:00
arvidn
e2784df13c
factor out file progress tracking from the torrent class
2015-06-28 22:47:11 -04:00
arvidn
d704c00615
disable test_random.
2015-06-21 02:28:15 -04:00
arvidn
8cf9357aa8
move test main into test library to avoid redundant recompiling and hopefully speed up the testing a bit
2015-06-20 11:08:26 -04:00
arvidn
e4e46241a8
fix reliability of swarm tests
2015-06-14 16:41:32 -04:00
arvidn
0d6e65ec24
improve reliability of some of the unit tests
2015-06-10 01:22:01 -04:00
arvidn
6e68429117
split out test_upnp as its own test
2015-06-09 23:04:33 -04:00
arvidn
025d1857c1
disable some more tests that aren't reliable yet
2015-06-07 09:29:42 -04:00
arvidn
9957c00def
disable test_priority for now
2015-06-06 14:59:04 -04: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
647a6dba54
moved some tests to the correct place and factor out some tests from test_primitives.cpp in order to be able to track test coverage better
2015-05-27 21:27:41 +00:00
Arvid Norberg
9856a1fe0c
break out more tests from test_primitives
2015-05-23 01:38:47 +00:00
Arvid Norberg
202b4921b6
merged changes from RC_1_0
2015-05-08 04:28:24 +00:00
Arvid Norberg
3bf9fa8fca
move out merkle functions into their own file and test
2015-04-24 06:06:41 +00:00
Arvid Norberg
3ea67e2bf5
move time_now_string out to the unit test library (basically unused in libtorrent itself)
2015-04-24 03:48:08 +00:00
Arvid Norberg
208fbe8545
extend test_peer_list
2015-04-12 06:39:16 +00:00
Arvid Norberg
013ed36f09
landed alert_queue feature branch into trunk
2015-04-03 20:15:48 +00:00
Arvid Norberg
837e709628
deprecate RSS API
2015-03-28 17:31:27 +00:00
Arvid Norberg
ccc7e45406
landed mutable torrents branch in trunk
2015-03-21 00:12:40 +00:00
Arvid Norberg
6c1df7eb55
landed the bdecode branch in master. lazy_bdecode/lazy_entry is now being replaced by bdecode/bdecode_node
2015-03-12 05:20:12 +00:00
Arvid Norberg
d370ae0b9d
merge test_torrent_parse and test_torrent_info (they both exercised torrent_info)
2015-02-15 01:04:50 +00:00
Arvid Norberg
46ef448711
fix issue with upload only while trying to download metadata. also added a unit test to catch it in the future
2015-02-07 01:01:48 +00:00
Arvid Norberg
f7221e277f
add unit test for crc32c and fix cpuid warning
2014-11-10 02:05:46 +00:00
Arvid Norberg
e526355d24
merged changes from RC_1_0
2014-11-09 11:17:13 +00:00
Arvid Norberg
aae56c991c
merged changes from RC_1_0
2014-11-08 16:58:18 +00:00
Arvid Norberg
85cc72835e
finally rename policy to peer_list
2014-10-26 07:34:31 +00:00
Arvid Norberg
939411488e
split time_critical and super_seeding tests out of test_swarm
2014-10-12 08:39:14 +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
eb32b1fef1
merged changes from RC_1_0
2014-09-12 22:38:07 +00:00
Arvid Norberg
524384045c
transition to use boost.random instead of rand() and custom pseudo random generator
2014-08-16 20:26:00 +00:00
Arvid Norberg
34440224fc
merged web seed redirect fix from RC_1_0
2014-07-09 20:53:39 +00:00
Arvid Norberg
7351389ce8
land libtorrent_aio branch in trunk
2014-07-06 19:18:00 +00:00
Arvid Norberg
2b7bef0f7b
fix support for web servers not supporting keepalive
2014-06-15 18:02:59 +00:00
Arvid Norberg
555efd9279
factor out address/endpoint I/O into it's own unit test. merge write_string from bencode and socket_io. extend unit test
2014-05-04 06:46:47 +00:00
Arvid Norberg
a52aadc713
add utf8 unit test
2014-05-03 05:09:21 +00:00
Arvid Norberg
43c41ddfb1
fixed bug in gunzip
2014-05-02 16:11:25 +00:00
Arvid Norberg
1b1ae16852
fix unit test jamfile
2014-04-27 16:54:10 +00:00
Arvid Norberg
cff82fa319
export ed25519 functions from libtorrent. fix tools/dht_put build when dht is disabled. fix shared linking in tools Jamfile
2014-03-06 09:45:16 +00:00
Arvid Norberg
9f4e865596
merge remap_files unit test from RC_0_16
2014-03-05 09:37:49 +00:00
Arvid Norberg
0a042dde8b
clean up udp-tracker unit tests
2014-02-23 01:32:55 +00:00
Arvid Norberg
11e1e147a3
suppress libcrypto issue in valgrind runs
2014-01-25 22:56:22 +00:00
Arvid Norberg
6dbc7091d3
fix link issue in build. caused corruption and crash in test_storage
2014-01-06 03:50:25 +00:00
Arvid Norberg
d6b1aa4c36
DHT refactoring and support for storing arbitrary data with put
2013-12-27 04:28:25 +00:00