Class DirectorySelector
- java.lang.Object
-
- org.junit.platform.engine.discovery.DirectorySelector
-
- All Implemented Interfaces:
DiscoverySelector
@API(status=STABLE, since="1.0") public class DirectorySelector extends Object implements DiscoverySelector
ADiscoverySelector
that selects a directory so thatTestEngines
can discover tests or containers based on directories in the file system.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description File
getDirectory()
Get the selected directory as aFile
.Path
getPath()
String
getRawPath()
Get the selected directory as a raw path.String
toString()
-
-
-
Method Detail
-
getDirectory
public File getDirectory()
Get the selected directory as aFile
.- See Also:
getPath()
,getRawPath()
-
getPath
public Path getPath()
- See Also:
getDirectory()
,getRawPath()
-
getRawPath
public String getRawPath()
Get the selected directory as a raw path.- See Also:
getDirectory()
,getPath()
-
-