Home
last modified time | relevance | path

Searched refs:expectedPattern (Results 1 – 10 of 10) sorted by relevance

/external/icu/icu4c/source/test/cintltst/
Dudatpg_test.c379 const UChar * expectedPattern; member
422 … if ( U_FAILURE(status) || u_strncmp(pattern, testDataPtr->expectedPattern, patLen+1) != 0 ) { in TestOptions()
428 … u_austrncpy(expectedPatternBytes,testDataPtr->expectedPattern,kTestOptionsPatLenMax), in TestOptions()
/external/icu/icu4c/source/test/intltest/
Ddtptngts.cpp846 const char *expectedPattern; member
898 UnicodeString expectedPattern(UnicodeString(testDataPtr->expectedPattern).unescape()); in testOptions() local
908 if (pattern.compare(expectedPattern) != 0) { in testOptions()
912 UnicodeString(", expected pattern ") + expectedPattern + in testOptions()
Dnumberformat2test.cpp1643 AffixPattern expectedPattern; in TestAffixPatternAppend() local
1646 expectedPatternStr.unescape(), expectedPattern, status); in TestAffixPatternAppend()
1648 assertTrue("", pattern.append(appendPattern).equals(expectedPattern)); in TestAffixPatternAppend()
1664 AffixPattern expectedPattern; in TestAffixPatternAppendAjoiningLiterals() local
1667 expectedPatternStr, expectedPattern, status); in TestAffixPatternAppendAjoiningLiterals()
1669 assertTrue("", pattern.append(appendPattern).equals(expectedPattern)); in TestAffixPatternAppendAjoiningLiterals()
Ddtfmttst.cpp122 const char *expectedPattern; in TestPatterns() member
182 UnicodeString expectedPattern(EXPECTED[i].expectedPattern, -1, US_INV); in TestPatterns() local
184 if (actualPattern != expectedPattern) { in TestPatterns()
185 errln("FAILURE! Expected pattern: " + expectedPattern + in TestPatterns()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateTimeGeneratorTest.java1195 public String expectedPattern; field in DateTimeGeneratorTest.TestOptionsItem
1201 expectedPattern = expectedPat; in TestOptionsItem()
1248 if (pattern.compareTo(testOptionsData[i].expectedPattern) != 0) { in TestOptions()
1251 … ", expected pattern " + testOptionsData[i].expectedPattern + ", got " + pattern); in TestOptions()
DDateIntervalFormatTest.java1244 String expectedPattern = patternInfo.getFirstPart() + patternInfo.getSecondPart(); in TestSetIntervalPatternNoSideEffect() local
1251 expectedPattern, in TestSetIntervalPatternNoSideEffect()
DDateFormatTest.java155 String expectedPattern = EXPECTED[i][1]; in TestPatterns() local
157 if (!actualPattern.equals(expectedPattern)) { in TestPatterns()
158 errln("FAILURE! Expected pattern: " + expectedPattern + in TestPatterns()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateTimeGeneratorTest.java1191 public String expectedPattern; field in DateTimeGeneratorTest.TestOptionsItem
1197 expectedPattern = expectedPat; in TestOptionsItem()
1244 if (pattern.compareTo(testOptionsData[i].expectedPattern) != 0) { in TestOptions()
1247 … ", expected pattern " + testOptionsData[i].expectedPattern + ", got " + pattern); in TestOptions()
DDateIntervalFormatTest.java1240 String expectedPattern = patternInfo.getFirstPart() + patternInfo.getSecondPart(); in TestSetIntervalPatternNoSideEffect() local
1247 expectedPattern, in TestSetIntervalPatternNoSideEffect()
DDateFormatTest.java151 String expectedPattern = EXPECTED[i][1]; in TestPatterns() local
153 if (!actualPattern.equals(expectedPattern)) { in TestPatterns()
154 errln("FAILURE! Expected pattern: " + expectedPattern + in TestPatterns()