Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Dtzfmttst.cpp540 for (int32_t testidx = 0; testidx < testLen; testidx++) { in run() local
543 if (!expectedRoundTrip[testidx]) { in run()
552 sdf->format(testTimes[testidx], text, fpos); in run()
557 … + ", pattern=" + PATTERNS[patidx] + ", time=" + testTimes[testidx]); in run()
562 int32_t timeDiff = (int32_t)(parsedDate - testTimes[testidx]); in run()
567 …t=" + text + ", time=" + testTimes[testidx] + ", restime=" + parsedDate + ", diff=" + (parsedDate … in run()
569 if (expectedRoundTrip[testidx] in run()
571 PATTERNS[patidx], testTimes[testidx])) { in run()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeZoneFormatTest.java449 for (int testidx = 0; testidx < testLen; testidx++) { in TestTimeRoundTrip()
452 String text = sdf.format(new Date(testTimes[testidx])); in TestTimeRoundTrip()
456 long timeDiff = restime - testTimes[testidx]; in TestTimeRoundTrip()
466 … .append(", gmt=").append(sdfGMT.format(new Date(testTimes[testidx]))) in TestTimeRoundTrip()
467 .append(", time=").append(testTimes[testidx]) in TestTimeRoundTrip()
470 if (expectedRoundTrip[testidx] in TestTimeRoundTrip()
471 … && !isSpecialTimeRoundTripCase(LOCALES[locidx], id, PATTERNS[patidx], testTimes[testidx])) { in TestTimeRoundTrip()