Top Description Methods
org.junit.platform.engine.support.descriptor

public Interface FileSystemSource

extends UriSource
Known Direct Implementers
org.junit.platform.engine.support.descriptor.DirectorySource, org.junit.platform.engine.support.descriptor.FileSource
Annotations
@API
status:STABLE
since:1.0
Static Imports
org.apiguardian.api.API.Status.STABLE

File system based TestSource.

This interface uses File instead of java.nio.file.Path because the latter does not implement java.io.Serializable.

Since
1.0

Method Summary

Modifier and TypeMethod and Description
public File

Returns:

the source file or directory; never null
getFile
()

Get the source file or directory.

Inherited from org.junit.platform.engine.support.descriptor.UriSource:
fromgetUri

Method Detail

getFileback to summary
public File getFile()

Get the source file or directory.

Returns:File

the source file or directory; never null