[libcxx][test][NFC] Extend get_allocator() testing for containers
authorKonstantin Boyarinov <konstantin.boyarinov@intel.com>
Wed, 1 Dec 2021 13:04:59 +0000 (16:04 +0300)
committerRuslan Arutyunyan <ruslan.arutyunyan@intel.com>
Wed, 1 Dec 2021 13:15:19 +0000 (16:15 +0300)
commit8d25da78aad91635f78225edd972feb2de7228cd
treeca2462603701cf438e223e1ab9a8868b2f3337cc
parent0428d44d4cfafe55fd13679cf16f6b099cbb0e61
[libcxx][test][NFC] Extend get_allocator() testing for containers

Add dedicated tests for get_allocator() method for sequence, ordered and
unordered associative containers including constness coverage.

Reviewed by: ldionne, Mordante, rarutyun, #libc

Differential revision: https://reviews.llvm.org/D114785
13 files changed:
libcxx/test/std/containers/associative/map/get_allocator.pass.cpp [new file with mode: 0644]
libcxx/test/std/containers/associative/multimap/get_allocator.pass.cpp [new file with mode: 0644]
libcxx/test/std/containers/associative/multiset/get_allocator.pass.cpp [new file with mode: 0644]
libcxx/test/std/containers/associative/set/get_allocator.pass.cpp [new file with mode: 0644]
libcxx/test/std/containers/sequences/deque/get_allocator.pass.cpp [new file with mode: 0644]
libcxx/test/std/containers/sequences/forwardlist/get_allocator.pass.cpp [new file with mode: 0644]
libcxx/test/std/containers/sequences/list/get_allocator.pass.cpp [new file with mode: 0644]
libcxx/test/std/containers/sequences/vector.bool/get_allocator.pass.cpp [new file with mode: 0644]
libcxx/test/std/containers/sequences/vector/get_allocator.pass.cpp [new file with mode: 0644]
libcxx/test/std/containers/unord/unord.map/get_allocator.pass.cpp [new file with mode: 0644]
libcxx/test/std/containers/unord/unord.multimap/get_allocator.pass.cpp [new file with mode: 0644]
libcxx/test/std/containers/unord/unord.multiset/get_allocator.pass.cpp [new file with mode: 0644]
libcxx/test/std/containers/unord/unord.set/get_allocator.pass.cpp [new file with mode: 0644]