Class StringEqualityViolation
- java.lang.Object
-
- de.hsh.graja.regression.report.Violation
-
- de.hsh.graja.regression.report.violations.CommentEqualityViolation
-
- de.hsh.graja.regression.report.violations.StringEqualityViolation
-
- All Implemented Interfaces:
Attachable
,Renderable
public class StringEqualityViolation extends CommentEqualityViolation
-
-
Constructor Summary
Constructors Constructor Description StringEqualityViolation(NodePath violatorPath, List<StackTraceElement> observedOrigin, String expected, String observed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getExpected()
String
getObserved()
ViolationCategory
getViolationType()
j2html.tags.ContainerTag<?>
render()
String
toString()
-
Methods inherited from class de.hsh.graja.regression.report.violations.CommentEqualityViolation
getObservedOrigin, getViolatorPath, renderWithDescriptionAndAttachments
-
Methods inherited from class de.hsh.graja.regression.report.Violation
allAttachments, attach, getIdentifier, setLocationContextIdentifier
-
-
-
-
Constructor Detail
-
StringEqualityViolation
public StringEqualityViolation(NodePath violatorPath, List<StackTraceElement> observedOrigin, String expected, String observed)
-
-
Method Detail
-
getExpected
public String getExpected()
-
getObserved
public String getObserved()
-
getViolationType
public ViolationCategory getViolationType()
- Specified by:
getViolationType
in classViolation
-
toString
public String toString()
- Overrides:
toString
in classCommentEqualityViolation
-
render
public j2html.tags.ContainerTag<?> render()
-
-