Search in sources :

Example 11 with EqualsVerifierReport

use of nl.jqno.equalsverifier.EqualsVerifierReport in project checkstyle by checkstyle.

the class IntRangeFilterElementTest method testEqualsAndHashCode.

@Test
public void testEqualsAndHashCode() {
    final EqualsVerifierReport ev = EqualsVerifier.forClass(IntRangeFilterElement.class).usingGetClass().report();
    assertWithMessage("Error: " + ev.getMessage()).that(ev.isSuccessful()).isTrue();
}
Also used : EqualsVerifierReport(nl.jqno.equalsverifier.EqualsVerifierReport) Test(org.junit.jupiter.api.Test)

Aggregations

EqualsVerifierReport (nl.jqno.equalsverifier.EqualsVerifierReport)11 Test (org.junit.jupiter.api.Test)11 TreeWalkerTest (com.puppycrawl.tools.checkstyle.TreeWalkerTest)1 XPathEvaluator (net.sf.saxon.sxpath.XPathEvaluator)1 XPathExpression (net.sf.saxon.sxpath.XPathExpression)1