CursorMatchers.CursorMatcher
public
static
class
CursorMatchers.CursorMatcher
extends BoundedMatcher<Object, Cursor>
A Matcher
that matches Cursor
s based on values in their columns.
Summary
Inherited methods |
From
class
android.support.test.espresso.matcher.BoundedMatcher
|
From
class
org.hamcrest.BaseMatcher
final
void
|
_dont_implement_Matcher___instead_extend_BaseMatcher_()
|
void
|
describeMismatch(Object arg0, Description arg1)
|
String
|
toString()
|
|
From
class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From
interface
org.hamcrest.Matcher
abstract
void
|
_dont_implement_Matcher___instead_extend_BaseMatcher_()
|
abstract
void
|
describeMismatch(Object arg0, Description arg1)
|
abstract
boolean
|
matches(Object arg0)
|
|
From
interface
org.hamcrest.SelfDescribing
abstract
void
|
describeTo(Description arg0)
|
|
Public methods
describeTo
void describeTo (Description description)
Parameters |
description |
Description
|
matchesSafely
boolean matchesSafely (Cursor cursor)
withStrictColumnChecks
CursorMatchers.CursorMatcher withStrictColumnChecks (boolean checkColumns)
Allows test authors to override whether the the matcher should throw an
IllegalArgumentException
if the column name/count is not valid. This is useful in the
case where a cursor may iterates over a data set with variable columns. By default, the
checks are on.
Parameters |
checkColumns |
boolean
|