Class TestDescriptorUtils
- java.lang.Object
-
- org.antublue.test.engine.internal.TestDescriptorUtils
-
public final class TestDescriptorUtils extends Object
Class to contain TestDescriptor utility methods
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClassTestDescriptorcreateClassTestDescriptor(org.junit.platform.engine.UniqueId uniqueId, Class<?> clazz)Method to create a ClassTestDescriptorstatic MethodTestDescriptorcreateMethodTestDescriptor(org.junit.platform.engine.UniqueId uniqueId, Class<?> clazz, Parameter parameter, Method method)Method to create a MethodTestDescriptorstatic ParameterTestDescriptorcreateParameterTestDescriptor(org.junit.platform.engine.UniqueId uniqueId, Class<?> clazz, Parameter parameter)Method to create a ParameterTestDescriptorstatic voidtrace(org.junit.platform.engine.TestDescriptor testDescriptor)
-
-
-
Method Detail
-
createClassTestDescriptor
public static ClassTestDescriptor createClassTestDescriptor(org.junit.platform.engine.UniqueId uniqueId, Class<?> clazz)
Method to create a ClassTestDescriptor- Parameters:
uniqueId- uniqueIdclazz- clazz- Returns:
- the return value
-
createParameterTestDescriptor
public static ParameterTestDescriptor createParameterTestDescriptor(org.junit.platform.engine.UniqueId uniqueId, Class<?> clazz, Parameter parameter)
Method to create a ParameterTestDescriptor- Parameters:
uniqueId- uniqueIdclazz- clazzparameter- parameter- Returns:
- the return value
-
createMethodTestDescriptor
public static MethodTestDescriptor createMethodTestDescriptor(org.junit.platform.engine.UniqueId uniqueId, Class<?> clazz, Parameter parameter, Method method)
Method to create a MethodTestDescriptor- Parameters:
uniqueId- uniqueIdclazz- clazzparameter- parametermethod- method- Returns:
- the return value
-
trace
public static void trace(org.junit.platform.engine.TestDescriptor testDescriptor)
- Parameters:
testDescriptor- testDescriptor
-
-