Package org.junit.support.testng.engine
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) class
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
FieldsModifier and TypeFieldDescription(package private) ClassDescriptor.ExecutionStrategy
private final ConcurrentMap
<String, MethodDescriptor> (package private) final AtomicInteger
(package private) static final String
private 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 TypeMethodDescriptionvoid
addChild
(org.junit.platform.engine.TestDescriptor child) private static String
determineDisplayName
(Class<?> testClass) findMethodDescriptor
(org.testng.ITestResult result) Set
<org.junit.platform.engine.TestTag> getTags()
(package private) Class
<?> org.junit.platform.engine.TestDescriptor.Type
getType()
void
includeTestMethod
(String methodName) void
void
removeChild
(org.junit.platform.engine.TestDescriptor child) void
private String
toChildKey
(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, removeFromHierarchy, setParent, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:
getTags
in interfaceorg.junit.platform.engine.TestDescriptor
- Overrides:
getTags
in classorg.junit.platform.engine.support.descriptor.AbstractTestDescriptor
-
addChild
public void addChild(org.junit.platform.engine.TestDescriptor child) - Specified by:
addChild
in interfaceorg.junit.platform.engine.TestDescriptor
- Overrides:
addChild
in classorg.junit.platform.engine.support.descriptor.AbstractTestDescriptor
-
removeChild
public void removeChild(org.junit.platform.engine.TestDescriptor child) - Specified by:
removeChild
in interfaceorg.junit.platform.engine.TestDescriptor
- Overrides:
removeChild
in classorg.junit.platform.engine.support.descriptor.AbstractTestDescriptor
-
toChildKey
-
findMethodDescriptor
-
includeTestMethod
-
selectEntireClass
public void selectEntireClass() -
prepareExecution
public void prepareExecution()
-