Class MethodSourceSupport
- java.lang.Object
-
- org.junit.jupiter.engine.descriptor.MethodSourceSupport
-
class MethodSourceSupport extends java.lang.ObjectJupiter internal support for creatingMethodSourcefromURI.- Since:
- 5.5
- See Also:
MethodSource,MethodSelector
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static java.lang.StringMETHOD_SCHEME
-
Constructor Summary
Constructors Constructor Description MethodSourceSupport()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static MethodSourcefrom(java.net.URI uri)Create a newMethodSourcefrom the suppliedURI.
-
-
-
Field Detail
-
METHOD_SCHEME
static final java.lang.String METHOD_SCHEME
- See Also:
- Constant Field Values
-
-
Method Detail
-
from
static MethodSource from(java.net.URI uri)
Create a newMethodSourcefrom the suppliedURI.The supplied
TheURIshould be of the formmethod:<FQMN>where FQMN is the fully qualified method name. SeeDiscoverySelectors.selectMethod(String)for the supported formats.scheme-specific partcomponent of theURIwill be used as fully qualified class name. The fragment component of theURIwill be used to retrieve the method name and method parameter types.- Parameters:
uri- theURIfor the method; nevernull- Returns:
- a new
MethodSource; nevernull - Since:
- 5.5
- See Also:
METHOD_SCHEME,DiscoverySelectors.selectMethod(String)
-
-