Eric Fiselier | 2561885f | 2017-04-15 05:28:06 +0000 | [diff] [blame] | 1 | Test Naming and Directory Structure |
| 2 | =================================== |
| 3 | |
| 4 | The directory structure for the unique_ptr class templates differs from the |
| 5 | normal test directory naming conventions (e.g. matching the stable name in the standard). |
| 6 | |
| 7 | Instead of having a [unique.ptr.single] and [unique.ptr.runtime] directory, |
| 8 | each containing their own tests, a single directory, "unique.ptr.class", |
| 9 | contains both sets of tests. |
| 10 | |
| 11 | This allows the common behavior of the two unique_ptr specializations to be |
| 12 | tested in the same place without duplication. |
| 13 | |
| 14 | Tests specific to [unique.ptr.single] have the suffix ".single.pass.cpp" |
| 15 | and those specific to [unique.ptr.runtime] are named "*.runtime.pass.cpp". |
| 16 | Tests for both specializations are named normally. |