mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-15 01:42:37 +00:00
ICU-6475 Skipped some test cases in testFormat in non-exhaustive mode to reduce test time
X-SVN-Rev: 24509
This commit is contained in:
parent
5f3b09164a
commit
494f62ce8d
1 changed files with 9 additions and 1 deletions
|
@ -610,11 +610,13 @@ public class DateIntervalFormatTest extends com.ibm.icu.dev.test.TestFmwk {
|
|||
|
||||
private void expect(String[] data, int data_length) {
|
||||
int i = 1;
|
||||
int count = 0;
|
||||
while (i<data_length) {
|
||||
String locName = data[i++];
|
||||
ULocale loc = new ULocale(locName);
|
||||
SimpleDateFormat ref = new SimpleDateFormat(data[0], loc);
|
||||
// 'f'
|
||||
count++;
|
||||
String datestr = data[i++];
|
||||
String datestr_2 = data[i++];
|
||||
Date date, date_2;
|
||||
|
@ -629,7 +631,13 @@ public class DateIntervalFormatTest extends com.ibm.icu.dev.test.TestFmwk {
|
|||
date_2.getTime());
|
||||
|
||||
String oneSkeleton = data[i++];
|
||||
|
||||
// Skipping some test case in the non-exhaustive mode to reduce the test time
|
||||
//ticket#6503
|
||||
if(params.inclusion<=5 && count%3!=0){
|
||||
i++;
|
||||
continue;
|
||||
}
|
||||
|
||||
DateIntervalFormat dtitvfmt = DateIntervalFormat.getInstance(
|
||||
oneSkeleton, loc);
|
||||
String expected = data[i++];
|
||||
|
|
Loading…
Add table
Reference in a new issue