Class DiffMatcher
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<org.apache.commons.lang3.builder.Diff>
com.atlassian.crowd.test.matchers.DiffMatcher
- All Implemented Interfaces:
org.hamcrest.Matcher<org.apache.commons.lang3.builder.Diff>
,org.hamcrest.SelfDescribing
public class DiffMatcher
extends org.hamcrest.TypeSafeMatcher<org.apache.commons.lang3.builder.Diff>
-
Constructor Summary
ConstructorsConstructorDescriptionDiffMatcher
(String fieldName, org.hamcrest.Matcher<?> oldValue, org.hamcrest.Matcher<?> newValue) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
describeMismatchSafely
(org.apache.commons.lang3.builder.Diff item, org.hamcrest.Description mismatchDescription) void
describeTo
(org.hamcrest.Description description) static DiffMatcher
protected boolean
matchesSafely
(org.apache.commons.lang3.builder.Diff item) Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, matches
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull, toString
-
Constructor Details
-
DiffMatcher
public DiffMatcher(String fieldName, org.hamcrest.Matcher<?> oldValue, org.hamcrest.Matcher<?> newValue)
-
-
Method Details
-
matchesSafely
protected boolean matchesSafely(org.apache.commons.lang3.builder.Diff item) - Specified by:
matchesSafely
in classorg.hamcrest.TypeSafeMatcher<org.apache.commons.lang3.builder.Diff>
-
describeTo
public void describeTo(org.hamcrest.Description description) -
describeMismatchSafely
protected void describeMismatchSafely(org.apache.commons.lang3.builder.Diff item, org.hamcrest.Description mismatchDescription) - Overrides:
describeMismatchSafely
in classorg.hamcrest.TypeSafeMatcher<org.apache.commons.lang3.builder.Diff>
-
diff
public static DiffMatcher diff(String fieldName, org.hamcrest.Matcher<?> oldValue, org.hamcrest.Matcher<?> newValue)
-