Package org.jboss.test.xb.builder.object.mc.support.model

Examples of org.jboss.test.xb.builder.object.mc.support.model.StringValueMetaData


      return (StringValueMetaData) value;
   }
  
   public void testValue() throws Exception
   {
      StringValueMetaData value = getValue();
      assertNull(value.getType());
      assertNull(value.getUnderlyingValue());
   }
View Full Code Here


      assertNull(value.getUnderlyingValue());
   }
  
   public void testValueWithClass() throws Exception
   {
      StringValueMetaData value = getValue();
      assertEquals("ValueClass", value.getType());
      assertNull(value.getUnderlyingValue());
   }
View Full Code Here

      assertNull(value.getUnderlyingValue());
   }
  
   public void testValueWithValue() throws Exception
   {
      StringValueMetaData value = getValue();
      assertNull(value.getType());
      assertEquals("Value", value.getUnderlyingValue());
   }
View Full Code Here

      assertNotNull("PropertyName", property.getName());
      assertNull(property.getAnnotations());
      ValueMetaData value = property.getValue();
      assertNotNull(value);
      assertTrue(value instanceof StringValueMetaData);
      StringValueMetaData string = (StringValueMetaData) value;
      assertEquals("PropertyClass", string.getType());
   }
View Full Code Here

   }
  
   protected void assertStringValue(String type, String expected, ValueMetaData valueMetaData)
   {
      assertValue(expected, valueMetaData);
      StringValueMetaData stringValueMetaData = (StringValueMetaData) valueMetaData;
      assertEquals(type, stringValueMetaData.getType());
   }
View Full Code Here

TOP

Related Classes of org.jboss.test.xb.builder.object.mc.support.model.StringValueMetaData

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.