AppCompatBaseViewTest
Base class for testing custom view extensions in appcompat-v7 that implement the TintableBackgroundView
interface. Extensions of this class run all tests from here and add test cases specific to the functionality they add to the relevant base view class (such as AppCompatTextView
's all-caps support).
Functions
Link copied to clipboard
This method tests that opaque background tinting applied to tintable view is applied correctly after changing the background itself of the view.
Link copied to clipboard
This method tests that background tinting applied to tintable view in enabled and disabled state across the same background respects the currently set background tinting mode.
Link copied to clipboard
This method tests that background tinting is applied to tintable view in enabled and disabled state across a number of
ColorStateList
s set as background tint lists on the same background.Link copied to clipboard
This method tests that background tinting applied to tintable view in enabled and disabled state across the same background respects the currently set background tinting mode.
Link copied to clipboard
This method tests that background tinting is applied to tintable view in enabled and disabled state across a number of
ColorStateList
s set as background tint lists on the same background.Link copied to clipboard
This method tests that background tinting is not applied when the tintable view has no background.
Link copied to clipboard
This method tests that background tinting is not applied when the tintable view has no background.
Link copied to clipboard
This method tests that translucent background tinting applied to tintable view is applied correctly after changing the background itself of the view.