/aosp12/frameworks/base/core/tests/coretests/src/android/app/appsearch/external/util/ |
H A D | IndentingStringBuilderTest.java | 36 String expectedString = "\n IndentLevel1\n IndentLevel1\nIndentLevel0,\n"; in testAppendIndentedStrings() local 38 assertThat(str).isEqualTo(expectedString); in testAppendIndentedStrings() 68 String expectedString = "String\n 1\ntrue"; in testAppendIndentedObjects() local 70 assertThat(str).isEqualTo(expectedString); in testAppendIndentedObjects() 85 String expectedString = "\n\n\n\n"; in testAppendIndentedStrings_doesNotIndentLineBreak() local 87 assertThat(str).isEqualTo(expectedString); in testAppendIndentedStrings_doesNotIndentLineBreak()
|
/aosp12/frameworks/libs/service_entitlement/tests/src/com/android/libraries/entitlement/utils/ |
H A D | StreamUtilsTest.java | 41 String expectedString = "expected"; in inputStreamToString() local 42 InputStream inputStream = new ByteArrayInputStream(expectedString.getBytes(UTF_8)); in inputStreamToString() 46 assertThat(resultString).isEqualTo(expectedString); in inputStreamToString() 64 String expectedString = "expected"; in inputStreamToStringSafe() local 65 InputStream inputStream = new ByteArrayInputStream(expectedString.getBytes(UTF_8)); in inputStreamToStringSafe() 69 assertThat(resultString).isEqualTo(expectedString); in inputStreamToStringSafe()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/database/ |
H A D | DatabaseLocaleTest.java | 113 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()
|
/aosp12/build/soong/androidmk/parser/ |
H A D | make_strings_test.go | 84 expectedString := dumpArray(test.expected) 85 if gotString != expectedString { 86 t.Errorf("expected:\n%s\ngot:\n%s", expectedString, gotString) 213 expectedString := dumpArray(test.expected) 214 if gotString != expectedString { 215 t.Errorf("with:\n%q\nexpected:\n%s\ngot:\n%s", test.in.Dump(), expectedString, gotString)
|
/aosp12/frameworks/base/core/tests/coretests/src/android/content/ |
H A D | AssetTest.java | 37 String expectedString = "OneTwoThreeFourFiveSixSevenEightNineTen"; in verifyTextAsset() local 45 + " expected " + expectedString.charAt(curIndex) in verifyTextAsset() 47 buffer[i], expectedString.charAt(curIndex)); in verifyTextAsset()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/customize/ |
H A D | TileAdapterDelegateTest.java | 108 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()
|
/aosp12/packages/services/Car/tests/carservice_test/src/com/android/car/ |
H A D | CarVendorExtensionManagerTest.java | 202 String expectedString = generateRandomString(2 * MILLION, in testLargeStringProperty() local 208 expectedString); in testLargeStringProperty() 214 assertEquals(expectedString, actualString); in testLargeStringProperty() 219 final String expectedString = "εὕρηκα!"; // Test some utf as well. in testStringProperty() local 224 expectedString); in testStringProperty() 230 assertEquals(expectedString, actualString); in testStringProperty()
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
H A D | MagnificationCapabilitiesTest.java | 55 final String expectedString = mContext.getString( in getSummary_fullScreenMode_expectedSummary() local 57 assertThat(actualString).isEqualTo(expectedString); in getSummary_fullScreenMode_expectedSummary()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/text/format/ |
H A D | FormatterTest.java | 220 String expectedString, long expectedRounded) { in checkFormatBytes() argument 222 expectedString, expectedRounded); in checkFormatBytes() 226 String expectedString, long expectedRounded) { in checkFormatBytes() argument 229 assertEquals(expectedString, r.value); in checkFormatBytes()
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/dream/ |
H A D | WhenToDreamPreferenceControllerTest.java | 63 final String expectedString = in updateSummary() local 67 verify(mockPref).setSummary(expectedString); in updateSummary()
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/ |
H A D | CpuFrequenciesTest.java | 74 String expectedString = "0:1900800/4:1958400"; in testToString_returnsSanitizedStringUsedToParse() local 77 assertEquals(expectedString, cpuFrequencies.toString()); in testToString_returnsSanitizedStringUsedToParse()
|
/aosp12/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
H A D | InetAddressesTest.java | 84 public void parseNumericAddress(String address, String expectedString) { in parseNumericAddress() argument 86 assertEquals(expectedString, inetAddress.getHostAddress()); in parseNumericAddress()
|
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/utils/ |
H A D | StringUtilTest.java | 117 final SpannableStringBuilder expectedString = (SpannableStringBuilder) charSequence; in testFormatElapsedTime_onlyContainsMinute_hasTtsSpan() local 118 final TtsSpan[] ttsSpans = expectedString.getSpans(0, expectedString.length(), in testFormatElapsedTime_onlyContainsMinute_hasTtsSpan()
|
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | ValidateNotificationPeopleTest.java | 244 String expectedString = Arrays.toString(expected); in assertStringArrayEquals() local 246 assertEquals(message + ": arrays differ", expectedString, resultString); in assertStringArrayEquals()
|
/aosp12/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
H A D | FileRotatorTest.java | 430 final String expectedString = Arrays.toString(expected); 432 fail("expected: " + expectedString + " but was: " + actualString);
|
/aosp12/packages/modules/StatsD/lib/libstatssocket/tests/ |
H A D | stats_event_test.cpp | 76 void checkString(uint8_t** buffer, const string& expectedString) { in checkString() argument 79 EXPECT_EQ(parsedString, expectedString); in checkString()
|
/aosp12/build/soong/android/ |
H A D | paths_test.go | 169 func checkValidOptionalPath(t *testing.T, path OptionalPath, expectedString string) { 174 if path.String() != expectedString { 175 …t.Errorf("Initialized OptionalPath String() should return %q, not %q", expectedString, path.String…
|
/aosp12/packages/apps/DeskClock/tests/src/com/android/deskclock/timer/ |
H A D | TimerFragmentTest.java | 669 final String expectedString = Arrays.toString(expected); in assertIndicatorsEquals() local 671 fail(String.format("Expected %s, found %s", expectedString, actualString)); in assertIndicatorsEquals()
|
/aosp12/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/ |
H A D | AccessPointTest.java | 468 String expectedString = mContext.getString(R.string.speed_label_very_fast) + " / " 470 assertThat(ap.getSummary()).isEqualTo(expectedString); 505 String expectedString = 510 .isEqualTo(expectedString);
|
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
H A D | WifiHealthMonitorTest.java | 590 String expectedString = "authentication failure: 11 "; in testFailureStats() local 594 assertEquals(true, failureStats.toString().contains(expectedString)); in testFailureStats()
|
/aosp12/packages/apps/TV/libs/ |
H A D | truth-0.45.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
/aosp12/packages/apps/Messaging/build/gcheckstyle/ |
H A D | google-style-checker_deploy.jar | META-INF/
META-INF/MANIFEST.MF
build-data.properties
com/
com ... |