llvm-project/libcxx/test/std/utilities/smartptr/unique.ptr
Mark de Wever 5dc1da3e30 [libc++][nfc] Use TEST_SAFE_STATIC.
This avoids using an libc++ internal macro in our tests.

Reviewed By: #libc, philnik, ldionne

Differential Revision: https://reviews.llvm.org/D118874
2022-02-08 17:39:21 +01:00
..
unique.ptr.class [libc++][nfc] Use TEST_SAFE_STATIC. 2022-02-08 17:39:21 +01: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++] Remove Lit annotations for unsupported GCC versions from the test suite 2021-08-12 13:30:47 -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.