Home
last modified time | relevance | path

Searched refs:baseMessage (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DFormattedValueTest.java159 String baseMessage = message + ": " + fv.toString() + ": "; in checkFormattedValue() local
162 assertEquals(baseMessage + " string", expectedString, fv.toString()); in checkFormattedValue()
168 …assertEquals(baseMessage + "All known fields should be in the iterator", uniqueFields.size(), allA… in checkFormattedValue()
169 …assertEquals(baseMessage + "Iterator should have length of string output", stringLength, fpi.getEn… in checkFormattedValue()
184 … assertTrue(baseMessage + "Character at " + i + " should have field " + expectedField, in checkFormattedValue()
186 assertTrue(baseMessage + "Field " + expectedField + " should be a known attribute", in checkFormattedValue()
191 … assertEquals(baseMessage + expectedField + " begin @" + i, expectedBeginIndex, actualBeginIndex); in checkFormattedValue()
192 … assertEquals(baseMessage + expectedField + " end @" + i, expectedEndIndex, actualEndIndex); in checkFormattedValue()
193 … assertEquals(baseMessage + expectedField + " value @" + i, expectedValue, actualValue); in checkFormattedValue()
196 … assertEquals(baseMessage + "Should have looked at every field: " + i + ": " + currentAttributes, in checkFormattedValue()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DFormattedValueTest.java162 String baseMessage = message + ": " + fv.toString() + ": "; in checkFormattedValue() local
165 assertEquals(baseMessage + " string", expectedString, fv.toString()); in checkFormattedValue()
171 …assertEquals(baseMessage + "All known fields should be in the iterator", uniqueFields.size(), allA… in checkFormattedValue()
172 …assertEquals(baseMessage + "Iterator should have length of string output", stringLength, fpi.getEn… in checkFormattedValue()
187 … assertTrue(baseMessage + "Character at " + i + " should have field " + expectedField, in checkFormattedValue()
189 assertTrue(baseMessage + "Field " + expectedField + " should be a known attribute", in checkFormattedValue()
194 … assertEquals(baseMessage + expectedField + " begin @" + i, expectedBeginIndex, actualBeginIndex); in checkFormattedValue()
195 … assertEquals(baseMessage + expectedField + " end @" + i, expectedEndIndex, actualEndIndex); in checkFormattedValue()
196 … assertEquals(baseMessage + expectedField + " value @" + i, expectedValue, actualValue); in checkFormattedValue()
199 … assertEquals(baseMessage + "Should have looked at every field: " + i + ": " + currentAttributes, in checkFormattedValue()
[all …]
/external/icu/icu4c/source/test/intltest/
Dformattedvaluetest.cpp207 UnicodeString baseMessage = UnicodeString(message) + u": " + fv.toString(status) + u": "; in checkMixedFormattedValue() local
210 assertEquals(baseMessage + u"string", expectedString, fv.toString(status)); in checkMixedFormattedValue()
211 assertEquals(baseMessage + u"temp string", expectedString, fv.toTempString(status)); in checkMixedFormattedValue()
216 assertEquals(baseMessage + u"NUL-terminated", in checkMixedFormattedValue()
223 assertTrue(baseMessage + u"A has next position @ " + Int64ToUnicodeString(i), in checkMixedFormattedValue()
229 assertEquals(baseMessage + u"A category @ " + Int64ToUnicodeString(i), in checkMixedFormattedValue()
231 assertEquals(baseMessage + u"A field @ " + Int64ToUnicodeString(i), in checkMixedFormattedValue()
233 assertEquals(baseMessage + u"A start @ " + Int64ToUnicodeString(i), in checkMixedFormattedValue()
235 assertEquals(baseMessage + u"A limit @ " + Int64ToUnicodeString(i), in checkMixedFormattedValue()
239 assertFalse(baseMessage + u"A after loop: " + CFPosToUnicodeString(cfpos), afterLoopResult); in checkMixedFormattedValue()
[all …]
/external/libchrome/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
DServiceMessage.java23 public ServiceMessage(Message baseMessage, MessageHeader header) { in ServiceMessage() argument
24 super(baseMessage.getData(), baseMessage.getHandles()); in ServiceMessage()
25 assert header.equals(new org.chromium.mojo.bindings.MessageHeader(baseMessage)); in ServiceMessage()
33 ServiceMessage(Message baseMessage) { in ServiceMessage() argument
34 this(baseMessage, new org.chromium.mojo.bindings.MessageHeader(baseMessage)); in ServiceMessage()