Home
last modified time | relevance | path

Searched refs:testpat (Results 1 – 3 of 3) sorted by relevance

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DNumberFormatTest.java2173 String testpat = tokens.next(); in TestCases() local
2176 if (testpat.equals("-")) { in TestCases()
2181 testpat = pat; in TestCases()
2183 if (exppat.equals("-")) exppat = testpat; in TestCases()
2186 if (testpat == pat) { // [sic] in TestCases()
2189 f = new DecimalFormat(testpat); in TestCases()
2193 errln(where + "Invalid pattern \"" + testpat + in TestCases()
2196 assertEquals(where + '"' + testpat + "\".toPattern()", in TestCases()
2201 logln("Ok: " + where + "Invalid pattern \"" + testpat + in TestCases()
2204 errln(where + "Valid pattern \"" + testpat + in TestCases()
/external/icu/icu4c/source/test/intltest/
Dnumfmtst.cpp2559 UnicodeString testpat; in TestCases() local
2561 if (!tokens.next(testpat, ec)) goto error; in TestCases()
2565 if (testpat == "-") { in TestCases()
2571 testpat = pat; in TestCases()
2573 if (exppat == "-") exppat = testpat; in TestCases()
2579 f = new DecimalFormat(testpat, ec2); in TestCases()
2583 errln("FAIL: " + where + "Invalid pattern \"" + testpat + in TestCases()
2587 assertEquals(where + "\"" + testpat + "\".toPattern()", in TestCases()
2592 logln("Ok: " + where + "Invalid pattern \"" + testpat + in TestCases()
2595 errln("FAIL: " + where + "Valid pattern \"" + testpat + in TestCases()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatTest.java2170 String testpat = tokens.next(); in TestCases() local
2173 if (testpat.equals("-")) { in TestCases()
2178 testpat = pat; in TestCases()
2180 if (exppat.equals("-")) exppat = testpat; in TestCases()
2183 if (testpat == pat) { // [sic] in TestCases()
2186 f = new DecimalFormat(testpat); in TestCases()
2190 errln(where + "Invalid pattern \"" + testpat + in TestCases()
2193 assertEquals(where + '"' + testpat + "\".toPattern()", in TestCases()
2198 logln("Ok: " + where + "Invalid pattern \"" + testpat + in TestCases()
2201 errln(where + "Valid pattern \"" + testpat + in TestCases()