public static enum Messages.TestResult.Status extends Enum<Messages.TestResult.Status> implements com.google.protobuf.ProtocolMessageEnum
Status of a step. Can also represent status of a Pickle (aggregated from the status of its steps). The ordinal values of statuses are significant. The status of a Pickle is determined by the union of statuses of its steps. The status of the Pickle is the status with the highest ordinal in the enum. For example, if a pickle has steps with statuses passed, undefined and skipped, then the pickle's status us undefined.Protobuf enum
io.cucumber.messages.TestResult.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
|
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
|
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.TestResult.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.TestResult.Status> |
internalGetValueMap() |
static Messages.TestResult.Status |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Messages.TestResult.Status |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Messages.TestResult.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Messages.TestResult.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Messages.TestResult.Status UNKNOWN
The step hasn't been matched or executed
UNKNOWN = 0;public static final Messages.TestResult.Status PASSED
The step matched one step definition and passed execution
PASSED = 1;public static final Messages.TestResult.Status SKIPPED
The step matched one step definition but was not executed
SKIPPED = 2;public static final Messages.TestResult.Status PENDING
The step matched one step definition and signalled pending during execution
PENDING = 3;public static final Messages.TestResult.Status UNDEFINED
The step matched no step definitions
UNDEFINED = 4;public static final Messages.TestResult.Status AMBIGUOUS
The step matched two or more step definitions
AMBIGUOUS = 5;public static final Messages.TestResult.Status FAILED
The step matched one step definition and failed execution
FAILED = 6;public static final Messages.TestResult.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
SKIPPED = 2;public static final int PENDING_VALUE
The step matched one step definition and signalled pending during execution
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.TestResult.Status[] values()
for (Messages.TestResult.Status c : Messages.TestResult.Status.values()) System.out.println(c);
public static Messages.TestResult.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.TestResult.Status valueOf(int value)
forNumber(int) instead.public static Messages.TestResult.Status forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Messages.TestResult.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.TestResult.Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019. All rights reserved.