Class ClassDescriptor
java.lang.Object
org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
org.junit.support.testng.engine.ClassDescriptor
- All Implemented Interfaces:
org.junit.platform.engine.TestDescriptor
class ClassDescriptor
extends org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) class(package private) static interface(package private) classNested classes/interfaces inherited from interface org.junit.platform.engine.TestDescriptor
org.junit.platform.engine.TestDescriptor.Type, org.junit.platform.engine.TestDescriptor.Visitor -
Field Summary
FieldsModifier and TypeFieldDescription(package private) ClassDescriptor.ExecutionStrategyprivate final ConcurrentMap<String, MethodDescriptor> (package private) final AtomicInteger(package private) static final Stringprivate final Set<org.junit.platform.engine.TestTag> private final Class<?> Fields inherited from class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
children -
Constructor Summary
ConstructorsConstructorDescriptionClassDescriptor(org.junit.platform.engine.UniqueId uniqueId, Class<?> testClass, Set<org.junit.platform.engine.TestTag> tags) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChild(org.junit.platform.engine.TestDescriptor child) private static StringdetermineDisplayName(Class<?> testClass) findMethodDescriptor(org.testng.ITestResult result) Set<org.junit.platform.engine.TestTag> getTags()(package private) Class<?> org.junit.platform.engine.TestDescriptor.TypegetType()voidincludeTestMethod(String methodName) voidvoidremoveChild(org.junit.platform.engine.TestDescriptor child) voidprivate StringtoChildKey(org.junit.platform.engine.TestDescriptor child) Methods inherited from class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
equals, findByUniqueId, getChildren, getDisplayName, getParent, getSource, getUniqueId, hashCode, orderChildren, removeFromHierarchy, setParent, toStringMethods inherited from interface org.junit.platform.engine.TestDescriptor
accept, getAncestors, getDescendants, isContainer, isRoot, isTest, mayRegisterTests, prune
-
Field Details
-
SEGMENT_TYPE
- See Also:
-
methodsById
-
testClass
-
tags
-
remainingIterations
-
executionStrategy
ClassDescriptor.ExecutionStrategy executionStrategy
-
-
Constructor Details
-
ClassDescriptor
-
-
Method Details
-
determineDisplayName
-
getLegacyReportingName
-
getTestClass
Class<?> getTestClass() -
getType
public org.junit.platform.engine.TestDescriptor.Type getType() -
getTags
- Specified by:
getTagsin interfaceorg.junit.platform.engine.TestDescriptor- Overrides:
getTagsin classorg.junit.platform.engine.support.descriptor.AbstractTestDescriptor
-
addChild
public void addChild(org.junit.platform.engine.TestDescriptor child) - Specified by:
addChildin interfaceorg.junit.platform.engine.TestDescriptor- Overrides:
addChildin classorg.junit.platform.engine.support.descriptor.AbstractTestDescriptor
-
removeChild
public void removeChild(org.junit.platform.engine.TestDescriptor child) - Specified by:
removeChildin interfaceorg.junit.platform.engine.TestDescriptor- Overrides:
removeChildin classorg.junit.platform.engine.support.descriptor.AbstractTestDescriptor
-
toChildKey
-
findMethodDescriptor
-
includeTestMethod
-
selectEntireClass
public void selectEntireClass() -
prepareExecution
public void prepareExecution()
-