Module org.junit.jupiter.engine
Class MethodSourceSupport
java.lang.Object
org.junit.jupiter.engine.descriptor.MethodSourceSupport
Jupiter internal support for creating
MethodSource from URI.- Since:
- 5.5
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static MethodSourceCreate a newMethodSourcefrom the suppliedURI.
-
Field Details
-
METHOD_SCHEME
- See Also:
-
-
Constructor Details
-
MethodSourceSupport
MethodSourceSupport()
-
-
Method Details
-
from
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:
-