java.lang.Object
org.junit.platform.engine.discovery.ModuleSelector
- All Implemented Interfaces:
DiscoverySelector
@API(status=STABLE,
since="1.1")
public class ModuleSelector
extends Object
implements DiscoverySelector
A
DiscoverySelector that selects a module name so that
TestEngines can discover
tests or containers based on modules.- Since:
- 1.1
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet the selected module name.inthashCode()Return the identifier of this selector.toString()
-
Method Details
-
getModuleName
Get the selected module name. -
equals
-
hashCode
-
toString
-
toIdentifier
Description copied from interface:DiscoverySelectorReturn the identifier of this selector.The returned identifier has to be parsable by a corresponding
DiscoverySelectorIdentifierParser.- Specified by:
toIdentifierin interfaceDiscoverySelector- Returns:
- the identifier of this selector or empty if it is not supported;
never
null
-