Home
last modified time | relevance | path

Searched refs:newpat (Results 1 – 8 of 8) sorted by relevance

/third_party/icu/icu4c/source/test/cintltst/
Dcnmdptst.c72 const char* newpat[] = { "0.#", "0.", "#.0", "0" }; in TestPatterns() local
96 u_uastrcpy(unewpat, newpat[i]); in TestPatterns()
98 …AIL: Pattern %s should be transmuted to %s; %s seen instead\n", pat[i], newpat[i], austrdup(unew… in TestPatterns()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUnicodeSetTest.java1413 String newpat = set.toPattern(true); in TestEscapePattern() local
1414 if (newpat.equals(exp)) { in TestEscapePattern()
1415 logln(Utility.escape(pat) + " => " + newpat); in TestEscapePattern()
1417 errln("FAIL: " + Utility.escape(pat) + " => " + newpat); in TestEscapePattern()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/
DUnicodeSetTest.java1399 String newpat = set.toPattern(true); in TestEscapePattern() local
1400 if (newpat.equals(exp)) { in TestEscapePattern()
1401 logln(Utility.escape(pat) + " => " + newpat); in TestEscapePattern()
1403 errln("FAIL: " + Utility.escape(pat) + " => " + newpat); in TestEscapePattern()
/third_party/icu/icu4c/source/test/intltest/
Dusettest.cpp1457 UnicodeString newpat; in TestEscapePattern() local
1458 set.toPattern(newpat, true); in TestEscapePattern()
1459 if (newpat == UnicodeString(exp, -1, US_INV)) { in TestEscapePattern()
1460 logln(escape(pat) + " => " + newpat); in TestEscapePattern()
1462 errln((UnicodeString)"FAIL: " + escape(pat) + " => " + newpat); in TestEscapePattern()
Dnumfmtst.cpp412 const char* newpat[] = { "0.#", "0.", "#.0", "0" }; in TestPatterns() local
420 if (!(newp == newpat[i])) in TestPatterns()
421 errln((UnicodeString)"FAIL: Pattern " + pat[i] + " should transmute to " + newpat[i] + in TestPatterns()
/third_party/python/Lib/test/
Dtest_re.py1060 newpat = pickle.loads(pickled)
1061 self.assertEqual(newpat, oldpat)
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DNumberFormatTest.java236 final String newpat[] = { "0.#", "0.", "#.0", "0" }; in TestPatterns() local
242 if (!newp.equals(newpat[i])) in TestPatterns()
243 errln("FAIL: Pattern " + pat[i] + " should transmute to " + newpat[i] + in TestPatterns()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatTest.java233 final String newpat[] = { "0.#", "0.", "#.0", "0" }; in TestPatterns() local
239 if (!newp.equals(newpat[i])) in TestPatterns()
240 errln("FAIL: Pattern " + pat[i] + " should transmute to " + newpat[i] + in TestPatterns()