Module org.junit.platform.engine
Interface FileSystemSource
- All Superinterfaces:
Serializable
,TestSource
,UriSource
- All Known Implementing Classes:
DirectorySource
,FileSource
File system based
TestSource
.
This interface uses File
instead of Path
because the latter does not implement Serializable
.
- Since:
- 1.0
-
Method Summary
-
Method Details
-
getFile
File getFile()Get the source file or directory.- Returns:
- the source file or directory; never
null
-