@API(status=INTERNAL,
since="5.6")
public class TestSourceProvider
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.Class<?>,java.util.List<java.lang.reflect.Method>> |
methodsCache |
Constructor and Description |
---|
TestSourceProvider() |
Modifier and Type | Method and 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) |
private final java.util.Map<java.lang.Class<?>,java.util.List<java.lang.reflect.Method>> methodsCache
public TestSource findTestSource(org.junit.runner.Description description)
private java.lang.String sanitizeMethodName(java.lang.String methodName)
private java.lang.reflect.Method findMethod(java.lang.Class<?> testClass, java.lang.String methodName)