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 MethodSource
Create a newMethodSource
from the suppliedURI
.
-
Field Details
-
METHOD_SCHEME
- See Also:
-
-
Constructor Details
-
MethodSourceSupport
MethodSourceSupport()
-
-
Method Details
-
from
Create a newMethodSource
from the suppliedURI
.The supplied
TheURI
should be of the formmethod:<FQMN>
where FQMN is the fully qualified method name. SeeDiscoverySelectors.selectMethod(String)
for the supported formats.scheme-specific part
component of theURI
will be used as fully qualified class name. The fragment component of theURI
will be used to retrieve the method name and method parameter types.- Parameters:
uri
- theURI
for the method; nevernull
- Returns:
- a new
MethodSource
; nevernull
- Since:
- 5.5
- See Also:
-