/aosp12/system/tools/xsdc/tests/src/com/android/xsdc/tests/ |
H A D | XmlParserTest.java | 55 String actualStr, expectedStr; in testPurchaseSimple() local 58 expectedStr = new String(str.readAllBytes()); in testPurchaseSimple() 68 assertThat(new String(actualStr), is(expectedStr)); in testPurchaseSimple() 97 String actualStr, expectedStr; in testSimpleComplexContent() local 100 expectedStr = new String(str.readAllBytes()); in testSimpleComplexContent() 110 assertThat(new String(actualStr), is(expectedStr)); in testSimpleComplexContent() 208 String actualStr, expectedStr; in testPredefinedTypes() local 211 expectedStr = new String(str.readAllBytes()); in testPredefinedTypes() 235 String actualStr, expectedStr; in testSimpleType() local 238 expectedStr = new String(str.readAllBytes()); in testSimpleType() [all …]
|
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/ |
H A D | IntHistogramTest.java | 91 String expectedStr = "{[Integer.MIN_VALUE,10)=4, [10,30)=2, [30,60)=3, [60,100)=4, " in testAddToHistogram() local 94 mHistogram.toString(), equalTo(expectedStr)); in testAddToHistogram() 133 String expectedStr = "{[Integer.MIN_VALUE,10)=4, [30,60)=3, [60,100)=4, " in testAddToHistogramWithGap() local 136 mHistogram.toString(), equalTo(expectedStr)); in testAddToHistogramWithGap() 183 String expectedStr = "{[Integer.MIN_VALUE,-100)=2, [-100,-20)=3, [-20,-1)=3, [-1,0)=1, " in testAddNegativeToHistogram() local 186 mHistogram.toString(), equalTo(expectedStr)); in testAddNegativeToHistogram() 213 String expectedStr = "{}"; in testEmptyHistogram() local 215 mHistogram.toString(), equalTo(expectedStr)); in testEmptyHistogram() 234 String expectedStr = "{[10,30)=2}"; in testLength1Histogram() local 236 mHistogram.toString(), equalTo(expectedStr)); in testLength1Histogram()
|
/aosp12/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/test/ |
H A D | test_macros.h | 15 const char* expectedStr, const char* actualStr, const char* toleranceStr, in CmpArrayLikeFloatEq() argument 20 << "\"" << expectedStr << "\" and \"" << actualStr in CmpArrayLikeFloatEq() 33 const char* expectedStr, const char* actualStr, const char* toleranceStr, in CmpMatrixLikeFloatEq() argument 39 << "\"" << expectedStr << "\" and \"" << actualStr in CmpMatrixLikeFloatEq() 53 const char* expectedStr, const char* actualStr, const char* toleranceStr, in CmpArrayLikeFloatNe() argument 62 message << "Expected \"" << expectedStr in CmpArrayLikeFloatNe() 71 const char* expectedStr, const char* actualStr, const char* toleranceStr, in CmpMatrixLikeFloatNe() argument 82 message << "Expected \"" << expectedStr in CmpMatrixLikeFloatNe()
|
/aosp12/frameworks/base/tools/split-select/ |
H A D | TestRules.cpp | 77 const String8 expectedStr(expected.toJson()); in RulePredFormat() local 80 if (expectedStr != actualStr) { in RulePredFormat() 82 << "Expected: " << expectedStr.string() << "\n" in RulePredFormat()
|
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/ |
H A D | InternalIoOveruseConfigurationSubject.java | 130 Set<String> expectedStr = toPerStateThresholdStrings(expected); in isPerStateThresholdEquals() local 131 return actualStr.equals(expectedStr); in isPerStateThresholdEquals() 137 Set<String> expectedStr = toAlertThresholdStrings(expected); in isAlertThresholdEquals() local 138 return actualStr.equals(expectedStr); in isAlertThresholdEquals()
|
H A D | IoOveruseConfigurationSubject.java | 115 Set<String> expectedStr = toAlertThresholdStrings(expected); in isAlertThresholdEquals() local 116 return actualStr.equals(expectedStr); in isAlertThresholdEquals()
|
H A D | InternalResourceOveruseConfigurationSubject.java | 83 Set<String> expectedStr = toMetadataStrings(expected); in isPackageMetadataEquals() local 84 return actualStr.equals(expectedStr); in isPackageMetadataEquals()
|
/aosp12/packages/modules/adb/tls/tests/ |
H A D | adb_ca_list_test.cpp | 99 std::vector<std::string> expectedStr = { in TEST_F() local 125 for (auto& expected : expectedStr) { in TEST_F()
|
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/ |
H A D | BipDatetimeTest.java | 61 private void testParse(String date, Date expectedDate, boolean isUtc, String expectedStr) { in testParse() argument 65 Assert.assertEquals(expectedStr, bipDateTime.toString()); in testParse()
|