Home
last modified time | relevance | path

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

/external/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 …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.cpp1415 UnicodeString newpat; in TestEscapePattern() local
1416 set.toPattern(newpat, TRUE); in TestEscapePattern()
1417 if (newpat == UnicodeString(exp, -1, US_INV)) { in TestEscapePattern()
1418 logln(escape(pat) + " => " + newpat); in TestEscapePattern()
1420 errln((UnicodeString)"FAIL: " + escape(pat) + " => " + newpat); in TestEscapePattern()
Dnumfmtst.cpp378 const char* newpat[] = { "0.#", "0.", "#.0", "0" }; in TestPatterns() local
386 if (!(newp == newpat[i])) in TestPatterns()
387 errln((UnicodeString)"FAIL: Pattern " + pat[i] + " should transmute to " + newpat[i] + in TestPatterns()
/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/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/python/cpython2/Lib/test/
Dtest_re.py736 newpat = pickle.loads(pickled)
737 self.assertEqual(newpat, oldpat)
/external/python/cpython3/Lib/test/
Dtest_re.py1023 newpat = pickle.loads(pickled)
1024 self.assertEqual(newpat, oldpat)
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatTest.java231 final String newpat[] = { "0.#", "0.", "#.0", "0" }; in TestPatterns() local
237 if (!newp.equals(newpat[i])) in TestPatterns()
238 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.java234 final String newpat[] = { "0.#", "0.", "#.0", "0" }; in TestPatterns() local
240 if (!newp.equals(newpat[i])) in TestPatterns()
241 errln("FAIL: Pattern " + pat[i] + " should transmute to " + newpat[i] + in TestPatterns()