com.atlassian.confluence.api.testsupport.matchers.model.content
Class DateContentMatcher
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<Content>
com.atlassian.confluence.api.testsupport.matchers.model.content.DateContentMatcher
- All Implemented Interfaces:
- org.hamcrest.Matcher<Content>, org.hamcrest.SelfDescribing
public abstract class DateContentMatcher
- extends org.hamcrest.TypeSafeMatcher<Content>
- See Also:
ContentMatchers
Methods inherited from class org.hamcrest.TypeSafeMatcher |
describeMismatch, matches |
Methods inherited from class org.hamcrest.BaseMatcher |
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString |
DateContentMatcher
public DateContentMatcher(org.joda.time.DateTime dateTime,
DateContentMatcher.Direction direction,
String fieldName)
matchesSafely
protected boolean matchesSafely(Content content)
- Specified by:
matchesSafely
in class org.hamcrest.TypeSafeMatcher<Content>
getDateTimeForContent
protected abstract org.joda.time.DateTime getDateTimeForContent(Content content)
describeTo
public void describeTo(org.hamcrest.Description description)
describeMismatchSafely
protected void describeMismatchSafely(Content item,
org.hamcrest.Description mismatchDescription)
- Overrides:
describeMismatchSafely
in class org.hamcrest.TypeSafeMatcher<Content>
Copyright © 2003–2015 Atlassian. All rights reserved.