Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/cintltst/
Dcnmdptst.c70 const char* newpat[] = { "0.#", "0.", "#.0", "0" }; in TestPatterns() local
94 u_uastrcpy(unewpat, newpat[i]); in TestPatterns()
96 …FAIL: Pattern %s should be transmute to %s; %s seen instead\n", pat[i], newpat[i], austrdup(unew… in TestPatterns()
/external/icu/icu4c/source/test/intltest/
Dusettest.cpp1421 UnicodeString newpat; in TestEscapePattern() local
1422 set.toPattern(newpat, TRUE); in TestEscapePattern()
1423 if (newpat == UnicodeString(exp, -1, US_INV)) { in TestEscapePattern()
1424 logln(escape(pat) + " => " + newpat); in TestEscapePattern()
1426 errln((UnicodeString)"FAIL: " + escape(pat) + " => " + newpat); in TestEscapePattern()
Dnumfmtst.cpp407 const char* newpat[] = { "0.#", "0.", "#.0", "0" }; in TestPatterns() local
415 if (!(newp == newpat[i])) in TestPatterns()
416 errln((UnicodeString)"FAIL: Pattern " + pat[i] + " should transmute to " + newpat[i] + in TestPatterns()
/external/icu/android_icu4j/src/main/tests/android/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()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUnicodeSetTest.java1396 String newpat = set.toPattern(true); in TestEscapePattern() local
1397 if (newpat.equals(exp)) { in TestEscapePattern()
1398 logln(Utility.escape(pat) + " => " + newpat); in TestEscapePattern()
1400 errln("FAIL: " + Utility.escape(pat) + " => " + newpat); in TestEscapePattern()
/external/python/cpython2/Lib/test/
Dtest_re.py736 newpat = pickle.loads(pickled)
737 self.assertEqual(newpat, oldpat)
/external/python/cpython3/Lib/test/
Dtest_re.py1059 newpat = pickle.loads(pickled)
1060 self.assertEqual(newpat, oldpat)
/external/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()
/external/icu/android_icu4j/src/main/tests/android/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()