From 3e41a809e80d323e6bcd075fb520db54da017bc5 Mon Sep 17 00:00:00 2001 From: Kedar Rajwade Date: Fri, 15 Aug 2008 19:52:50 +0000 Subject: [PATCH] ICU-6475 Skipped test cases in TestPropertyAccess in non-exhaustive mode to reduce test time X-SVN-Rev: 24503 --- .../src/com/ibm/icu/dev/test/translit/UnicodeSetTest.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/icu4j/src/com/ibm/icu/dev/test/translit/UnicodeSetTest.java b/icu4j/src/com/ibm/icu/dev/test/translit/UnicodeSetTest.java index 7aacfc183df..1feccbbb559 100644 --- a/icu4j/src/com/ibm/icu/dev/test/translit/UnicodeSetTest.java +++ b/icu4j/src/com/ibm/icu/dev/test/translit/UnicodeSetTest.java @@ -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)); } } - } + } } }