Package org.junit.support.testng.engine
Class MethodDescriptor
java.lang.Object
org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
org.junit.support.testng.engine.MethodDescriptor
- All Implemented Interfaces:
org.junit.platform.engine.TestDescriptor
class MethodDescriptor
extends org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
-
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
FieldsModifier and TypeFieldDescription(package private) final MethodSignature
(package private) static final String
private final Set
<org.junit.platform.engine.TestTag> private final org.junit.platform.engine.TestDescriptor.Type
Fields inherited from class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
children
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
MethodDescriptor
(org.junit.platform.engine.UniqueId uniqueId, String displayName, Class<?> sourceClass, MethodSignature methodSignature, Set<org.junit.platform.engine.TestTag> tags, org.junit.platform.engine.TestDescriptor.Type type) -
Method Summary
Modifier and TypeMethodDescription(package private) org.junit.platform.engine.support.descriptor.MethodSource
Set
<org.junit.platform.engine.TestTag> getTags()
org.junit.platform.engine.TestDescriptor.Type
getType()
boolean
(package private) static String
toMethodId
(org.testng.ITestResult result, MethodSignature methodSignature) private static org.junit.platform.engine.support.descriptor.MethodSource
toMethodSource
(Class<?> sourceClass, MethodSignature methodSignature) private static Object
Methods inherited from class org.junit.platform.engine.support.descriptor.AbstractTestDescriptor
addChild, equals, findByUniqueId, getChildren, getDisplayName, getParent, getSource, getUniqueId, hashCode, removeChild, 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, getLegacyReportingName, isContainer, isRoot, isTest, prune
-
Field Details
-
SEGMENT_TYPE
- See Also:
-
methodSignature
-
tags
-
type
private final org.junit.platform.engine.TestDescriptor.Type type
-
-
Constructor Details
-
MethodDescriptor
protected MethodDescriptor(org.junit.platform.engine.UniqueId uniqueId, String displayName, Class<?> sourceClass, MethodSignature methodSignature, Set<org.junit.platform.engine.TestTag> tags, org.junit.platform.engine.TestDescriptor.Type type)
-
-
Method Details
-
getTags
- Specified by:
getTags
in interfaceorg.junit.platform.engine.TestDescriptor
- Overrides:
getTags
in classorg.junit.platform.engine.support.descriptor.AbstractTestDescriptor
-
toMethodSource
private static org.junit.platform.engine.support.descriptor.MethodSource toMethodSource(Class<?> sourceClass, MethodSignature methodSignature) -
toMethodId
-
unwrap
-
getType
public org.junit.platform.engine.TestDescriptor.Type getType() -
mayRegisterTests
public boolean mayRegisterTests() -
getMethodSource
org.junit.platform.engine.support.descriptor.MethodSource getMethodSource()
-