Class DirectorySource
java.lang.Object
org.junit.platform.engine.support.descriptor.DirectorySource
- All Implemented Interfaces:
Serializable, FileSystemSource, UriSource, TestSource
@API(status=STABLE,
since="1.0")
public final class DirectorySource
extends Object
implements FileSystemSource
Directory based
TestSource.- Since:
- 1.0
- See Also:
-
Method Summary
-
Method Details
-
from
Create a newDirectorySourceusing the supplied directory.- Parameters:
directory- the source directory; must not benull
-
getUri
-
getFile
Get the source directory.- Specified by:
getFilein interfaceFileSystemSource- Returns:
- the source directory; never
null
-
equals
-
hashCode
-
toString
-