Home
last modified time | relevance | path

Searched refs:expectedStr (Results 1 – 9 of 9) sorted by relevance

/aosp12/system/tools/xsdc/tests/src/com/android/xsdc/tests/
H A DXmlParserTest.java55 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 DIntHistogramTest.java91 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 Dtest_macros.h15 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 DTestRules.cpp77 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 DInternalIoOveruseConfigurationSubject.java130 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 DIoOveruseConfigurationSubject.java115 Set<String> expectedStr = toAlertThresholdStrings(expected); in isAlertThresholdEquals() local
116 return actualStr.equals(expectedStr); in isAlertThresholdEquals()
H A DInternalResourceOveruseConfigurationSubject.java83 Set<String> expectedStr = toMetadataStrings(expected); in isPackageMetadataEquals() local
84 return actualStr.equals(expectedStr); in isPackageMetadataEquals()
/aosp12/packages/modules/adb/tls/tests/
H A Dadb_ca_list_test.cpp99 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 DBipDatetimeTest.java61 private void testParse(String date, Date expectedDate, boolean isUtc, String expectedStr) { in testParse() argument
65 Assert.assertEquals(expectedStr, bipDateTime.toString()); in testParse()