Searched refs:enumMap (Results 1 – 1 of 1) sorted by relevance
147 EnumMap enumMap; in test_ConstructorLjava_util_EnumMap() local150 enumMap = new EnumMap(enumColorMap); in test_ConstructorLjava_util_EnumMap()161 enumMap = new EnumMap(enumColorMap); in test_ConstructorLjava_util_EnumMap()162 assertEquals("Constructor fails", 2, enumMap.get(Color.Green)); in test_ConstructorLjava_util_EnumMap()163 assertSame("Constructor fails", double1, enumMap.get(Color.Blue)); in test_ConstructorLjava_util_EnumMap()164 assertNull("Constructor fails", enumMap.get(Color.Red)); in test_ConstructorLjava_util_EnumMap()165 enumMap.put(Color.Red, 1); in test_ConstructorLjava_util_EnumMap()166 assertEquals("Wrong value", 1, enumMap.get(Color.Red)); in test_ConstructorLjava_util_EnumMap()169 enumMap.put(Size.Middle, 2); in test_ConstructorLjava_util_EnumMap()181 EnumMap enumMap; in test_ConstructorLjava_util_Map() local[all …]