arvidn
9453fbd54b
merged RC_1_1 into master
2016-10-09 20:09:44 -04:00
Arvid Norberg
97c6a75084
add proper error handling to peer connections and session ( #1149 )
...
add proper error handling to peer connections and session. i.e. catch exceptions in asio handlers and catch by const reference
2016-09-25 09:50:48 -04:00
Arvid Norberg
e9a7271aca
add piece picker test for re-prioritizing downloading/writing/partial pieces ( #989 )
...
add piece picker test for re-prioritizing partial pieces and forward port steven's piece picker fix from RC_1_1
2016-08-07 16:05:20 -04:00
Arvid Norberg
e72f95e0d9
fix test_remap_files ( #905 )
...
fix test_remap_files
2016-07-15 14:35:57 -04:00
Arvid Norberg
e8380e1d0b
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
Steven Siloti
2d9cf0f8b3
use test_name rather than __LINE__ for hidden test structs
...
When building tests from mutliple files together, the line number the test is
declared on is not guaranteed to be unique. If two tests happen to be on the
same line, one of them will not be run. You will then go crazy trying to figure
out why seemingly unrelated changes make the problem go away.
2015-08-10 20:05:16 -07:00
arvidn
6068418def
fix and re-enable simulations
2015-08-09 00:56:37 -04:00
arvidn
50925d7652
fix some more warnings
2015-08-08 02:48:01 -04:00
Arvid Norberg
b0eabd532c
some test fixes
2015-05-31 16:14:46 +00: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
252e08a889
merged fixes from RC_1_0
2014-09-04 08:55:24 +00:00
Arvid Norberg
19f3de10dd
merged changes from RC_1_0
2014-09-01 08:59:12 +00:00
Arvid Norberg
7351389ce8
land libtorrent_aio branch in trunk
2014-07-06 19:18:00 +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
40682837c9
minimal support for building tests with static linking
2013-09-18 08:42:30 +00:00
Arvid Norberg
1dc491e7e1
fix test_upnp
2013-09-03 04:41:49 +00:00
Arvid Norberg
1869ab1c3e
one more attempt at fixing windows linking of test
2013-08-28 02:40:38 +00:00
Arvid Norberg
245c1791cf
use export macro from test
2013-08-21 04:32:05 +00:00
Arvid Norberg
2dc6f50f88
attempt to fix export issue of the ed25519 functions to unit tests
2013-08-19 06:45:56 +00:00
Arvid Norberg
54b05dd20a
fix test header issue
2013-06-23 21:25:38 +00:00
Arvid Norberg
981980190a
one more windows linking issue
2013-06-23 20:37:03 +00:00
Arvid Norberg
3599b130c0
expand unit tests
2013-02-24 10:02:26 +00:00
Arvid Norberg
f234cf71d8
test update
2011-11-19 06:36:44 +00:00
Arvid Norberg
a76570b563
deprecated a bunch of query functions on torrent_handle in favor of using status() to get as much information as possible in fewer calls, and saving time on synchronizing with the main thread
2010-10-30 17:23:30 +00:00
Arvid Norberg
96cedc9b5f
more beos fixes
2009-12-15 13:11:07 +00:00
Arvid Norberg
c418165e07
replaced boost.filesystem with custom functions (improves efficiency and drops unnecessary dependencies and improves libtorrent portability)
2009-10-26 01:29:39 +00:00
Arvid Norberg
6b379c7137
catch exceptions from TEST_CHECK
2009-01-19 09:30:38 +00:00
Arvid Norberg
af0ebb519c
added copyright notices in files missing them
2008-07-01 18:59:13 +00:00
Arvid Norberg
8a90767be8
added some tests
2005-08-11 11:06:52 +00:00