llvm-project/libcxx/test/std/utilities/smartptr/unique.ptr
Mark de Wever e7c621a607 [libc++][nfc] Test std::unique_ptr self move assignment.
The post-conditions for the self move assignment of `std::unique_ptr`
were changed. This requires no implementation changes. A test was added
to validate the new post-conditions.

Addresses
- LWG-3455: Incorrect Postconditions on `unique_ptr` move assignment

Reviewed By: #libc, ldionne

Differential Revision: https://reviews.llvm.org/D103764
2021-06-09 20:43:12 +02:00
..
unique.ptr.class [libc++][nfc] Test std::unique_ptr self move assignment. 2021-06-09 20:43:12 +02:00
unique.ptr.create [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
unique.ptr.dltr [libc++] NFC: Fix several GCC warnings in the test suite 2020-10-30 12:48:05 -04:00
unique.ptr.special [libc++] NFC: Fix several GCC warnings in the test suite 2020-10-30 12:48:05 -04:00
README.TXT

README.TXT

Test Naming and Directory Structure
===================================

The directory structure for the unique_ptr class templates differs from the
normal test directory naming conventions (e.g. matching the stable name in the standard).

Instead of having a [unique.ptr.single] and [unique.ptr.runtime] directory,
each containing their own tests, a single directory, "unique.ptr.class",
contains both sets of tests.

This allows the common behavior of the two unique_ptr specializations to be
tested in the same place without duplication.

Tests specific to [unique.ptr.single] have the suffix ".single.pass.cpp"
and those specific to [unique.ptr.runtime] are named "*.runtime.pass.cpp".
Tests for both specializations are named normally.