Class DiffMatcher
java.lang.Object
org.hamcrest.BaseMatcher<org.apache.commons.lang3.builder.Diff>
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 voiddescribeMismatchSafely(org.apache.commons.lang3.builder.Diff item, org.hamcrest.Description mismatchDescription) voiddescribeTo(org.hamcrest.Description description) static DiffMatcherprotected booleanmatchesSafely(org.apache.commons.lang3.builder.Diff item) Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, matchesMethods 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:
matchesSafelyin 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:
describeMismatchSafelyin classorg.hamcrest.TypeSafeMatcher<org.apache.commons.lang3.builder.Diff>
-
diff
public static DiffMatcher diff(String fieldName, org.hamcrest.Matcher<?> oldValue, org.hamcrest.Matcher<?> newValue)
-