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

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


      return (AbstractDependencyValueMetaData) value;
   }

   public void testInjectionWithBean() throws Exception
   {
      AbstractDependencyValueMetaData dependency = getInjection();
      assertEquals("Bean1", dependency.getValue());
      assertNull(dependency.getProperty());
      assertEquals(ControllerState.INSTALLED, dependency.getDependentState());
   }
View Full Code Here


      assertEquals(ControllerState.INSTALLED, dependency.getDependentState());
   }

   public void testInjectionWithProperty() throws Exception
   {
      AbstractDependencyValueMetaData dependency = getInjection();
      assertEquals("Dummy", dependency.getValue());
      assertEquals("Property1", dependency.getProperty());
      assertEquals(ControllerState.INSTALLED, dependency.getDependentState());
   }
View Full Code Here

      assertEquals(ControllerState.INSTALLED, dependency.getDependentState());
   }

   public void testInjectionWithState() throws Exception
   {
      AbstractDependencyValueMetaData dependency = getInjection();
      assertEquals("Dummy", dependency.getValue());
      assertNull(dependency.getProperty());
      assertEquals(ControllerState.CONFIGURED, dependency.getDependentState());
   }
View Full Code Here

      return (AbstractDependencyValueMetaData) getFactory();
   }

   public void testFactoryWithBean() throws Exception
   {
      AbstractDependencyValueMetaData dependency = getFactoryDependency();
      assertEquals("Bean1", dependency.getValue());
      assertNull(dependency.getProperty());
      assertEquals(ControllerState.INSTALLED, dependency.getDependentState());
   }
View Full Code Here

      assertEquals(ControllerState.INSTALLED, dependency.getDependentState());
   }

   public void testFactoryWithProperty() throws Exception
   {
      AbstractDependencyValueMetaData dependency = getFactoryDependency();
      assertEquals("Dummy", dependency.getValue());
      assertEquals("Property1", dependency.getProperty());
      assertEquals(ControllerState.INSTALLED, dependency.getDependentState());
   }
View Full Code Here

      assertEquals(ControllerState.INSTALLED, dependency.getDependentState());
   }

   public void testFactoryWithState() throws Exception
   {
      AbstractDependencyValueMetaData dependency = getFactoryDependency();
      assertEquals("Dummy", dependency.getValue());
      assertNull(dependency.getProperty());
      assertEquals(ControllerState.CONFIGURED, dependency.getDependentState());
   }
View Full Code Here

TOP

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

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.