Searched refs:MyEnum (Results 1 – 3 of 3) sorted by relevance
25 enum MyEnum { enum in OldAndroidEnumTest40 assertTrue(MyEnum.ZERO.compareTo(MyEnum.ONE) < 0); in testEnum()41 assertEquals(MyEnum.ZERO, MyEnum.ZERO); in testEnum()42 assertTrue(MyEnum.TWO.compareTo(MyEnum.ONE) > 0); in testEnum()43 assertTrue(MyEnum.FOUR.compareTo(MyEnum.ONE) > 0); in testEnum()45 assertEquals("ONE", MyEnum.ONE.name()); in testEnum()46 assertSame(MyEnum.ONE.getDeclaringClass(), MyEnum.class); in testEnum()47 assertSame(MyEnum.FOUR.getDeclaringClass(), MyEnum.class); in testEnum()49 assertTrue(MyEnum.FOUR.isFour()); in testEnum()51 MyEnum e; in testEnum()[all …]
30 private static enum MyEnum { enum in ObjectOutputStream2Test50 os.writeObject(MyEnum.TWO); in test_writeReadEnum()57 assertSame(MyEnum.TWO, readObj); in test_writeReadEnum()
560 enum MyEnum { A, B, C; } enum in JSONArrayTest569 JSONArray a2 = new JSONArray(MyEnum.values()); in testEnums()