Class MethodSourceSupport
- java.lang.Object
-
- org.junit.jupiter.engine.descriptor.MethodSourceSupport
-
class MethodSourceSupport extends java.lang.Object
Jupiter internal support for creatingMethodSource
fromURI
.- Since:
- 5.5
- See Also:
MethodSource
,MethodSelector
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static java.lang.String
METHOD_SCHEME
-
Constructor Summary
Constructors Constructor Description MethodSourceSupport()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static MethodSource
from(java.net.URI uri)
Create a newMethodSource
from 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 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:
METHOD_SCHEME
,DiscoverySelectors.selectMethod(String)
-
-