Class ActionAssertionError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Error
-
- java.lang.AssertionError
-
- junit.framework.AssertionFailedError
-
- junit.framework.ComparisonFailure
-
- ch.puzzle.libpuzzle.springframework.boot.rest.test.actionmatcher.base.exception.ActionAssertionError
-
- All Implemented Interfaces:
java.io.Serializable
public class ActionAssertionError extends junit.framework.ComparisonFailure- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ActionAssertionErrormissingActionExecution()static ActionAssertionErrormissingActionExecution(int stackTraceLevelsToRemove)voidprintStackTrace(java.io.PrintWriter s)Prints the stack trace using the given PrintWriter.static ActionAssertionErrorwrongActionParams(junit.framework.ComparisonFailure error)static ActionAssertionErrorwrongActionParams(junit.framework.ComparisonFailure error, int stackTraceLevelsToRemove)
-
-
-
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:
printStackTracein classjava.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()
-
missingActionExecution
public static ActionAssertionError missingActionExecution(int stackTraceLevelsToRemove)
-
-