Commit Graph

162 Commits

Author SHA1 Message Date
arvidn 83dba91168 use span for to_hex and from_hex functions 2016-07-29 18:42:18 -04:00
Arvid Norberg ed077c8358 use cstdint intead of boost/cstdint.hpp (#833)
use cstdint intead of boost/cstdint.hpp
2016-06-18 14:01:38 -04:00
Arvid Norberg 8c8f5bb03b deprecated public to_hex() and from_hex() functions (#784) 2016-06-04 10:01:43 -04:00
Arvid Norberg 748af6eec1 general cleanup. remove valgrind markup, log_hash_failures and C headers (#752)
general cleanup. remove valgrind markup, log_hash_failures and C headers
2016-05-23 08:15:39 -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
Arvid Norberg 87f07aaf1e test snprintf with mingw (#734) 2016-05-15 21:03:58 -04:00
Arvid Norberg c6369194f0 simplify and optimize DHT routing table IP distance comparison (#696) 2016-05-03 23:22:25 -04:00
Alden Torres 197a443465 Fix of dht_storage_counters::peers counter. 2015-09-24 10:50:04 -04:00
arvidn b628692223 separate out announce_entry and torrent_status into their own headers 2015-09-18 08:08:08 -04:00
arvidn b0a395aa61 remove unused includes from test 2015-08-30 21:51:32 -04:00
arvidn 666b6dc788 split out some more tests from test_primitives 2015-08-24 17:40:29 +02:00
arvidn 24b20a59cd remove some randomness from the unit tests 2015-08-13 02:06:30 -04:00
Arvid Norberg 84849f3afd some msvc fixes 2015-05-30 21:46:59 +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 027789b475 fix test_primitives build 2015-05-23 02:00:38 +00:00
Arvid Norberg 9856a1fe0c break out more tests from test_primitives 2015-05-23 01:38:47 +00:00
Arvid Norberg 607e708bc4 fix warnings 2015-05-19 03:13:49 +00:00
Arvid Norberg 794de25212 moved escape_string.hpp into the aux_ directory. moved out the 3 public hex functions into its own public header, hex.hpp 2015-03-14 23:10:20 +00:00
Arvid Norberg 7351389ce8 land libtorrent_aio branch in trunk 2014-07-06 19:18:00 +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 63942545a8 extend identify_client test 2014-05-03 22:16:56 +00:00
Arvid Norberg 6c22d426d4 make all unit tests pass msvc's /RTCc instrumentation (no implicit integer truncation in casts) 2014-02-05 09:38:32 +00:00
Arvid Norberg 9fdae8f525 back ported bitfield test from libtorrent_aio 2013-12-24 08:34:30 +00:00
Arvid Norberg 03a6829070 add unit test for timer functions 2013-11-01 16:05:48 +00:00
Arvid Norberg 50f051433a merged DHT change from RC_0_16 2013-10-13 23:04:40 +00:00
Arvid Norberg 1dd5e5128b fix issue in internal_file_entry when assigning an empty string that's borrowed 2013-10-05 04:18:24 +00:00
Arvid Norberg 1c3229caa9 fix test_pe_crypto build 2013-09-01 17:39:40 +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 b431ef7836 use crc32 for node ID restriction scheme 2013-08-19 05:24:35 +00:00
Arvid Norberg 5141a6505a merged url escaping fix from RC_0_16 2013-08-16 16:38:09 +00:00
Arvid Norberg 75ba9333e6 fix test_primitives build 2013-08-05 06:35:04 +00:00
Arvid Norberg 09f29217ee test fixes 2013-08-01 04:58:43 +00:00
Arvid Norberg 410ef08e6a fix test builds 2013-06-26 19:16:21 +00:00
Arvid Norberg aa58f26985 fix dynamic linking of test library on windows 2013-06-23 17:36:00 +00:00
Arvid Norberg 78da577e2b big-endian fixes to test_primitives and more logging to track down error in test_dht 2013-06-23 01:22:44 +00:00
Arvid Norberg 4a95b06316 remove test for removed function 2013-06-18 02:08:57 +00:00
Arvid Norberg 98b47c55c6 fix ipv6-off build 2013-06-16 00:59:29 +00:00
Arvid Norberg c773e67c6a merged fix from RC_0_16 2013-05-11 17:10:57 +00:00
Arvid Norberg 246826ecb4 support arbitrarily long magnet URIs in make_magnet_uri 2013-04-27 22:35:06 +00:00
Arvid Norberg dc226eab80 merged unit test for magnet links from RC_0_16 2013-04-27 20:48:29 +00:00
Arvid Norberg df4fcaaeed remove disable-dht build configuration from the public API (simplify linking) 2013-04-09 01:04:43 +00:00
Arvid Norberg 4241e279bd more torrent parsing unit tests and fixing some previously broken by changes to parse_url_components 2013-02-26 07:32:53 +00:00
Arvid Norberg ba6770ccd8 more torrent parsing unit tests 2013-02-26 05:57:29 +00:00
Arvid Norberg 775cf5570a improve unit test coverage and fix handling of some invalid .torrent files and invalid utf-8 sequences 2013-02-25 01:54:38 +00:00
Arvid Norberg 7b53dd0491 fixed utf-8 verification bug and filename collision resolver 2013-02-24 10:16:57 +00:00
Arvid Norberg 3599b130c0 expand unit tests 2013-02-24 10:02:26 +00:00
Arvid Norberg cfa25b66e8 extend unit tests 2013-02-23 06:58:28 +00:00
Arvid Norberg 7223bf17e5 DHT memory optimization 2013-01-28 04:00:23 +00:00