Home
last modified time | relevance | path

Searched refs:Color (Results 1 – 3 of 3) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DEnumMapTest.java37 enum Color { enum in EnumMapTest
103 EnumMap enumColorMap = new EnumMap<Color, Double>(Color.class); in test_ConstructorLjava_lang_Class()
105 Color.Green, 2)); in test_ConstructorLjava_lang_Class()
107 enumColorMap.get(Color.Green)); in test_ConstructorLjava_lang_Class()
111 enumEmptyMap.put(Color.Red, 2); in test_ConstructorLjava_lang_Class()
123 enumSizeMap.put(Color.Red, 2); in test_ConstructorLjava_lang_Class()
135 enumSizeMap.put(Color.Red, 2); in test_ConstructorLjava_lang_Class()
156 enumColorMap = new EnumMap<Color, Double>(Color.class); in test_ConstructorLjava_util_EnumMap()
158 enumColorMap.put(Color.Green, 2); in test_ConstructorLjava_util_EnumMap()
159 enumColorMap.put(Color.Blue, double1); in test_ConstructorLjava_util_EnumMap()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DEnumTest.java44 enum Color { enum in EnumTest
220 HashMap<Color, Integer> enumColorMap = new HashMap<Color, Integer>(); in testSerializationSelf()
221 enumColorMap.put(Color.Red, 1); in testSerializationSelf()
222 enumColorMap.put(Color.Blue, 3); in testSerializationSelf()
249 HashMap<Color, Integer> enumColorMap = new HashMap<Color, Integer>(); in testSerializationCompatibility()
250 enumColorMap.put(Color.Red, 1); in testSerializationCompatibility()
251 enumColorMap.put(Color.Blue, 3); in testSerializationCompatibility()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DObjectOutputStreamTest.java472 private static enum Color { enum in ObjectOutputStreamTest.WriteReplaceObject
1263 replaceObject = WriteReplaceObject.Color.red; in test_replaceObject()