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.CommentAssertionError
-
- de.hsh.graja.modules.junit.api.DiffHelper.DiffAssertionError
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- DiffHelper
public static class DiffHelper.DiffAssertionError extends CommentAssertionError
This error is thrown, whenDiffHelper.DiffProcessor
detects a difference. It holds aDiffComment
object for the diff synopsis comment.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
countDifferentLines()
DiffComment
getComment()
-
Methods inherited from class de.hsh.graja.modules.junit.api.CommentAssertionError
addComment, getComments, getTestScore, prependComment, setTestScore
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
countDifferentLines
public int countDifferentLines()
- Returns:
- the number of differing lines
-
getComment
public DiffComment getComment()
- Returns:
- the comment with a diff synposis.
-
-