Package de.hsh.graja.modules.junit.api
Class DiffHelper.DiffAssertionError
java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.AssertionError
de.hsh.graja.modules.junit.api.PositionAssertionError
de.hsh.graja.modules.junit.api.CommentAssertionError
de.hsh.graja.modules.junit.api.DiffHelper.DiffAssertionError
- All Implemented Interfaces:
Serializable
- Enclosing class:
- DiffHelper
This error is thrown, when
DiffHelper.DiffProcessor
detects
a difference. It holds a DiffComment
object for the diff synopsis comment.- See Also:
-
Method Summary
Methods inherited from class de.hsh.graja.modules.junit.api.CommentAssertionError
addComment, getComments, getTestScore, prependComment, setTestScore, withPos
Methods inherited from class de.hsh.graja.modules.junit.api.PositionAssertionError
getPos, setPos
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
countDifferentLines
public int countDifferentLines()- Returns:
- the number of differing lines
-
getComment
- Returns:
- the comment with a diff synposis.
-