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

    Constructors
    Constructor
    Description
    DiffMatcher(String fieldName, org.hamcrest.Matcher<?> oldValue, org.hamcrest.Matcher<?> newValue)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    describeMismatchSafely(org.apache.commons.lang3.builder.Diff item, org.hamcrest.Description mismatchDescription)
     
    void
    describeTo(org.hamcrest.Description description)
     
    diff(String fieldName, org.hamcrest.Matcher<?> oldValue, org.hamcrest.Matcher<?> newValue)
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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 class org.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 class org.hamcrest.TypeSafeMatcher<org.apache.commons.lang3.builder.Diff>
    • diff

      public static DiffMatcher diff(String fieldName, org.hamcrest.Matcher<?> oldValue, org.hamcrest.Matcher<?> newValue)