{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
public final class PreferenceMatchers
A collection of hamcrest matchers that match Preferences.
Public constructors |
|
|---|---|
Public methods |
|
|---|---|
static Matcher<Preference> |
|
static Matcher<Preference> |
|
static Matcher<Preference> |
|
static Matcher<Preference> |
withSummary(int resourceId) |
static Matcher<Preference> |
withSummaryText(String summary) |
static Matcher<Preference> |
withSummaryText(Matcher<String> summaryMatcher) |
static Matcher<Preference> |
withTitle(int resourceId) |
static Matcher<Preference> |
withTitleText(String title) |
static Matcher<Preference> |
withTitleText(Matcher<String> titleMatcher) |