Class TestRun.VintageDescriptors
java.lang.Object
org.junit.vintage.engine.execution.TestRun.VintageDescriptors
- Enclosing class:
TestRun
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<VintageTestDescriptor> private static final TestRun.VintageDescriptorsprivate int -
Constructor Summary
ConstructorsConstructorDescriptionVintageDescriptors(List<VintageTestDescriptor> descriptors) VintageDescriptors(VintageTestDescriptor vintageTestDescriptor) -
Method Summary
Modifier and TypeMethodDescription(package private) voidadd(VintageTestDescriptor descriptor) (package private) Optional<VintageTestDescriptor> getUnambiguously(org.junit.runner.Description description) Returns theTestDescriptorthat represents the specifiedDescription.void(package private) static TestRun.VintageDescriptors
-
Field Details
-
NONE
-
descriptors
-
skippedOrStartedCount
private int skippedOrStartedCount
-
-
Constructor Details
-
VintageDescriptors
VintageDescriptors(VintageTestDescriptor vintageTestDescriptor) -
VintageDescriptors
VintageDescriptors() -
VintageDescriptors
VintageDescriptors(List<VintageTestDescriptor> descriptors)
-
-
Method Details
-
merge
-
add
-
getUnambiguously
Returns theTestDescriptorthat represents the specifiedDescription.There are edge cases where multiple
Descriptionswith the sameuniqueIdexist, e.g. when using overloaded methods to define theories. In this case, we try to find the correctTestDescriptorby checking for object identity on theDescriptionit represents.- Parameters:
description- theDescriptionto look up
-
incrementSkippedOrStarted
public void incrementSkippedOrStarted() -
getNextUnstarted
-