DiscoverySelector@API(status=STABLE, since="1.0") public class DirectorySelector extends java.lang.Object implements DiscoverySelector
DiscoverySelector that selects a directory so that
TestEngines
can discover tests or containers based on directories in the
file system.FileSelector,
getDirectory(),
getPath(),
getRawPath()| Modifier and Type | Method | Description |
|---|---|---|
java.io.File |
getDirectory() |
Get the selected directory as a
File. |
java.nio.file.Path |
getPath() |
Get the selected directory as a
Path using the
default FileSystem. |
java.lang.String |
getRawPath() |
Get the selected directory as a raw path.
|
java.lang.String |
toString() |
public java.io.File getDirectory()
File.getPath(),
getRawPath()public java.nio.file.Path getPath()
Path using the
default FileSystem.getDirectory(),
getRawPath()public java.lang.String getRawPath()
getDirectory(),
getPath()public java.lang.String toString()
toString in class java.lang.Object