Package org.jboss.forge.test.roaster.model.common

Examples of org.jboss.forge.test.roaster.model.common.MockEnumType


   @Test
   public void testParseEnumValueStaticImport() throws Exception
   {
      List<AnnotationSource<JavaClassSource>> annotations = getTarget().getAnnotations();
      AnnotationSource<JavaClassSource> annotation = annotations.get(3);
      MockEnumType enumValue = annotation.getEnumValue(MockEnumType.class);
      assertEquals(MockEnumType.FOO, enumValue);
   }
View Full Code Here


   @Test
   public void testParseEnumValueStaticImport() throws Exception
   {
      List<AnnotationSource<JavaClassSource>> annotations = getTarget().getAnnotations();
      AnnotationSource<JavaClassSource> annotation = annotations.get(annotations.size() - 2);
      MockEnumType enumValue = annotation.getEnumValue(MockEnumType.class);
      assertEquals(MockEnumType.FOO, enumValue);
   }
View Full Code Here

TOP

Related Classes of org.jboss.forge.test.roaster.model.common.MockEnumType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.