PreferenceMatchers


class PreferenceMatchers


A collection of hamcrest matchers that match Preferences.

Summary

Public functions

java-static Matcher<Preference!>!
java-static Matcher<Preference!>!
withKey(key: String!)
java-static Matcher<Preference!>!
withKey(keyMatcher: Matcher<String!>!)
java-static Matcher<Preference!>!
withSummary(resourceId: Int)
java-static Matcher<Preference!>!
java-static Matcher<Preference!>!
withSummaryText(summaryMatcher: Matcher<String!>!)
java-static Matcher<Preference!>!
withTitle(resourceId: Int)
java-static Matcher<Preference!>!
java-static Matcher<Preference!>!
withTitleText(titleMatcher: Matcher<String!>!)

Public functions

isEnabled

java-static fun isEnabled(): Matcher<Preference!>!

withKey

java-static fun withKey(key: String!): Matcher<Preference!>!

withKey

java-static fun withKey(keyMatcher: Matcher<String!>!): Matcher<Preference!>!

withSummary

java-static fun withSummary(resourceId: Int): Matcher<Preference!>!

withSummaryText

java-static fun withSummaryText(summary: String!): Matcher<Preference!>!

withSummaryText

java-static fun withSummaryText(summaryMatcher: Matcher<String!>!): Matcher<Preference!>!

withTitle

java-static fun withTitle(resourceId: Int): Matcher<Preference!>!

withTitleText

java-static fun withTitleText(title: String!): Matcher<Preference!>!

withTitleText

java-static fun withTitleText(titleMatcher: Matcher<String!>!): Matcher<Preference!>!