Class RunnerTestDescriptor
java.lang.Object
org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
org.junit.vintage.engine.descriptor.VintageTestDescriptor
org.junit.vintage.engine.descriptor.RunnerTestDescriptor
- All Implemented Interfaces:
org.junit.platform.engine.TestDescriptor
- Since:
- 4.12
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.junit.platform.engine.TestDescriptor
org.junit.platform.engine.TestDescriptor.Type, org.junit.platform.engine.TestDescriptor.Visitor -
Field Summary
Fields inherited from class org.junit.vintage.engine.descriptor.VintageTestDescriptor
description, ENGINE_ID, SEGMENT_TYPE_DYNAMIC, SEGMENT_TYPE_RUNNER, SEGMENT_TYPE_TESTFields inherited from class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
children -
Constructor Summary
ConstructorsConstructorDescriptionRunnerTestDescriptor(org.junit.platform.engine.UniqueId uniqueId, Class<?> testClass, org.junit.runner.Runner runner, boolean ignored) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyFilters(Consumer<RunnerTestDescriptor> childrenCreator) protected booleanvoidbooleanvoidprune()org.junit.runner.Requestprotected booleantryToExcludeFromRunner(org.junit.runner.Description description) Methods inherited from class org.junit.vintage.engine.descriptor.VintageTestDescriptor
getDescription, getTags, getType, removeFromHierarchyMethods inherited from class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
addChild, equals, findByUniqueId, getChildren, getDisplayName, getParent, getSource, getUniqueId, hashCode, removeChild, setParent, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.junit.platform.engine.TestDescriptor
accept, getAncestors, getDescendants, isContainer, isRoot, isTest, mayRegisterTests
-
Constructor Details
-
RunnerTestDescriptor
public RunnerTestDescriptor(org.junit.platform.engine.UniqueId uniqueId, Class<?> testClass, org.junit.runner.Runner runner, boolean ignored)
-
-
Method Details
-
getLegacyReportingName
- Specified by:
getLegacyReportingNamein interfaceorg.junit.platform.engine.TestDescriptor- Overrides:
getLegacyReportingNamein classVintageTestDescriptor
-
toRequest
public org.junit.runner.Request toRequest() -
tryToExcludeFromRunner
protected boolean tryToExcludeFromRunner(org.junit.runner.Description description) - Overrides:
tryToExcludeFromRunnerin classVintageTestDescriptor
-
canBeRemovedFromHierarchy
protected boolean canBeRemovedFromHierarchy()- Overrides:
canBeRemovedFromHierarchyin classVintageTestDescriptor
-
prune
public void prune() -
getFilters
-
clearFilters
public void clearFilters() -
applyFilters
-
isIgnored
public boolean isIgnored()
-