Index: icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/StaticUnicodeSetsTest.java |
=================================================================== |
--- icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/StaticUnicodeSetsTest.java (revision 41377) |
+++ icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/StaticUnicodeSetsTest.java (working copy) |
@@ -1,19 +1,20 @@ |
// © 2018 and later: Unicode, Inc. and others. |
// License & terms of use: http://www.unicode.org/copyright.html#License |
-package com.ibm.icu.dev.test.number; |
+package com.ibm.icu.dev.test.util; |
-import static com.ibm.icu.impl.number.parse.UnicodeSetStaticCache.get; |
+import static com.ibm.icu.impl.StaticUnicodeSets.get; |
import static org.junit.Assert.assertTrue; |
import org.junit.Test; |
-import com.ibm.icu.impl.number.parse.UnicodeSetStaticCache.Key; |
+import com.ibm.icu.impl.StaticUnicodeSets.Key; |
/** |
- * This test class is thin; most of it was moved to ExhaustiveNumberTest. |
+ * NOTE: The test testSetCoverage can be found in ExhaustiveNumberTest.java |
+ * |
* @author sffc |
*/ |
-public class UnicodeSetStaticCacheTest { |
+public class StaticUnicodeSetsTest { |
@Test |
public void testFrozen() { |
@@ -21,4 +22,12 @@ |
assertTrue(get(key).isFrozen()); |
} |
} |
+ |
+ @Test |
+ public void testNonEmpty() { |
+ for (Key key : Key.values()) { |
+ // NOTE: No key EMPTY in Java |
+ assertTrue(get(key).isFrozen()); |
+ } |
+ } |
} |