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

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


      return (AbstractCollectionMetaData) value;
   }
  
   public void testCollection() throws Exception
   {
      AbstractCollectionMetaData collection = getCollection();
      assertNull(collection.getType());
      assertNull(collection.getElementType());
   }
View Full Code Here


      assertNull(collection.getElementType());
   }
  
   public void testCollectionWithClass() throws Exception
   {
      AbstractCollectionMetaData collection = getCollection();
      assertEquals("CollectionClass", collection.getType());
      assertNull(collection.getElementType());
   }
View Full Code Here

      assertNull(collection.getElementType());
   }
  
   public void testCollectionWithElementClass() throws Exception
   {
      AbstractCollectionMetaData collection = getCollection();
      assertNull(collection.getType());
      assertEquals("ElementClass", collection.getElementType());
   }
View Full Code Here

      assertEquals("ElementClass", collection.getElementType());
   }
  
   public void testCollectionWithValue() throws Exception
   {
      AbstractCollectionMetaData collection = getCollection();
      assertNull(collection.getType());
      assertNull(collection.getElementType());
      assertValue("Value", getValue(collection));
   }
View Full Code Here

      assertValue("Value", getValue(collection));
   }
  
   public void testCollectionWithValues() throws Exception
   {
      AbstractCollectionMetaData collection = getCollection();
      assertNull(collection.getType());
      assertNull(collection.getElementType());
      assertValues(collection, "Value1", "Value2", "Value3");
   }
View Full Code Here

      assertValues(collection, "Value1", "Value2", "Value3");
   }
  
   public void testCollectionWithInjection() throws Exception
   {
      AbstractCollectionMetaData collection = getCollection();
      assertNull(collection.getType());
      assertNull(collection.getElementType());
      assertInjection(getValue(collection));
   }
View Full Code Here

      assertInjection(getValue(collection));
   }
  
   public void testCollectionWithCollection() throws Exception
   {
      AbstractCollectionMetaData collection = getCollection();
      assertNull(collection.getType());
      assertNull(collection.getElementType());
      assertCollection(getValue(collection));
   }
View Full Code Here

      assertCollection(getValue(collection));
   }
  
   public void testCollectionWithList() throws Exception
   {
      AbstractCollectionMetaData collection = getCollection();
      assertNull(collection.getType());
      assertNull(collection.getElementType());
      assertList(getValue(collection));
   }
View Full Code Here

      assertList(getValue(collection));
   }
  
   public void testCollectionWithSet() throws Exception
   {
      AbstractCollectionMetaData collection = getCollection();
      assertNull(collection.getType());
      assertNull(collection.getElementType());
      assertSet(getValue(collection));
   }
View Full Code Here

      assertSet(getValue(collection));
   }
  
   public void testCollectionWithArray() throws Exception
   {
      AbstractCollectionMetaData collection = getCollection();
      assertNull(collection.getType());
      assertNull(collection.getElementType());
      assertArray(getValue(collection));
   }
View Full Code Here

TOP

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

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.