Class TestSourceProvider
- java.lang.Object
-
- org.junit.vintage.engine.descriptor.TestSourceProvider
-
@API(status=INTERNAL, since="5.6") public class TestSourceProvider extends java.lang.Object
- Since:
- 5.6
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.Class<?>,java.util.List<java.lang.reflect.Method>>
methodsCache
-
Constructor Summary
Constructors Constructor Description TestSourceProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private java.lang.reflect.Method
findMethod(java.lang.Class<?> testClass, java.lang.String methodName)
TestSource
findTestSource(org.junit.runner.Description description)
private java.lang.String
sanitizeMethodName(java.lang.String methodName)
-
-
-
Method Detail
-
findTestSource
public TestSource findTestSource(org.junit.runner.Description description)
-
sanitizeMethodName
private java.lang.String sanitizeMethodName(java.lang.String methodName)
-
findMethod
private java.lang.reflect.Method findMethod(java.lang.Class<?> testClass, java.lang.String methodName)
-
-