public static enum Messages.TestStepFinished.TestStepResult.Status extends Enum<Messages.TestStepFinished.TestStepResult.Status> implements com.google.protobuf.ProtocolMessageEnum
Status of a `TestStep`. The ordinal values of statuses are significant. The status of a TestCase is computed by picking the status with the highest value for all of its steps. For example, if a TestCase has steps with statuses passed, undefined and skipped, then the pickle's status is undefined.Protobuf enum
io.cucumber.messages.TestStepFinished.TestStepResult.Status| Enum Constant and Description |
|---|
AMBIGUOUS
The step matched two or more step definitions.
|
FAILED
The step matched one step definition and failed execution.
|
PASSED
The step matched one step definition and passed execution.
|
PENDING
The step matched one step definition and signalled pending during execution.
|
SKIPPED
The step matched one step definition but was not executed because the
previous step was not PASSED.
|
UNDEFINED
The step matched no step definitions.
|
UNKNOWN
The step hasn't been matched or executed.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
AMBIGUOUS_VALUE
The step matched two or more step definitions.
|
static int |
FAILED_VALUE
The step matched one step definition and failed execution.
|
static int |
PASSED_VALUE
The step matched one step definition and passed execution.
|
static int |
PENDING_VALUE
The step matched one step definition and signalled pending during execution.
|
static int |
SKIPPED_VALUE
The step matched one step definition but was not executed because the
previous step was not PASSED.
|
static int |
UNDEFINED_VALUE
The step matched no step definitions.
|
static int |
UNKNOWN_VALUE
The step hasn't been matched or executed.
|
| Modifier and Type | Method and Description |
|---|---|
static Messages.TestStepFinished.TestStepResult.Status |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Messages.TestStepFinished.TestStepResult.Status> |
internalGetValueMap() |
static Messages.TestStepFinished.TestStepResult.Status |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Messages.TestStepFinished.TestStepResult.Status |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Messages.TestStepFinished.TestStepResult.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Messages.TestStepFinished.TestStepResult.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Messages.TestStepFinished.TestStepResult.Status UNKNOWN
The step hasn't been matched or executed.
UNKNOWN = 0;public static final Messages.TestStepFinished.TestStepResult.Status PASSED
The step matched one step definition and passed execution.
PASSED = 1;public static final Messages.TestStepFinished.TestStepResult.Status SKIPPED
The step matched one step definition but was not executed because the previous step was not PASSED.
SKIPPED = 2;public static final Messages.TestStepFinished.TestStepResult.Status PENDING
The step matched one step definition and signalled pending during execution. This is the default behaviour of generated step definitions, which either throw a special PendingException, or return a special value indicating that it's pending. How to signal the pending status depends on the Cucumber implementation.
PENDING = 3;public static final Messages.TestStepFinished.TestStepResult.Status UNDEFINED
The step matched no step definitions.
UNDEFINED = 4;public static final Messages.TestStepFinished.TestStepResult.Status AMBIGUOUS
The step matched two or more step definitions.
AMBIGUOUS = 5;public static final Messages.TestStepFinished.TestStepResult.Status FAILED
The step matched one step definition and failed execution.
FAILED = 6;public static final Messages.TestStepFinished.TestStepResult.Status UNRECOGNIZED
public static final int UNKNOWN_VALUE
The step hasn't been matched or executed.
UNKNOWN = 0;public static final int PASSED_VALUE
The step matched one step definition and passed execution.
PASSED = 1;public static final int SKIPPED_VALUE
The step matched one step definition but was not executed because the previous step was not PASSED.
SKIPPED = 2;public static final int PENDING_VALUE
The step matched one step definition and signalled pending during execution. This is the default behaviour of generated step definitions, which either throw a special PendingException, or return a special value indicating that it's pending. How to signal the pending status depends on the Cucumber implementation.
PENDING = 3;public static final int UNDEFINED_VALUE
The step matched no step definitions.
UNDEFINED = 4;public static final int AMBIGUOUS_VALUE
The step matched two or more step definitions.
AMBIGUOUS = 5;public static final int FAILED_VALUE
The step matched one step definition and failed execution.
FAILED = 6;public static Messages.TestStepFinished.TestStepResult.Status[] values()
for (Messages.TestStepFinished.TestStepResult.Status c : Messages.TestStepFinished.TestStepResult.Status.values()) System.out.println(c);
public static Messages.TestStepFinished.TestStepResult.Status valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Messages.TestStepFinished.TestStepResult.Status valueOf(int value)
forNumber(int) instead.public static Messages.TestStepFinished.TestStepResult.Status forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Messages.TestStepFinished.TestStepResult.Status> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Messages.TestStepFinished.TestStepResult.Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2020. All rights reserved.