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 based TestSource.

This interface uses File instead of Path because the latter does not implement Serializable.

Since:
1.0
  • Method Summary

    Modifier and Type Method Description
    File getFile()
    Get the source file or directory.

    Methods inherited from interface org.junit.platform.engine.support.descriptor.UriSource

    getUri
  • Method Details

    • getFile

      File getFile()
      Get the source file or directory.
      Returns:
      the source file or directory; never null