Package org.junit.support.testng.engine
Class TestDescriptorFactory
- java.lang.Object
-
- org.junit.support.testng.engine.TestDescriptorFactory
-
class TestDescriptorFactory extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.String,org.junit.platform.engine.TestTag>testTags
-
Constructor Summary
Constructors Constructor Description TestDescriptorFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static voidappendInvocationIndex(java.lang.StringBuilder builder, java.lang.Integer invocationIndex)(package private) static voidappendParameterValues(java.lang.StringBuilder builder, java.lang.Object[] parameters)(package private) ClassDescriptorcreateClassDescriptor(org.junit.platform.engine.TestDescriptor parent, java.lang.Class<?> testClass)(package private) InvocationDescriptorcreateInvocationDescriptor(MethodDescriptor parent, org.testng.ITestResult result, int invocationIndex)(package private) MethodDescriptorcreateMethodDescriptor(ClassDescriptor parent, org.testng.ITestResult result)private org.junit.platform.engine.TestTagcreateTag(java.lang.String value)private java.lang.Class<?>getDefaultRetryAnalyzer()private static java.lang.IntegergetFactoryMethodInvocationIndex(org.testng.ITestResult result)private static java.lang.Object[]getFactoryParameters(org.testng.ITestResult result)private java.lang.Class<?>getRetryAnalyzerClass(org.testng.ITestNGMethod method)private booleanisDataDriven(org.testng.ITestNGMethod method)private booleanreportsInvocations(org.testng.ITestNGMethod method)
-
-
-
Method Detail
-
createClassDescriptor
ClassDescriptor createClassDescriptor(org.junit.platform.engine.TestDescriptor parent, java.lang.Class<?> testClass)
-
createMethodDescriptor
MethodDescriptor createMethodDescriptor(ClassDescriptor parent, org.testng.ITestResult result)
-
getFactoryParameters
private static java.lang.Object[] getFactoryParameters(org.testng.ITestResult result)
-
getFactoryMethodInvocationIndex
private static java.lang.Integer getFactoryMethodInvocationIndex(org.testng.ITestResult result)
-
appendInvocationIndex
static void appendInvocationIndex(java.lang.StringBuilder builder, java.lang.Integer invocationIndex)
-
appendParameterValues
static void appendParameterValues(java.lang.StringBuilder builder, java.lang.Object[] parameters)
-
reportsInvocations
private boolean reportsInvocations(org.testng.ITestNGMethod method)
-
getRetryAnalyzerClass
private java.lang.Class<?> getRetryAnalyzerClass(org.testng.ITestNGMethod method)
-
getDefaultRetryAnalyzer
private java.lang.Class<?> getDefaultRetryAnalyzer()
-
isDataDriven
private boolean isDataDriven(org.testng.ITestNGMethod method)
-
createInvocationDescriptor
InvocationDescriptor createInvocationDescriptor(MethodDescriptor parent, org.testng.ITestResult result, int invocationIndex)
-
createTag
private org.junit.platform.engine.TestTag createTag(java.lang.String value)
-
-