Top Fields Constructors Methods
org.junit.vintage.engine.descriptor

public Class TestSourceProvider

extends Object
Class Inheritance
Annotations
@API
status:INTERNAL
since:5.6
Static Imports
java.util.Collections.synchronizedMap, java.util.function.Predicate.isEqual, org.apiguardian.api.API.Status.INTERNAL, org.junit.platform.commons.support.HierarchyTraversalMode.TOP_DOWN, .ReflectionSupport.findMethods, org.junit.platform.commons.util.FunctionUtils.where

Since
5.6

Field Summary

Modifier and TypeField and Description
private final Map<Class<?>, List<Method>>
private static final TestSource
private final Map<Description, TestSource>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private TestSource
private @Nullable Method
findMethod(Class<?> testClass, String methodName)

public @Nullable TestSource
private String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

methodsCacheback to summary
private final Map<Class<?>, List<Method>> methodsCache
NULL_SOURCEback to summary
private static final TestSource NULL_SOURCE
Annotations
@SuppressWarnings:serial
testSourceCacheback to summary
private final Map<Description, TestSource> testSourceCache

Constructor Detail

TestSourceProviderback to summary
public TestSourceProvider()

Method Detail

computeTestSourceback to summary
private TestSource computeTestSource(Description description)
findMethodback to summary
private @Nullable Method findMethod(Class<?> testClass, String methodName)
findTestSourceback to summary
public @Nullable TestSource findTestSource(Description description)
sanitizeMethodNameback to summary
private String sanitizeMethodName(String methodName)