Home
last modified time | relevance | path

Searched refs:expectedSuffix (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/legacy-test/src/junit/framework/
DComparisonCompactor.java58 int expectedSuffix= fExpected.length() - 1; in findCommonSuffix() local
60 for (; actualSuffix >= fPrefix && expectedSuffix >= fPrefix; actualSuffix--, expectedSuffix--) { in findCommonSuffix()
61 if (fExpected.charAt(expectedSuffix) != fActual.charAt(actualSuffix)) in findCommonSuffix()
64 fSuffix= fExpected.length() - expectedSuffix; in findCommonSuffix()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DConnOnActivityStartTest.java245 final String expectedSuffix = enabled ? "enabled" : "disabled"; in setDataSaverMode() local
246 assertTrue("output '" + output + "' should end with '" + expectedSuffix + "'", in setDataSaverMode()
247 output.endsWith(expectedSuffix)); in setDataSaverMode()