Home
last modified time | relevance | path

Searched refs:SliceTester (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/slice/
DWifiSliceTest.java51 import com.android.settings.testutils.SliceTester;
136 SliceTester.assertAnySliceItemContainsSubtitle(sliceItems, in getWifiSlice_noAp_shouldReturnLoadingRow()
171 SliceTester.assertAnySliceItemContainsTitle(sliceItems, AP1_NAME); in getWifiSlice_noReachableAp_shouldReturnLoadingRow()
172 SliceTester.assertAnySliceItemContainsTitle(sliceItems, AP2_NAME); in getWifiSlice_noReachableAp_shouldReturnLoadingRow()
174 SliceTester.assertAnySliceItemContainsSubtitle(sliceItems, in getWifiSlice_noReachableAp_shouldReturnLoadingRow()
185 SliceTester.assertAnySliceItemContainsTitle(sliceItems, AP1_NAME); in getWifiSlice_oneActiveAp_shouldReturnLoadingRow()
187 SliceTester.assertAnySliceItemContainsSubtitle(sliceItems, in getWifiSlice_oneActiveAp_shouldReturnLoadingRow()
200 SliceTester.assertAnySliceItemContainsTitle(sliceItems, AP1_NAME); in getWifiSlice_oneActiveApAndOneUnreachableAp_shouldReturnLoadingRow()
201 SliceTester.assertAnySliceItemContainsTitle(sliceItems, AP2_NAME); in getWifiSlice_oneActiveApAndOneUnreachableAp_shouldReturnLoadingRow()
203 SliceTester.assertAnySliceItemContainsSubtitle(sliceItems, in getWifiSlice_oneActiveApAndOneUnreachableAp_shouldReturnLoadingRow()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/deviceinfo/
DDeviceInfoSliceTest.java36 import com.android.settings.testutils.SliceTester;
85 SliceTester.assertAnySliceItemContainsTitle(sliceItems, phoneNumber); in getSlice_hasSubscriptionInfo_shouldBeCorrectSliceContent()
96 SliceTester.assertAnySliceItemContainsTitle(sliceItems, in getSlice_hasNoSubscriptionInfo_shouldShowUnknown()
DDataUsageSliceTest.java37 import com.android.settings.testutils.SliceTester;
109 SliceTester.assertAnySliceItemContainsTitle(sliceItems, in getSlice_hasNoSim_shouldShowNoSimCard()
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSliceBuilderUtilsTest.java50 import com.android.settings.testutils.SliceTester;
94 SliceTester.testSettingsIntentSlice(mContext, slice, sliceData); in buildIntentSlice_returnsMatchingSlice()
108 SliceTester.testSettingsToggleSlice(mContext, slice, dummyData); in buildToggleSlice_returnsMatchingSlice()
122 SliceTester.testSettingsSliderSlice(mContext, slice, data); in buildSliderSlice_returnsMatchingSlice()
136 SliceTester.testSettingsCopyableSlice(mContext, slice, dummyData); in buildCopyableSlice_returnsMatchingSlice()
380 SliceTester.testSettingsUnavailableSlice(mContext, slice, data); in testDisabledDependentSettingSlice_validTitleSummary()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/
DBluetoothDevicesSliceTest.java44 import com.android.settings.testutils.SliceTester;
122 SliceTester.assertAnySliceItemContainsTitle(sliceItems, BLUETOOTH_MOCK_TITLE); in getSlice_hasBluetoothDevices_shouldMatchBluetoothMockTitle()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/
DSliceTester.java55 public class SliceTester { class