Commit Graph

18 Commits

Author SHA1 Message Date
arvidn 0c403745fd test merge RC_1_2 into RC_2_0 2022-02-27 18:44:22 +01:00
arvidn d92ba1561f use a namespace for unit test framework globals rather than reserved identifiers 2022-02-27 17:54:16 +01:00
arvidn 096544cfd1 factor out test_transfer_matrix into its own test executable 2021-12-08 08:15:36 +01:00
arvidn 16814ec176 use a more reliable work-around for msvc standard library types whose move and move-assign operators can throw 2021-10-26 12:48:00 +02:00
arvidn 600e74e993 improve test_error_handling to exclude session construction from out-of-memory error handling 2019-11-21 08:59:28 +01:00
arvidn 883ea91d84 fix recently introduced noexcept_move_only type wrapper. it should not provide a default constructor and it should be excempt by error-handling test 2019-11-02 17:08:10 -07:00
arvidn 87a689a0ad merged RC_1_2 into master 2019-03-30 17:22:46 +01:00
arvidn 102387f4a8 make all tests run cleanly with leak sanitizer 2019-03-27 17:10:36 +01:00
arvidn 7dc28ce839 fix error_handling simulation for C++14 2019-02-22 02:36:18 +01:00
arvidn 3494961a68 some work on getting simulations to work 2019-02-11 20:19:08 +01:00
arvidn eab1055938 more warnings on appveyor 2018-11-18 11:49:45 +01:00
Arvid Norberg ccdfd7383e move export.hpp into aux_ folder. put assert symbols in libtorrent namespace 2018-05-14 09:09:01 +02:00
arvidn fe612ca167 replace the TORRENT_CFG ABI check with inline namespaces around the symbol that can change ABI based on build configuration options 2018-05-13 19:25:17 +02:00
arvidn 3a9861e237 complete the error handling test and make it part of the default simulation test suite. It will run a file transfer between two clients repeatedly, each time cause another memory allocation fail, until every single memory allocation has failed once. Any invariant check failure, assertion or signal will cause the test to fail 2018-01-08 04:44:52 -05:00
arvidn 381db57b42 improve simulations by reseeding the random number generator. also erase all output in between iterations in test_error_handling 2017-11-09 17:59:13 +01:00
arvidn e19736f925 fix simulation tests to make them not use deprecated functions 2017-07-26 18:00:03 -07:00
arvidn d138f02424 introduce lt namespace alias 2017-04-23 23:43:58 -04:00
Arvid Norberg 524f7b1c27 fix error handling by exercising code paths where memory allocations fail (#1221)
fix error handling by exercising code paths where memory allocations fail
2016-10-19 01:18:05 -04:00