Class MethodSourceSupport

java.lang.Object
org.junit.jupiter.engine.descriptor.MethodSourceSupport

class MethodSourceSupport extends Object
Jupiter internal support for creating MethodSource from URI.
Since:
5.5
See Also:
  • MethodSource
  • MethodSelector
  • Field Details

  • Constructor Details

    • MethodSourceSupport

      MethodSourceSupport()
  • Method Details

    • from

      static org.junit.platform.engine.support.descriptor.MethodSource from(URI uri)
      Create a new MethodSource from the supplied URI.

      The supplied URI should be of the form method:<FQMN> where FQMN is the fully qualified method name. See DiscoverySelectors.selectMethod(String) for the supported formats.

      The scheme-specific part component of the URI will be used as fully qualified class name. The fragment component of the URI will be used to retrieve the method name and method parameter types.
      Parameters:
      uri - the URI for the method; never null
      Returns:
      a new MethodSource; never null
      Since:
      5.5
      See Also: