Package org.elasticsearch.test
Class ReadableMatchers.StringBytesRefMatcher
java.lang.Object
org.hamcrest.BaseMatcher<org.apache.lucene.util.BytesRef>
org.hamcrest.TypeSafeMatcher<org.apache.lucene.util.BytesRef>
org.elasticsearch.test.ReadableMatchers.StringBytesRefMatcher
- All Implemented Interfaces:
org.hamcrest.Matcher<org.apache.lucene.util.BytesRef>,org.hamcrest.SelfDescribing
- Enclosing class:
ReadableMatchers
public static class ReadableMatchers.StringBytesRefMatcher
extends org.hamcrest.TypeSafeMatcher<org.apache.lucene.util.BytesRef>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddescribeMismatchSafely(org.apache.lucene.util.BytesRef item, org.hamcrest.Description description) voiddescribeTo(org.hamcrest.Description description) protected booleanmatchesSafely(org.apache.lucene.util.BytesRef 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
-
StringBytesRefMatcher
-
-
Method Details
-
matchesSafely
protected boolean matchesSafely(org.apache.lucene.util.BytesRef item) - Specified by:
matchesSafelyin classorg.hamcrest.TypeSafeMatcher<org.apache.lucene.util.BytesRef>
-
describeMismatchSafely
public void describeMismatchSafely(org.apache.lucene.util.BytesRef item, org.hamcrest.Description description) - Overrides:
describeMismatchSafelyin classorg.hamcrest.TypeSafeMatcher<org.apache.lucene.util.BytesRef>
-
describeTo
public void describeTo(org.hamcrest.Description description)
-