public class Utils
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.util.function.Function<java.util.List<io.cucumber.plugin.event.Argument>,java.util.List<?>> |
ARGUMENTS_TRANSFORM |
static java.util.Map<io.cucumber.plugin.event.Status,java.lang.String> |
LOG_LEVEL_MAPPING |
static java.util.Map<io.cucumber.plugin.event.Status,com.epam.reportportal.listeners.ItemStatus> |
STATUS_MAPPING |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
buildName(java.lang.String prefix,
java.lang.String infix,
java.lang.String argument)
Generate name representation
|
static java.lang.reflect.Field |
getDefinitionMatchField(io.cucumber.plugin.event.TestStep testStep) |
static java.lang.reflect.Method |
retrieveMethod(java.lang.reflect.Field definitionMatchField,
io.cucumber.plugin.event.TestStep testStep) |
public static final java.util.Map<io.cucumber.plugin.event.Status,com.epam.reportportal.listeners.ItemStatus> STATUS_MAPPING
public static final java.util.Map<io.cucumber.plugin.event.Status,java.lang.String> LOG_LEVEL_MAPPING
public static final java.util.function.Function<java.util.List<io.cucumber.plugin.event.Argument>,java.util.List<?>> ARGUMENTS_TRANSFORM
public static java.lang.String buildName(java.lang.String prefix,
java.lang.String infix,
java.lang.String argument)
prefix - - substring to be prepended at the beginning (optional)infix - - substring to be inserted between keyword and nameargument - - main text to processpublic static java.lang.reflect.Method retrieveMethod(java.lang.reflect.Field definitionMatchField,
io.cucumber.plugin.event.TestStep testStep)
throws java.lang.IllegalAccessException,
java.lang.NoSuchFieldException
java.lang.IllegalAccessExceptionjava.lang.NoSuchFieldExceptionpublic static java.lang.reflect.Field getDefinitionMatchField(io.cucumber.plugin.event.TestStep testStep)