Class SmithyDiffTestCase.Result

  • Enclosing class:
    SmithyDiffTestCase

    public static final class SmithyDiffTestCase.Result
    extends java.lang.Object
    Output of diffing a model against a test case.
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getName

        public java.lang.String getName()
        Returns:
        Returns the name of the test case.
      • getUnmatchedEvents

        public java.util.Collection<ValidationEvent> getUnmatchedEvents()
        Returns:
        Returns the events that were expected but not encountered.
      • getExtraEvents

        public java.util.Collection<ValidationEvent> getExtraEvents()
        Returns:
        Returns the events that were encountered but not expected.
      • isInvalid

        public boolean isInvalid()
        Checks if the result does not match expected results.
        Returns:
        True if there are extra or unmatched events.