Searched refs:getEnumConstants (Results 1 – 4 of 4) sorted by relevance
350 assertNotNull(trafficClass.getEnumConstants()); in testClassIsEnum()351 assertNull(yellowClass.getEnumConstants()); in testClassIsEnum()352 assertNull(greenClass.getEnumConstants()); in testClassIsEnum()
333 Enum[] elements = EmptyEnum.class.getEnumConstants(); in test_addAll_LCollection()375 elements = EnumWithInnerClass.class.getEnumConstants(); in test_addAll_LCollection()391 elements = EnumWithInnerClass.class.getEnumConstants(); in test_addAll_LCollection()479 Enum[] elements = EnumFoo.class.getEnumConstants(); in test_remove_LOject()523 Enum[] elements = EnumFoo.class.getEnumConstants(); in test_equals_LObject()533 elements = EnumFoo.class.getEnumConstants(); in test_equals_LObject()545 elements = EnumWithInnerClass.class.getEnumConstants(); in test_equals_LObject()674 Enum[] elements = EnumFoo.class.getEnumConstants(); in test_contains_LObject()746 Enum[] elements = EnumFoo.class.getEnumConstants(); in test_containsAll_LCollection()758 elements = EmptyEnum.class.getEnumConstants(); in test_containsAll_LCollection()
412 Object [] clazz = ExtendTestClass.class.getEnumConstants(); in test_getEnumConstants()414 Object [] constants = TestEnum.class.getEnumConstants(); in test_getEnumConstants()419 assertEquals(0, TestEmptyEnum.class.getEnumConstants().length); in test_getEnumConstants()
2278 public T[] getEnumConstants() { in getEnumConstants() method in Class