Module org.junit.platform.engine
Interface FileSystemSource
-
- All Superinterfaces:
Serializable
,TestSource
,UriSource
- All Known Implementing Classes:
DirectorySource
,FileSource
@API(status=STABLE, since="1.0") public interface FileSystemSource extends UriSource
File system basedTestSource
.This interface uses
File
instead ofPath
because the latter does not implementSerializable
.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description File
getFile()
Get the source file or directory.
-
-
-
Method Detail
-
getFile
File getFile()
Get the source file or directory.- Returns:
- the source file or directory; never
null
-
-