public static final class SmithyTestCase.Result
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.util.Collection<ValidationEvent> |
getExtraEvents() |
java.lang.String |
getModelLocation() |
java.util.Collection<ValidationEvent> |
getUnmatchedEvents() |
boolean |
isInvalid()
Checks if the result does not match expected results.
|
java.lang.String |
toString() |
SmithyTestCase.Result |
unwrap()
Throws an exception if the result is invalid, otherwise returns the result.
|
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isInvalid()
public java.lang.String getModelLocation()
public java.util.Collection<ValidationEvent> getUnmatchedEvents()
public java.util.Collection<ValidationEvent> getExtraEvents()
public SmithyTestCase.Result unwrap()
java.lang.Error
- if the result contains invalid events.