Home
last modified time | relevance | path

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

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatTest.java1807 String testpat = tokens.next(); in TestCases() local
1810 if (testpat.equals("-")) { in TestCases()
1815 testpat = pat; in TestCases()
1817 if (exppat.equals("-")) exppat = testpat; in TestCases()
1820 if (testpat == pat) { // [sic] in TestCases()
1823 f = new DecimalFormat(testpat); in TestCases()
1827 errln(where + "Invalid pattern \"" + testpat + in TestCases()
1830 assertEquals(where + '"' + testpat + "\".toPattern()", in TestCases()
1835 logln("Ok: " + where + "Invalid pattern \"" + testpat + in TestCases()
1838 errln(where + "Valid pattern \"" + testpat + in TestCases()
/external/icu/icu4c/source/test/intltest/
Dnumfmtst.cpp2331 UnicodeString testpat; in TestCases() local
2333 if (!tokens.next(testpat, ec)) goto error; in TestCases()
2337 if (testpat == "-") { in TestCases()
2343 testpat = pat; in TestCases()
2345 if (exppat == "-") exppat = testpat; in TestCases()
2351 f = new DecimalFormat(testpat, ec2); in TestCases()
2355 errln("FAIL: " + where + "Invalid pattern \"" + testpat + in TestCases()
2359 assertEquals(where + "\"" + testpat + "\".toPattern()", in TestCases()
2364 logln("Ok: " + where + "Invalid pattern \"" + testpat + in TestCases()
2367 errln("FAIL: " + where + "Valid pattern \"" + testpat + in TestCases()