java.lang.Object
org.junit.platform.engine.discovery.FileSelector
- All Implemented Interfaces:
DiscoverySelector
@API(status=STABLE,
since="1.0")
public class FileSelector
extends Object
implements DiscoverySelector
A
DiscoverySelector
that selects a file so that
TestEngines
can discover tests or containers based on files in the
file system.- Since:
- 1.0
- See Also:
DiscoverySelectors.selectFile(String)
,DiscoverySelectors.selectFile(File)
,DirectorySelector
,getFile()
,getPath()
,getRawPath()
-
Method Details
-
getFile
Get the selected file as aFile
.- See Also:
getPath()
,getRawPath()
-
getPath
- See Also:
getFile()
,getRawPath()
-
getRawPath
Get the selected file as a raw path. -
getPosition
Get the selected position within the file as aFilePosition
. -
equals
-
hashCode
-
toString
-