Commit Graph

601 Commits

Author SHA1 Message Date
Peter Dimov
f218f9b5a2 Add test/CMakeLists.txt 2022-06-02 18:41:31 +03:00
Peter Dimov
4e38751187 Update test/Jamfile.v2 2022-06-02 18:41:14 +03:00
Christian Mazakas
110c5dcf10 Remove unnecessary test files due to FCA refactor 2022-06-01 11:49:09 -07:00
Christian Mazakas
37f5a462e4 Update reserve_tests to handle the space requirements for new FCA implementation 2022-06-01 11:49:09 -07:00
Christian Mazakas
a1fb756831 Fix bug in rebind semantics for test allocator in reserve_tests 2022-06-01 11:49:09 -07:00
Christian Mazakas
5a456eb295 Refactor internal implementation to use "fast closed-addressing" aka fca 2022-06-01 11:49:09 -07:00
Christian Mazakas
2ae686c366 Add tests for testing the SCARY-ness of iterators 2022-06-01 11:49:09 -07:00
Christian Mazakas
641c9fba9c Update operator() implementations for predicate classes to properly return a bool 2022-06-01 11:49:09 -07:00
Christian Mazakas
8473d8120f Mark test Hasher and KeyEqual as final to extend test coverage 2022-06-01 11:49:09 -07:00
Christian Mazakas
954db4e246 Extend fancy pointer types used by test allocators to support a wider array of semantic operations 2022-06-01 11:49:09 -07:00
Christian Mazakas
4f43bc5ec7 Add missing #include for usage of BOOST_TEST macro 2022-06-01 11:49:09 -07:00
Christian Mazakas
0bcc79baab Update test allocators to be C++11 compliant by making them templates on the pointer type 2022-06-01 11:49:09 -07:00
Christian Mazakas
55d4aaeef5 Update node_handle_tests to prove that nodes can be safely transferred between plain maps/sets and their multi- versions 2022-02-25 13:58:09 -08:00
Christian Mazakas
d943283f80 Add test case for erase_if() 2022-02-23 11:36:48 -08:00
Peter Dimov
79ca8e968c Reenable warnings-as-errors 2022-02-12 03:35:29 +02:00
Peter Dimov
5a095c3771 Merge pull request #96 from cmazakas/unknown-warning-fix
Refactor tests to disable `-Wself-assign-overloaded` themselves
2022-02-12 03:34:39 +02:00
Peter Dimov
65094532eb Merge pull request #95 from cmazakas/unitialized-warning-fix
Fix asan unitialized warning
2022-02-12 02:08:27 +02:00
Christian Mazakas
d20be2aaf8 Refactor tests to disable -Wself-assign-overloaded themselves instead of in the Jamfile as not all clang versions support the warning 2022-02-11 11:33:11 -08:00
Christian Mazakas
d2ded394f6 Fix asan unitialized warning when default-initialized int is copied as a return type 2022-02-11 11:30:47 -08:00
Christian Mazakas
2b8f458a38 Fix signed/unsigned comparison warnings in the transparent test suite 2022-02-11 11:29:31 -08:00
Peter Dimov
e3a7ec6aed Merge pull request #92 from cmazakas/reserve-tests-signed-comparison-fixes
Fix signed/unsigned comparison warning in reserve tests
2022-02-11 08:23:24 +02:00
Christian Mazakas
28915fdce0 Fix signed/unsigned comparison warning in reserve tests 2022-02-10 14:57:22 -08:00
Christian Mazakas
497455d281 Disable clang-specific warning about self-assignment in tests that explicitly aim to test self-assigment 2022-02-10 12:37:39 -08:00
Peter Dimov
c758cbda5e Temporarily disable warnings-as-errors 2022-02-10 22:30:22 +02:00
Peter Dimov
0f8cc79c00 Enable warnings-as-errors for clang and msvc 2022-02-10 20:55:47 +02:00
Peter Dimov
bf0bc6468a Avoid -Wsign-conversion warning in mix_policy.cpp 2022-02-10 18:22:52 +02:00
Peter Dimov
526bf15c3c Update test/Jamfile 2022-02-10 03:58:40 +02:00
Christian Mazakas
39d60cd91d Update test metafunction to use boost::declval instead of using null pointers 2022-02-09 11:51:23 -08:00
Christian Mazakas
884c790009 Disable scoped_allocator test for msvc-14.0 as a stdlib defect in its scoped_allocator_adaptor requires DefaultConstructible for Allocators 2022-02-09 09:53:07 -08:00
Christian Mazakas
5e5dbf5984 Refactor scoped allocator test to use a custom non-default-constructible Allocator instead of Intrerprocess which required a dep on Filesystem 2022-02-09 09:52:56 -08:00
Peter Dimov
a878374d28 Disable warnings when building boost_filesystem 2022-02-09 07:12:54 +02:00
Peter Dimov
7d79b35f93 Avoid warnings in tests 2022-01-19 18:57:28 +02:00
Peter Dimov
7aacf9836c Merge branch 'develop' into feature/mix_policy 2022-01-19 01:42:05 +02:00
Peter Dimov
24eeb67275 Update reserve_tests to pass for power of two resize policy 2022-01-18 22:12:57 +02:00
Peter Dimov
bf86730a62 Add mix32_policy 2022-01-18 21:31:53 +02:00
Peter Dimov
5c3576c7c6 Add test/unordered/mix_policy.cpp 2022-01-18 20:17:31 +02:00
Christian Mazakas
596e1ce135 Add tests for unordered_multiset::contains() 2022-01-13 12:51:50 -08:00
Christian Mazakas
a87277c6e8 Add tests for unordered_set::contains() 2022-01-13 08:03:54 -08:00
Christian Mazakas
ce2051ed39 Add tests for unordered_multimap::contains() 2022-01-12 12:57:27 -08:00
Christian Mazakas
510267f6e9 Add tests for unordered_map::contains() 2022-01-12 10:36:36 -08:00
Christian Mazakas
21244ab832 Fix UB caused by integer overflow in hash functions by casting int to unsigned 2022-01-11 09:53:38 -08:00
Christian Mazakas
f6a077e102 Add transparent test support for multiset's extract() 2022-01-05 08:14:58 -08:00
Christian Mazakas
7c58a8247c Add transparent test support for set's extract() 2022-01-04 11:50:20 -08:00
Christian Mazakas
263150e599 Rename transparent extract tests to include map in their name 2022-01-04 11:50:20 -08:00
Christian Mazakas
c485bc975a Add transparent test support for multiset's count() 2022-01-04 09:05:17 -08:00
Christian Mazakas
ccbe691cc8 Add transparent test support for set's count() 2022-01-03 15:48:51 -08:00
Christian Mazakas
f8b53c1cf7 Rename transparent count tests to include map in their name 2022-01-03 15:48:51 -08:00
Christian Mazakas
3aa62a821a Add transparent test support for multiset's erase() 2022-01-03 13:54:06 -08:00
Christian Mazakas
ecf76830a5 Update transparent erase() tests to delete single elements for the multi-containers 2022-01-03 13:53:55 -08:00
Christian Mazakas
d7ffd48c67 Add transparent test support for multiset's find() 2022-01-03 07:59:36 -08:00