Searched refs:testEnum (Results 1 – 9 of 9) sorted by relevance
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/builders/ |
D | EnumDeclarationBuildersTest.java | 40 EnumDeclaration testEnum = cu.addEnum("test"); in testAddImplements() local 41 testEnum.addImplementedType(Function.class); in testAddImplements() 45 assertEquals(1, testEnum.getImplementedTypes().size()); in testAddImplements() 46 … assertEquals(Function.class.getSimpleName(), testEnum.getImplementedTypes(0).getNameAsString()); in testAddImplements() 51 EnumDeclaration testEnum = cu.addEnum("test"); in testAddEnumConstant() local 52 testEnum.addEnumConstant("MY_ENUM_CONSTANT"); in testAddEnumConstant() 53 assertEquals(1, testEnum.getEntries().size()); in testAddEnumConstant() 54 assertEquals("MY_ENUM_CONSTANT", testEnum.getEntry(0).getNameAsString()); in testAddEnumConstant()
|
D | FieldDeclarationBuildersTest.java | 40 private EnumDeclaration testEnum = cu.addEnum("testEnum"); field in FieldDeclarationBuildersTest 81 testEnum.addPrivateField(int.class, "myField").createGetter(); in testCreateGetterInEnum() 82 assertEquals(2, testEnum.getMembers().size()); in testCreateGetterInEnum() 83 assertEquals(MethodDeclaration.class, testEnum.getMember(1).getClass()); in testCreateGetterInEnum() 84 List<MethodDeclaration> methodsWithName = testEnum.getMethodsByName("getMyField"); in testCreateGetterInEnum() 94 testEnum.addPrivateField(int.class, "myField").createSetter(); in testCreateSetterInEnum() 95 assertEquals(2, testEnum.getMembers().size()); in testCreateSetterInEnum() 96 assertEquals(MethodDeclaration.class, testEnum.getMember(1).getClass()); in testCreateSetterInEnum() 97 List<MethodDeclaration> methodsWithName = testEnum.getMethodsByName("setMyField"); in testCreateSetterInEnum()
|
/external/clang/test/SemaObjCXX/ |
D | boxing-illegal-types.mm | 53 void testEnum(void *p) { function
|
/external/caliper/caliper/src/test/java/com/google/caliper/memory/ |
D | ObjectGraphMeasurerTest.java | 41 @Test public void testEnum() { in testEnum() method in ObjectGraphMeasurerTest
|
/external/clang/test/SemaObjC/ |
D | boxing-illegal.m | 53 void testEnum(void *p) { function
|
/external/clang/test/Analysis/ |
D | inline.cpp | 243 void testEnum() { in testEnum() function
|
/external/protobuf/python/google/protobuf/internal/ |
D | unknown_fields_test.py | 173 def testEnum(self): member in UnknownFieldsAccessorsTest
|
D | descriptor_pool_test.py | 589 def testEnum(self): member in AddDescriptorTest
|
/external/clang/test/FixIt/ |
D | format.m | 232 void testEnum() { function
|