com.atlassian.jira.functest.matcher
Class DocumentMatcher
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<InputStream>
com.atlassian.jira.functest.matcher.DocumentMatcher
- All Implemented Interfaces:
- org.hamcrest.Matcher<InputStream>, org.hamcrest.SelfDescribing
- Direct Known Subclasses:
- BuildNumberMatcher, ConditionClassMatcher
public abstract class DocumentMatcher
- extends org.hamcrest.TypeSafeMatcher<InputStream>
Template class for matchers that work on DOM documents.
- Since:
- v5.0
Methods inherited from class org.hamcrest.TypeSafeMatcher |
describeMismatch, describeMismatchSafely, matches |
Methods inherited from class org.hamcrest.BaseMatcher |
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString |
Methods inherited from interface org.hamcrest.SelfDescribing |
describeTo |
DocumentMatcher
public DocumentMatcher()
matchesSafely
public final boolean matchesSafely(InputStream inputStream)
- Specified by:
matchesSafely
in class org.hamcrest.TypeSafeMatcher<InputStream>
matchesDocument
protected abstract boolean matchesDocument(@Nullable
Document document)
throws Exception
- Throws:
Exception
Copyright © 2002-2014 Atlassian. All Rights Reserved.