Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/datausage/
DDataUsageEditTextPreferenceTest.java37 private static final String TEST_TEXT = "TEST_TEXT"; field in DataUsageEditTextPreferenceTest
60 mDataUsageEditTextPreference.setText(TEST_TEXT); in onBindViewHolder_setText_displaysText()
63 assertThat(mDataUsageEditTextPreference.getText()).isEqualTo(TEST_TEXT); in onBindViewHolder_setText_displaysText()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/
DBluetoothMapSmsPduTest.java50 private static final String TEST_TEXT = "test"; field in BluetoothMapSmsPduTest
73 int[] ted = SmsMessage.calculateLength((CharSequence) TEST_TEXT, false); in setUp()
77 SmsMessage.getSubmitPdu(null, TEST_DESTINATION_ADDRESS, TEST_TEXT, false) in setUp()
139 ArrayList<SmsPdu> pdus = BluetoothMapSmsPdu.getSubmitPdus(mTargetContext, TEST_TEXT, null); in getSubmitPdus_withTypeCDMA()
166 mTargetContext, TEST_TEXT, TEST_DESTINATION_ADDRESS, TEST_DATE); in getDeliverPdus_withTypeGSM()
195 mTargetContext, TEST_TEXT, TEST_DESTINATION_ADDRESS, TEST_DATE); in getDeliverPdus_withTypeCDMA()
DBluetoothMapMessageListingElementTest.java51 private static final String TEST_TEXT = "test_text"; field in BluetoothMapMessageListingElementTest
84 mMessageListingElement.setText(TEST_TEXT); in setUp()
115 assertThat(mMessageListingElement.getText()).isEqualTo(TEST_TEXT); in getters()
179 assertThat(attributeValue).isEqualTo(TEST_TEXT); in encode()
DBluetoothMapContentTest.java73 private static final String TEST_TEXT = "text"; field in BluetoothMapContentTest
170 when(cursor.getString(2)).thenReturn(TEST_TEXT); in getTextPartsMms()
175 assertThat(BluetoothMapContent.getTextPartsMms(mContentResolver, id)).isEqualTo(TEST_TEXT); in getTextPartsMms()
184 when(cursor.getString(1)).thenReturn(TEST_TEXT); in getContactNameFromPhone()
190 .isEqualTo(TEST_TEXT); in getContactNameFromPhone()
216 when(cursor.getString(1)).thenReturn(TEST_TEXT); in getAddressMms()
222 .isEqualTo(TEST_TEXT); in getAddressMms()
2084 TEST_TEXT, in extractMmsParts()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DI18NameTest.java42 private static final String TEST_TEXT = "Hello World"; field in I18NameTest
68 return getTestData(TEST_LANGUAGE, TEST_TEXT); in getDefaultTestData()
134 I18Name expectedName = new I18Name(TEST_LANGUAGE, TEST_LOCALE, TEST_TEXT); in parseBufferWithDefaultTestData()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/compat/
DTextInfoCompatUtilsTests.java41 final private static String TEST_TEXT = "0123456789"; field in TextInfoCompatUtilsTests
57 final SpannableString text = new SpannableString(TEST_TEXT); in testGetCharSequence()
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/
DLocationSettingsFooterPreferenceControllerTest.java64 private static final String TEST_TEXT = "text"; field in LocationSettingsFooterPreferenceControllerTest
97 when(mResources.getString(TEST_RES_ID)).thenReturn(TEST_TEXT); in setUp()
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DCdmaSmsMessageTest.java516 private static final String TEST_TEXT = "This is a test CDMA cell broadcast message..." field in CdmaSmsMessageTest
550 BearerData.LANGUAGE_ENGLISH, encoding, TEST_TEXT); in doTestNonEmergencyBroadcast()
561 assertEquals(TEST_TEXT, cbMessage.getMessageBody()); in doTestNonEmergencyBroadcast()