• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Test Naming and Directory Structure
2===================================
3
4The directory structure for the unique_ptr class templates differs from the
5normal test directory naming conventions (e.g. matching the stable name in the standard).
6
7Instead of having a [unique.ptr.single] and [unique.ptr.runtime] directory,
8each containing their own tests, a single directory, "unique.ptr.class",
9contains both sets of tests.
10
11This allows the common behavior of the two unique_ptr specializations to be
12tested in the same place without duplication.
13
14Tests specific to [unique.ptr.single] have the suffix ".single.pass.cpp"
15and those specific to [unique.ptr.runtime] are named "*.runtime.pass.cpp".
16Tests for both specializations are named normally.
17