Class TestSourceProvider

java.lang.Object
org.junit.vintage.engine.descriptor.TestSourceProvider

@API(status=INTERNAL, since="5.6") public class TestSourceProvider extends Object
Since:
5.6
  • Field Details

    • NULL_SOURCE

      private static final TestSource NULL_SOURCE
    • testSourceCache

      private final Map<org.junit.runner.Description,TestSource> testSourceCache
    • methodsCache

      private final Map<Class<?>,List<Method>> methodsCache
  • Constructor Details

    • TestSourceProvider

      public TestSourceProvider()
  • Method Details

    • findTestSource

      public TestSource findTestSource(org.junit.runner.Description description)
    • computeTestSource

      private TestSource computeTestSource(org.junit.runner.Description description)
    • sanitizeMethodName

      private String sanitizeMethodName(String methodName)
    • findMethod

      private Method findMethod(Class<?> testClass, String methodName)