arvidn
bdb2801c10
fix typos in appveyor.yml. attempt to cut down build times
2015-09-11 23:13:27 -04:00
arvidn
7437171f9a
disable test_ssl on travis osx
2015-09-06 22:55:41 -04:00
arvidn
68abd7a44d
move out test_alert_manager from the main test (as it actually sleeps). also add some debug logging to it
2015-09-06 22:55:41 -04:00
arvidn
17c5759829
disable warning for unused command line argument and fix warnings. remove redundant travis build config. use new preprocessor on clang to avoid warnings
2015-09-06 22:55:41 -04:00
arvidn
b4381aa646
add unit test for linked_list
2015-08-30 23:34:49 -04:00
arvidn
8830d61cca
exclude test_utp to be run on appveyor
2015-08-30 08:52:58 -04:00
arvidn
666b6dc788
split out some more tests from test_primitives
2015-08-24 17:40:29 +02:00
arvidn
be2b1d3991
split the dht test into a few parts (still need more splitting)
2015-08-23 09:23:51 +02:00
Steven Siloti
efbf3bd361
add test for direct DHT requests
2015-08-15 14:37:06 -07:00
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
Arvid Norberg
9fdae8f525
back ported bitfield test from libtorrent_aio
2013-12-24 08:34:30 +00:00
Arvid Norberg
d64d12e50d
merge test_read_piece from RC_0_16
2013-11-24 01:32:51 +00:00
Arvid Norberg
31ecd1b914
copy test_torrent_info unit test from libtorrent_aio
2013-11-18 00:56:02 +00:00
Arvid Norberg
e60d54d90e
split up the web seed tests further into chunked encoding and banning of web seeds as their own tests
2013-11-03 18:27:24 +00:00
Arvid Norberg
03a6829070
add unit test for timer functions
2013-11-01 16:05:48 +00:00
Arvid Norberg
9ec2f48a6e
split out test_priority from test_transfer
2013-10-10 17:00:32 +00:00
Arvid Norberg
f354f33f0e
add specific exit code for valgrind errors
2013-10-06 20:01:55 +00:00
Arvid Norberg
64b563fd06
attempt to trigger valgrind errors earlier
2013-10-02 21:51:30 +00:00
Arvid Norberg
fcf923d301
fix Jamfile typo
2013-09-30 17:22:28 +00:00
Arvid Norberg
a577dac775
split up test_web_seed into smaller tests
2013-09-29 22:50:06 +00:00
Arvid Norberg
4f6f383e8b
fix typo in test Jamfile
2013-09-25 01:45:23 +00:00
Arvid Norberg
fcff201356
make tests buildable both as shared and static linkage. static builds make it easier to debug
2013-09-20 14:14:29 +00:00
Arvid Norberg
40682837c9
minimal support for building tests with static linking
2013-09-18 08:42:30 +00:00
Arvid Norberg
149c464d2e
support valgrind as a launcher of unit tests
2013-09-03 01:19:42 +00:00
Arvid Norberg
d04748f1db
split up test_primitives some more
2013-09-01 06:52:50 +00:00
Arvid Norberg
dd192cfd3c
split up test_primitives into more tests (in an attempt to get the link-time down within the regression test time limit)
2013-09-01 01:10:50 +00:00
Arvid Norberg
4ab2c14ca1
fix missing crypto symbols in unit tests for windows
2013-08-28 06:39:39 +00:00
Arvid Norberg
e67d92bb58
fix test_dht link issue
2013-08-22 08:12:35 +00:00
Arvid Norberg
beae6cece0
merged ssl fix from RC_0_16
2013-07-28 15:06:28 +00:00
Arvid Norberg
bbe62564ad
low level network primitives should not be exported. Moved enum_if into tests (since it uses internal functions)
2013-07-20 01:02:15 +00:00
Arvid Norberg
aa58f26985
fix dynamic linking of test library on windows
2013-06-23 17:36:00 +00:00
Arvid Norberg
d77e3cb59f
attempted fix for link issue
2013-06-23 08:14:18 +00:00
Arvid Norberg
56648ac39b
attempt at fixing link issue since moving unit test code into a shared library
2013-06-23 03:01:02 +00:00
Arvid Norberg
6b6c06fa0b
test log improvements
2013-06-21 01:06:40 +00:00
Arvid Norberg
3823b74586
merged test_privacy updates from RC_0_16
2013-06-13 06:32:13 +00:00
Arvid Norberg
971b979dbc
merged test from RC_0_16
2013-06-12 17:03:56 +00:00
Arvid Norberg
6bc908fd49
merged anonymous mode fix from RC_0_16
2013-06-12 07:57:13 +00:00
Arvid Norberg
91f8c32937
stub for file_storage test
2013-06-08 23:37:11 +00:00
Arvid Norberg
c464dc2383
merged unit test from RC_0_16
2013-05-31 16:33:06 +00:00
Arvid Norberg
09946aee26
merged fix from RC_0_16
2013-01-31 03:39:14 +00:00
Arvid Norberg
38d7e58177
merge checking fix from RC_0_16
2013-01-06 04:53:26 +00:00
Arvid Norberg
ac5a9e9882
introduce global connection priority for improved swarm performance
2012-12-31 06:54:54 +00:00
Arvid Norberg
a649346b43
merged windows test build fix from libtorrent_aio
2012-10-20 22:02:31 +00:00
Arvid Norberg
b14479132c
add unit test for some filesystem functions, like listing directories
2012-06-29 23:10:28 +00:00
Arvid Norberg
a2521bd23c
fix a bunch of issues to properly support dynamic linking of libtorrent with visibility=hidden. Still requires a small patch to boost
2012-03-18 23:31:04 +00:00
Arvid Norberg
750801d25b
some more shared linking fixes
2012-03-15 17:17:10 +00:00
Arvid Norberg
7b1a441aeb
attempt to make shared library builds to work with visibility=hidden
2012-03-15 06:08:08 +00:00
Arvid Norberg
75fce84ce4
added unit test for RSS feeds and fixed a parsing bug
2012-02-20 07:51:36 +00:00
Arvid Norberg
4e1af65fe0
fix issue where event=stopped announces wouldn't be sent when closing session
2011-09-17 21:15:42 +00:00
Arvid Norberg
42863ca022
import testing framework in Jamfile
2011-04-09 23:50:33 +00:00
Arvid Norberg
e5f980d80d
merged uTP branch into trunk (yay)
2010-11-29 01:33:05 +00:00