gherkin.formatter.model
Class Result
java.lang.Object
gherkin.formatter.Mappable
gherkin.formatter.model.Result
public class Result
- extends Mappable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SKIPPED
public static final Result SKIPPED
UNDEFINED
public static final Result UNDEFINED
PASSED
public static final String PASSED
- See Also:
- Constant Field Values
FAILED
public static final String FAILED
- See Also:
- Constant Field Values
Result
public Result(String status,
Long duration,
Throwable error,
Object dummy)
- Used at runtime
- Parameters:
status
- duration
- error
- dummy
- only used to distinguish the constructor when used from JRuby (and null for error).
Result
public Result(String status,
Long duration,
String errorMessage)
- Used when parsing JSON. TODO: constructing an Exception instance when parsing JSON might be better.
- Parameters:
status
- duration
- errorMessage
-
getStatus
public String getStatus()
getDuration
public Long getDuration()
getErrorMessage
public String getErrorMessage()
getError
public Throwable getError()
replay
public void replay(Reporter reporter)
Copyright © 2012. All Rights Reserved.