AppCompatMenuItemIconTintingTest

Test icon tinting in MenuItems

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open var mActivityTestRule: ActivityTestRule<AppCompatMenuItemIconTintingTestActivity>

Functions

Link copied to clipboard
open fun setup()
Link copied to clipboard
This method tests that opaque icon tinting is applied correctly after changing the icon itself of the menu item.
Link copied to clipboard
open fun testIconTinting()
Link copied to clipboard
This method tests that icon tinting is applied across a number of ColorStateLists set as icon tint lists on the same menu item.
Link copied to clipboard
This method tests that icon tinting is not applied when the menu item has no icon.
This method tests that translucent icon tinting is applied correctly after changing the icon itself of the menu item.