Class ClassEqualityViolation
- java.lang.Object
-
- de.hsh.graja.regression.report.Violation
-
- de.hsh.graja.regression.report.violations.CommentEqualityViolation
-
- de.hsh.graja.regression.report.violations.ClassEqualityViolation
-
- All Implemented Interfaces:
Attachable
,Renderable
public class ClassEqualityViolation extends CommentEqualityViolation
-
-
Constructor Summary
Constructors Constructor Description ClassEqualityViolation(NodePath violatorPath, List<StackTraceElement> observedOrigin, String expectedClass, String observedClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getExpectedClass()
String
getObservedClass()
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
-
ClassEqualityViolation
public ClassEqualityViolation(NodePath violatorPath, List<StackTraceElement> observedOrigin, String expectedClass, String observedClass)
-
-
Method Detail
-
getExpectedClass
public String getExpectedClass()
-
getObservedClass
public String getObservedClass()
-
getViolationType
public ViolationCategory getViolationType()
- Specified by:
getViolationType
in classViolation
-
toString
public String toString()
- Overrides:
toString
in classCommentEqualityViolation
-
render
public j2html.tags.ContainerTag<?> render()
-
-