Home
last modified time | relevance | path

Searched refs:expectedIcon (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/
DSliceTester.java147 final IconCompat expectedIcon = IconCompat.createWithResource(context, in testSettingsSliderSlice() local
149 assertThat(expectedIcon.toString()).isEqualTo(primaryAction.getIcon().toString()); in testSettingsSliderSlice()
186 final IconCompat expectedIcon = IconCompat.createWithResource(context, in testSettingsCopyableSlice() local
188 assertThat(expectedIcon.toString()).isEqualTo(primaryAction.getIcon().toString()); in testSettingsCopyableSlice()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DKeySpecParserTests.java30 final String expectedLabel, final String expectedOutputText, final int expectedIcon, in assertParser() argument
40 KeyboardIconsSet.getIconName(expectedIcon), in assertParser()
DKeySpecParserTestsBase.java57 final String expectedLabel, final String expectedOutputText, final int expectedIcon, in assertParser() argument
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/deviceinfo/
DStorageSliceTest.java74 final IconCompat expectedIcon = IconCompat.createWithResource(mContext, in getSlice_shouldBeCorrectSliceContent() local
76 assertThat(primaryAction.getIcon().toString()).isEqualTo(expectedIcon.toString()); in getSlice_shouldBeCorrectSliceContent()
DDeviceInfoSliceTest.java80 final IconCompat expectedIcon = IconCompat.createWithResource(mContext, in getSlice_hasSubscriptionInfo_shouldBeCorrectSliceContent() local
82 assertThat(primaryAction.getIcon().toString()).isEqualTo(expectedIcon.toString()); in getSlice_hasSubscriptionInfo_shouldBeCorrectSliceContent()
DDataUsageSliceTest.java93 final IconCompat expectedIcon = IconCompat.createWithResource(mContext, in getSlice_hasSim_shouldBeCorrectSliceContent() local
95 assertThat(primaryAction.getIcon().toString()).isEqualTo(expectedIcon.toString()); in getSlice_hasSim_shouldBeCorrectSliceContent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/slice/
DWifiSliceTest.java241 final IconCompat expectedIcon = IconCompat.createWithResource(mContext, in getWifiSlice_isCaptivePortal_shouldHaveCaptivePortalItems() local
248 SliceTester.assertAnySliceItemContainsIcon(sliceItems, expectedIcon); in getWifiSlice_isCaptivePortal_shouldHaveCaptivePortalItems()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details/
DWifiDetailPreferenceControllerTest.java481 Drawable expectedIcon = mockIconInjector.getIcon(LEVEL); in entityHeader_shouldHaveIconSetForConnectedNetwork() local
485 verify(mockHeaderController).setIcon(expectedIcon); in entityHeader_shouldHaveIconSetForConnectedNetwork()
491 Drawable expectedIcon = mockIconInjector.getIcon(LEVEL); in entityHeader_shouldHaveIconSetForDisconnectedNetwork() local
495 verify(mockHeaderController).setIcon(expectedIcon); in entityHeader_shouldHaveIconSetForDisconnectedNetwork()