Home
last modified time | relevance | path

Searched refs:expectedString (Results 1 – 13 of 13) sorted by relevance

/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/
H A DBrightnessEventTest.java71 String expectedString = in testToStringWorksAsExpected() local
77 assertEquals(expectedString, actualString); in testToStringWorksAsExpected()
85 String expectedString = "idle_curve "; in testFlagsToString() local
86 assertEquals(expectedString, actualString); in testFlagsToString()
96 String expectedString = "idle_curve low_power_mode "; in testFlagsToString_multipleFlags() local
97 assertEquals(expectedString, actualString); in testFlagsToString_multipleFlags()
H A DBrightnessReasonTest.java55 String expectedString = "doze [ low_pwr ]"; in toStringGeneratesExpectedString() local
56 assertEquals(actualString, expectedString); in toStringGeneratesExpectedString()
/aosp14/frameworks/base/core/tests/coretests/src/android/database/
H A DDatabaseLocaleTest.java113 String expectedString = new String(new int[] {0xFE000}, 0, 1); in testHoge() local
114 mDatabase.execSQL("INSERT INTO test(id, data) VALUES(1, '" + expectedString + "')"); in testHoge()
120 assertEquals(expectedString.length(), actualString.length()); in testHoge()
121 for (int i = 0; i < expectedString.length(); i++) { in testHoge()
122 assertEquals((int)expectedString.charAt(i), (int)actualString.charAt(i)); in testHoge()
124 assertEquals(expectedString, actualString); in testHoge()
/aosp14/frameworks/base/core/tests/coretests/src/android/content/
H A DAssetTest.java37 String expectedString = "OneTwoThreeFourFiveSixSevenEightNineTen"; in verifyTextAsset() local
45 + " expected " + expectedString.charAt(curIndex) in verifyTextAsset()
47 buffer[i], expectedString.charAt(curIndex)); in verifyTextAsset()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/customize/
H A DTileAdapterDelegateTest.java108 String expectedString = mContext.getString(POSITION_STRING_ID, position); in testStateDescriptionHasPositionForCurrentTile() local
111 assertThat(mInfo.getStateDescription()).isEqualTo(expectedString); in testStateDescriptionHasPositionForCurrentTile()
135 String expectedString = mContext.getString(R.string.accessibility_qs_edit_tile_add_action); in testClickAddAction() local
138 assertThat(action.getLabel().toString()).contains(expectedString); in testClickAddAction()
150 String expectedString = mContext.getString( in testClickRemoveAction() local
154 assertThat(action.getLabel().toString()).contains(expectedString); in testClickRemoveAction()
/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
H A DHbmEventTest.java52 String expectedString = "HbmEvent: {startTimeMillis:" + mStartTimeMillis in toStringGeneratesExpectedString() local
55 assertEquals(actualString, expectedString); in toStringGeneratesExpectedString()
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/utils/
H A DStringUtilTest.java117 final SpannableStringBuilder expectedString = (SpannableStringBuilder) charSequence; in testFormatElapsedTime_onlyContainsMinute_hasTtsSpan() local
118 final TtsSpan[] ttsSpans = expectedString.getSpans(0, expectedString.length(), in testFormatElapsedTime_onlyContainsMinute_hasTtsSpan()
/aosp14/frameworks/base/core/tests/coretests/src/android/text/format/
H A DFormatterTest.java273 String expectedString, long expectedRounded) { in checkFormatBytes() argument
275 expectedString, expectedRounded); in checkFormatBytes()
279 String expectedString, long expectedRounded) { in checkFormatBytes() argument
282 assertEquals(expectedString, r.value); in checkFormatBytes()
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/app/
H A DResourcesPerfTest.java236 final String expectedString = Integer.toHexString(expectedInteger); in getIdentifier() local
237 final String entryName = "i_am_color_" + expectedString; in getIdentifier()
/aosp14/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
H A DFileRotatorTest.java430 final String expectedString = Arrays.toString(expected);
432 fail("expected: " + expectedString + " but was: " + actualString);
/aosp14/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
H A DBaseInputConnectionTest.java775 String expectedString, in verifySpannableString() argument
779 verifyContentEquals(text, expectedString); in verifySpannableString()
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DValidateNotificationPeopleTest.java454 String expectedString = Arrays.toString(expected); in assertStringArrayEquals() local
456 assertEquals(message + ": arrays differ", expectedString, resultString); in assertStringArrayEquals()
/aosp14/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
H A DAccessPointTest.java468 String expectedString = mContext.getString(R.string.speed_label_very_fast) + " / "
470 assertThat(ap.getSummary()).isEqualTo(expectedString);
505 String expectedString =
510 .isEqualTo(expectedString);