ICU-6475 Skipped test cases in TestPropertyAccess in non-exhaustive mode to reduce test time

X-SVN-Rev: 24503
This commit is contained in:
Kedar Rajwade 2008-08-15 19:52:50 +00:00
parent 4caf2d8bee
commit 3e41a809e8

View File

@ -73,8 +73,14 @@ public class UnicodeSetTest extends TestFmwk {
}
public void TestPropertyAccess() {
int count = 0;
// test to see that all of the names work
for (int propNum = UProperty.BINARY_START; propNum < UProperty.INT_LIMIT; ++propNum) {
count++;
//Skipping tests in the non-exhaustive mode to shorten the test time ticket#6475
if(getInclusion()<=5 && count%5!=0){
continue;
}
if (propNum >= UProperty.BINARY_LIMIT && propNum < UProperty.INT_START) { // skip the gap
propNum = UProperty.INT_START;
}
@ -144,7 +150,7 @@ public class UnicodeSetTest extends TestFmwk {
+ "Differing values: " + collectedErrors.toPattern(true));
}
}
}
}
}
}