Package org.jboss.annotation.javaee

Examples of org.jboss.annotation.javaee.Icon.language()


   public void testDefaultLanguage() throws Exception
   {
      Icon icon = unmarshal(Icon.class);
      assertEquals("small", icon.smallIcon());
      assertEquals("large", icon.largeIcon());
      assertEquals(Description.DEFAULT_LANGUAGE, icon.language());
   }
  
   public void testNonDefaultLanguage() throws Exception
   {
      //enableTrace("org.jboss.xb");
View Full Code Here


   {
      //enableTrace("org.jboss.xb");
      Icon icon = unmarshal(Icon.class);
      assertEquals("petite", icon.smallIcon());
      assertEquals("grand", icon.largeIcon());
      assertEquals("fr", icon.language());
   }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.