Class ActionAssertionError

  • All Implemented Interfaces:
    java.io.Serializable

    public class ActionAssertionError
    extends junit.framework.ComparisonFailure
    See Also:
    Serialized Form
    • Method Detail

      • printStackTrace

        public void printStackTrace​(java.io.PrintWriter s)
        Prints the stack trace using the given PrintWriter.

        Ensures that all internal method calls are removed from the stack trace so that the first element references to the method call in the test class.

        Overrides:
        printStackTrace in class java.lang.Throwable
        Parameters:
        s - PrintWriter to print the stack trace using.
      • wrongActionParams

        public static ActionAssertionError wrongActionParams​(junit.framework.ComparisonFailure error)
      • wrongActionParams

        public static ActionAssertionError wrongActionParams​(junit.framework.ComparisonFailure error,
                                                             int stackTraceLevelsToRemove)
      • missingActionExecution

        public static ActionAssertionError missingActionExecution​(int stackTraceLevelsToRemove)