Module org.junit.platform.engine
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 class DirectorySource
extends Object
implements FileSystemSource
Directory based
TestSource
.- Since:
- 1.0
- See Also:
-
Method Details
-
from
Create a newDirectorySource
using the supplied directory.- Parameters:
directory
- the source directory; must not benull
-
getUri
-
getFile
Get the source directory.- Specified by:
getFile
in interfaceFileSystemSource
- Returns:
- the source directory; never
null
-
equals
-
hashCode
public int hashCode() -
toString
-