Searched refs:expectedField (Results 1 – 5 of 5) sorted by relevance
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | FormattedValueTest.java | 175 Format.Field expectedField = (Format.Field) cas[0]; in checkFormattedValue() local 178 Object expectedValue = cas.length == 4 ? cas[3] : expectedField; in checkFormattedValue() 184 … assertTrue(baseMessage + "Character at " + i + " should have field " + expectedField, in checkFormattedValue() 185 currentAttributes.contains(expectedField)); in checkFormattedValue() 186 assertTrue(baseMessage + "Field " + expectedField + " should be a known attribute", in checkFormattedValue() 187 allAttributes.contains(expectedField)); in checkFormattedValue() 188 int actualBeginIndex = fpi.getRunStart(expectedField); in checkFormattedValue() 189 int actualEndIndex = fpi.getRunLimit(expectedField); in checkFormattedValue() 190 Object actualValue = fpi.getAttribute(expectedField); in checkFormattedValue() 191 … assertEquals(baseMessage + expectedField + " begin @" + i, expectedBeginIndex, actualBeginIndex); in checkFormattedValue() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | FormattedValueTest.java | 178 Format.Field expectedField = (Format.Field) cas[0]; in checkFormattedValue() local 181 Object expectedValue = cas.length == 4 ? cas[3] : expectedField; in checkFormattedValue() 187 … assertTrue(baseMessage + "Character at " + i + " should have field " + expectedField, in checkFormattedValue() 188 currentAttributes.contains(expectedField)); in checkFormattedValue() 189 assertTrue(baseMessage + "Field " + expectedField + " should be a known attribute", in checkFormattedValue() 190 allAttributes.contains(expectedField)); in checkFormattedValue() 191 int actualBeginIndex = fpi.getRunStart(expectedField); in checkFormattedValue() 192 int actualEndIndex = fpi.getRunLimit(expectedField); in checkFormattedValue() 193 Object actualValue = fpi.getAttribute(expectedField); in checkFormattedValue() 194 … assertEquals(baseMessage + expectedField + " begin @" + i, expectedBeginIndex, actualBeginIndex); in checkFormattedValue() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | formattedvaluetest.cpp | 226 int32_t expectedField = expectedFieldPositions[i].field; in checkMixedFormattedValue() local 232 expectedField, cfpos.getField()); in checkMixedFormattedValue() 257 int32_t expectedField = expectedFieldPositions[i].field; in checkMixedFormattedValue() local 263 expectedField, cfpos.getField()); in checkMixedFormattedValue() 293 int32_t expectedField = expectedFieldPositions[i].field; in checkMixedFormattedValue() local 299 expectedField, cfpos.getField()); in checkMixedFormattedValue()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/ |
D | NumberFormatterApiTest.java | 3542 NumberFormat.Field expectedField = (NumberFormat.Field) cas[0]; in fieldPositionLogic() local 3548 expectedField, in fieldPositionLogic()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | NumberFormatterApiTest.java | 3539 NumberFormat.Field expectedField = (NumberFormat.Field) cas[0]; in fieldPositionLogic() local 3545 expectedField, in fieldPositionLogic()
|