java.lang.Object
org.junit.platform.launcher.listeners.OutputDir
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static booleancontainsFilesWithExtensions(Path dir, String... extensions) Determine if the supplied directory contains files with any of the supplied extensions.static OutputDircreateFile(String prefix, String extension) (package private) static OutputDircreateSafely(Optional<String> customDir, Supplier<Path> currentWorkingDir) Package private for testing purposes.toPath()
-
Field Details
-
path
-
-
Constructor Details
-
OutputDir
-
-
Method Details
-
create
-
createSafely
static OutputDir createSafely(Optional<String> customDir, Supplier<Path> currentWorkingDir) throws IOException Package private for testing purposes.- Throws:
IOException
-
toPath
-
createFile
- Throws:
UncheckedIOException
-
containsFilesWithExtensions
private static boolean containsFilesWithExtensions(Path dir, String... extensions) throws IOException Determine if the supplied directory contains files with any of the supplied extensions.- Throws:
IOException
-