OutputDirectoryCreator that creates directories based on
the unique ID segments of a TestDescriptor.
| Modifier and Type | Field and Description |
|---|---|
| private static final Pattern | |
| private static final String | |
| private volatile @Nullable Path | |
| private final Supplier |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Path | createOutputDirectory(TestDescriptor testDescriptor)
Implements org. Create an output directory for the supplied test descriptor. |
| public synchronized Path | getRootDirectory()
Implements org. Returns the root directory for all output files; never |
| private static String | |
| private static Path |
| FORBIDDEN_CHARS | back to summary |
|---|---|
| private static final Pattern FORBIDDEN_CHARS | |
| REPLACEMENT | back to summary |
|---|---|
| private static final String REPLACEMENT | |
| rootDir | back to summary |
|---|---|
| private volatile @Nullable Path rootDir | |
| rootDirSupplier | back to summary |
|---|---|
| private final Supplier<Path> rootDirSupplier | |
| HierarchicalOutputDirectoryCreator | back to summary |
|---|---|
| pack-priv HierarchicalOutputDirectoryCreator(Supplier<Path> rootDirSupplier) | |
| createOutputDirectory | back to summary |
|---|---|
| public Path createOutputDirectory(TestDescriptor testDescriptor) throws IOException Implements org. Doc from org. Create an output directory for the supplied test descriptor.
| |
| getRootDirectory | back to summary |
|---|---|
| public synchronized Path getRootDirectory() Implements org. Doc from org. Returns the root directory for all output files; never
| |
| sanitizeName | back to summary |
|---|---|
| private static String sanitizeName(String value) | |
| toSanitizedPath | back to summary |
|---|---|
| private static Path toSanitizedPath(UniqueId. | |