llvm-project/libcxx/test/std/containers/unord/unord.multimap
Louis Dionne ebc2344a8b [libcxx] Fix order checking in unordered_multimap tests.
Some tests assume that iteration through an unordered multimap elements
will return them in the same order as at the container creation. This
assumption is not true since the container is unordered, so that no
specific order of elements is ever guaranteed for such container. This
patch introduces checks verifying that any iteration will return elements
exactly from a set of valid values and without repetition, but in no
particular order.

Reviewed as https://reviews.llvm.org/D54838.
Thanks to Andrey Maksimov for the patch.

llvm-svn: 349780
2018-12-20 17:55:31 +00:00
..
unord.multimap.cnstr [libcxx] Add missing includes in tests 2018-11-16 19:52:47 +00:00
unord.multimap.modifiers [libcxx] [test] Fix Clang -Wunused-local-typedef warnings. 2018-11-14 23:23:55 +00:00
unord.multimap.swap Fix test failures due to bad test hasher 2017-03-01 02:34:27 +00:00
allocator_mismatch.fail.cpp Add static_assert to set/multiset/map/multimap/forward_list/deque that the allocator's value_type match the container's value_type. vector/unordered/list/string already do this. Add tests for all the containers to verify this. 2015-11-26 01:24:04 +00:00
bucket.pass.cpp Mark bucket() assertions as non-portable. Patch from STL@microsoft.com 2016-07-24 23:34:18 +00:00
bucket_count.pass.cpp [libcxx] [test] Fix Clang -Wunused-local-typedef, part 2/3. 2017-02-05 22:47:41 +00:00
bucket_size.pass.cpp Mark bucket_size() assertions as non-portible. Patch from STL@microsoft.com 2016-07-24 23:13:36 +00:00
count.pass.cpp Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER. 2016-06-14 21:31:42 +00:00
db_iterators_7.pass.cpp Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER. 2016-06-14 21:31:42 +00:00
db_iterators_8.pass.cpp Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER. 2016-06-14 21:31:42 +00:00
db_local_iterators_7.pass.cpp Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER. 2016-06-14 21:31:42 +00:00
db_local_iterators_8.pass.cpp Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER. 2016-06-14 21:31:42 +00:00
empty.fail.cpp First part of P0600 - '[[nodiscard] in the standard library'. Mark the 'empty()' methods of all the containers as nodiscard. If you're calling empty() w/o looking at the result, you probably meanto to call 'clear()'. c++2a only 2017-11-15 05:51:26 +00:00
empty.pass.cpp Still more missing tests - this time for the unordered containers 2017-11-15 05:25:36 +00:00
eq.pass.cpp Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER. 2016-06-14 21:31:42 +00:00
equal_range_const.pass.cpp [libcxx] Fix order checking in unordered_multimap tests. 2018-12-20 17:55:31 +00:00
equal_range_non_const.pass.cpp [libcxx] Fix order checking in unordered_multimap tests. 2018-12-20 17:55:31 +00:00
erase_if.pass.cpp Implement P1209 - Adopt Consistent Container Erasure from Library Fundamentals 2 for C++20. Reviewed as https://reviews.llvm.org/D55532 2018-12-14 18:49:35 +00:00
find_const.pass.cpp Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER. 2016-06-14 21:31:42 +00:00
find_non_const.pass.cpp Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER. 2016-06-14 21:31:42 +00:00
incomplete.pass.cpp [libcxx] [test] Fix comment typos, strip trailing whitespace. 2017-01-18 20:10:25 +00:00
iterators.fail.cpp Mark bucket_count() assertions as non-portable. Patch from STL@microsoft.com 2016-07-25 00:26:41 +00:00
iterators.pass.cpp [libcxx] [test] D27021: Fix MSVC warning C4389 "signed/unsigned mismatch", part 8/12. 2016-12-06 01:12:34 +00:00
load_factor.pass.cpp [libcxx] [test] Fix Clang -Wunused-local-typedef, part 2/3. 2017-02-05 22:47:41 +00:00
local_iterators.fail.cpp Mark bucket_count() assertions as non-portable. Patch from STL@microsoft.com 2016-07-25 00:26:41 +00:00
local_iterators.pass.cpp [libcxx] Fix order checking in unordered_multimap tests. 2018-12-20 17:55:31 +00:00
max_bucket_count.pass.cpp [libcxx] [test] Fix Clang -Wunused-local-typedef, part 2/3. 2017-02-05 22:47:41 +00:00
max_load_factor.pass.cpp [libcxx] [test] Fix Clang -Wunused-local-typedef, part 2/3. 2017-02-05 22:47:41 +00:00
max_size.pass.cpp Update all the max_size tests to eliminate signed/unsigned comparison warnings. NFC 2018-10-12 21:22:15 +00:00
rehash.pass.cpp [libcxx] Fix order checking in unordered_multimap tests. 2018-12-20 17:55:31 +00:00
reserve.pass.cpp [libcxx] Fix order checking in unordered_multimap tests. 2018-12-20 17:55:31 +00:00
scary.pass.cpp Fix unused parameters and variables 2016-12-23 23:37:52 +00:00
size.pass.cpp Still more missing tests - this time for the unordered containers 2017-11-15 05:25:36 +00:00
swap_member.pass.cpp [libcxx] Fix order checking in unordered_multimap tests. 2018-12-20 17:55:31 +00:00
types.pass.cpp Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER. 2016-06-14 21:31:42 +00:00