Package io.github.crizzis.codenarc.util
Class CodeNarcResultsMatcher
- java.lang.Object
-
- org.hamcrest.BaseMatcher<org.codenarc.results.Results>
-
- io.github.crizzis.codenarc.util.CodeNarcResultsMatcher
-
- All Implemented Interfaces:
org.hamcrest.Matcher<org.codenarc.results.Results>,org.hamcrest.SelfDescribing
public class CodeNarcResultsMatcher extends org.hamcrest.BaseMatcher<org.codenarc.results.Results>
-
-
Constructor Summary
Constructors Constructor Description CodeNarcResultsMatcher()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddescribeMismatch(Object item, org.hamcrest.Description description)voiddescribeTo(org.hamcrest.Description description)static CodeNarcResultsMatcherequalToResults(org.codenarc.results.Results expected)booleanmatches(Object actual)
-
-
-
Method Detail
-
equalToResults
public static CodeNarcResultsMatcher equalToResults(org.codenarc.results.Results expected)
-
matches
public boolean matches(Object actual)
-
describeTo
public void describeTo(org.hamcrest.Description description)
-
describeMismatch
public void describeMismatch(Object item, org.hamcrest.Description description)
- Specified by:
describeMismatchin interfaceorg.hamcrest.Matcher<org.codenarc.results.Results>- Overrides:
describeMismatchin classorg.hamcrest.BaseMatcher<org.codenarc.results.Results>
-
-