Enum Messages.TestStepFinished.TestStepResult.Status

    • Field Detail

      • UNKNOWN_VALUE

        public static final int UNKNOWN_VALUE
         The step hasn't been matched or executed.
         
        UNKNOWN = 0;
        See Also:
        Constant Field Values
      • PASSED_VALUE

        public static final int PASSED_VALUE
         The step matched one step definition and passed execution.
         
        PASSED = 1;
        See Also:
        Constant Field Values
      • SKIPPED_VALUE

        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;
        See Also:
        Constant Field Values
      • PENDING_VALUE

        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;
        See Also:
        Constant Field Values
      • UNDEFINED_VALUE

        public static final int UNDEFINED_VALUE
         The step matched no step definitions.
         
        UNDEFINED = 4;
        See Also:
        Constant Field Values
      • AMBIGUOUS_VALUE

        public static final int AMBIGUOUS_VALUE
         The step matched two or more step definitions.
         
        AMBIGUOUS = 5;
        See Also:
        Constant Field Values
      • FAILED_VALUE

        public static final int FAILED_VALUE
         The step matched one step definition and failed execution.
         
        FAILED = 6;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static Messages.TestStepFinished.TestStepResult.Status[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Messages.TestStepFinished.TestStepResult.Status c : Messages.TestStepFinished.TestStepResult.Status.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Messages.TestStepFinished.TestStepResult.Status valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.google.protobuf.ProtocolMessageEnum
      • valueOf

        @Deprecated
        public static Messages.TestStepFinished.TestStepResult.Status valueOf​(int value)
        Deprecated.
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        value - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptor

        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
      • valueOf

        public static Messages.TestStepFinished.TestStepResult.Status valueOf​(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        desc - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null