@API(status=STABLE, since="1.0") public class DirectorySelector extends 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 and Description |
---|---|
File |
getDirectory()
Get the selected directory as a
File . |
Path |
getPath()
|
String |
getRawPath()
Get the selected directory as a raw path.
|
String |
toString() |
public File getDirectory()
File
.getPath()
,
getRawPath()
public Path getPath()
getDirectory()
,
getRawPath()
public String getRawPath()
getDirectory()
,
getPath()