You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libcxx/test/std/containers/unord/unord.multimap
Louis Dionne 8daffdabc5 [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.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@349780 91177308-0d34-0410-b5e6-96231b3b80d8
6 years ago
..
unord.multimap.cnstr [libcxx] Add missing includes in tests 6 years ago
unord.multimap.modifiers [libcxx] [test] Fix Clang -Wunused-local-typedef warnings. 6 years ago
unord.multimap.swap Fix test failures due to bad test hasher 8 years ago
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. 9 years ago
bucket.pass.cpp Mark bucket() assertions as non-portable. Patch from STL@microsoft.com 8 years ago
bucket_count.pass.cpp [libcxx] [test] Fix Clang -Wunused-local-typedef, part 2/3. 8 years ago
bucket_size.pass.cpp Mark bucket_size() assertions as non-portible. Patch from STL@microsoft.com 8 years ago
count.pass.cpp Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER. 9 years ago
db_iterators_7.pass.cpp Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER. 9 years ago
db_iterators_8.pass.cpp Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER. 9 years ago
db_local_iterators_7.pass.cpp Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER. 9 years ago
db_local_iterators_8.pass.cpp Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER. 9 years ago
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 7 years ago
empty.pass.cpp Still more missing tests - this time for the unordered containers 7 years ago
eq.pass.cpp Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER. 9 years ago
equal_range_const.pass.cpp [libcxx] Fix order checking in unordered_multimap tests. 6 years ago
equal_range_non_const.pass.cpp [libcxx] Fix order checking in unordered_multimap tests. 6 years ago
erase_if.pass.cpp Implement P1209 - Adopt Consistent Container Erasure from Library Fundamentals 2 for C++20. Reviewed as https://reviews.llvm.org/D55532 6 years ago
find_const.pass.cpp Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER. 9 years ago
find_non_const.pass.cpp Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER. 9 years ago
incomplete.pass.cpp [libcxx] [test] Fix comment typos, strip trailing whitespace. 8 years ago
iterators.fail.cpp Mark bucket_count() assertions as non-portable. Patch from STL@microsoft.com 8 years ago
iterators.pass.cpp [libcxx] [test] D27021: Fix MSVC warning C4389 "signed/unsigned mismatch", part 8/12. 8 years ago
load_factor.pass.cpp [libcxx] [test] Fix Clang -Wunused-local-typedef, part 2/3. 8 years ago
local_iterators.fail.cpp Mark bucket_count() assertions as non-portable. Patch from STL@microsoft.com 8 years ago
local_iterators.pass.cpp [libcxx] Fix order checking in unordered_multimap tests. 6 years ago
max_bucket_count.pass.cpp [libcxx] [test] Fix Clang -Wunused-local-typedef, part 2/3. 8 years ago
max_load_factor.pass.cpp [libcxx] [test] Fix Clang -Wunused-local-typedef, part 2/3. 8 years ago
max_size.pass.cpp Update all the max_size tests to eliminate signed/unsigned comparison warnings. NFC 6 years ago
rehash.pass.cpp [libcxx] Fix order checking in unordered_multimap tests. 6 years ago
reserve.pass.cpp [libcxx] Fix order checking in unordered_multimap tests. 6 years ago
scary.pass.cpp Fix unused parameters and variables 8 years ago
size.pass.cpp Still more missing tests - this time for the unordered containers 7 years ago
swap_member.pass.cpp [libcxx] Fix order checking in unordered_multimap tests. 6 years ago
types.pass.cpp Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER. 9 years ago