{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
class PreferenceMatchers
A collection of hamcrest matchers that match Preferences.
Public constructors |
|
|---|---|
Public functions |
|
|---|---|
java-static Matcher<Preference>! |
|
java-static Matcher<Preference>! |
|
java-static Matcher<Preference>! |
withKey(keyMatcher: Matcher<String>!) |
java-static Matcher<Preference>! |
withSummary(resourceId: Int) |
java-static Matcher<Preference>! |
withSummaryText(summary: String!) |
java-static Matcher<Preference>! |
withSummaryText(summaryMatcher: Matcher<String>!) |
java-static Matcher<Preference>! |
|
java-static Matcher<Preference>! |
withTitleText(title: String!) |
java-static Matcher<Preference>! |
withTitleText(titleMatcher: Matcher<String>!) |
java-static fun withSummaryText(summaryMatcher: Matcher<String>!): Matcher<Preference>!