Package org.jboss.test.server.profileservice.component.persistence.support

Examples of org.jboss.test.server.profileservice.component.persistence.support.TestComponentMapper


   }
  
   public void testAdd() throws Exception
   {
      // Add the component mapper
      addComponentMapper(new TestComponentMapper(getPersistenceFactory()));

      TestComponent addComponent = createComponentMetaData("component3",
            new ObjectName("org.jboss:type=testComponent3"),
            createCompositeMetaData("composite3", 'c', new Integer(3)));
     
View Full Code Here


   }
  
   public void testUpdate() throws Exception
   {
      // Add the component mapper
      addComponentMapper(new TestComponentMapper(getPersistenceFactory()));

      // Get the components
      ManagedObject mo = createDeploymentMO();
      Iterator<?> iterator = ((CollectionValue) mo.getProperty("components").getValue()).iterator();
      ManagedObject component1 = (ManagedObject) ((GenericValue) iterator.next()).getValue();
View Full Code Here

   }
  
   public void testRemove() throws Exception
   {
      // Add the component mapper
      addComponentMapper(new TestComponentMapper(getPersistenceFactory()));

      // Get the components
      ManagedObject mo = createDeploymentMO();     
      Iterator<?> iterator = ((CollectionValue) mo.getProperty("components").getValue()).iterator();
      ManagedObject component1 = (ManagedObject) ((GenericValue) iterator.next()).getValue();
View Full Code Here

   }
  
   public void testNameChanges() throws Exception
   {
      // Add the component mapper
      addComponentMapper(new TestComponentMapper(getPersistenceFactory()));

      // Get the components
      ManagedObject mo = createDeploymentMO();

      PersistenceRoot root = new PersistenceRoot();
View Full Code Here

TOP

Related Classes of org.jboss.test.server.profileservice.component.persistence.support.TestComponentMapper

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.