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

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


      assertEquals("SimpleDeployment", deployment.getName());
      assertNull(deployment.getClassLoader());
      List<?> beans = deployment.getBeans();
      assertNotNull(beans);
      assertEquals(1, beans.size());
      BeanMetaData bean = (BeanMetaData) beans.get(0);
      assertNotNull(bean);
      assertEquals("Bean1", bean.getName());
      assertEquals(Object.class.getName(), bean.getBean());
   }
View Full Code Here


      assertEquals("SimpleDeployment", deployment.getName());
      assertNull(deployment.getClassLoader());
      List<?> beans = deployment.getBeans();
      assertNotNull(beans);
      assertEquals(3, beans.size());
      BeanMetaData bean = (BeanMetaData) beans.get(0);
      assertNotNull(bean);
      assertEquals("Bean1", bean.getName());
      assertEquals(Object.class.getName(), bean.getBean());
      bean = (BeanMetaData) beans.get(1);
      assertNotNull(bean);
      assertEquals("Bean2", bean.getName());
      assertEquals(Object.class.getName(), bean.getBean());
      bean = (BeanMetaData) beans.get(2);
      assertNotNull(bean);
      assertEquals("Bean3", bean.getName());
      assertEquals(Object.class.getName(), bean.getBean());
   }
View Full Code Here

      assertEquals("SimpleDeployment", deployment.getName());
      assertNull(deployment.getClassLoader());
      List<?> beans = deployment.getBeans();
      assertNotNull(beans);
      assertEquals(1, beans.size());
      BeanMetaData bean = (BeanMetaData) beans.get(0);
      assertNotNull(bean);
      assertEquals("Bean1", bean.getName());
      assertEquals("GenericBeanFactory", bean.getBean());
   }
View Full Code Here

      assertEquals("SimpleDeployment", deployment.getName());
      assertNull(deployment.getClassLoader());
      List<?> beans = deployment.getBeans();
      assertNotNull(beans);
      assertEquals(3, beans.size());
      BeanMetaData bean = (BeanMetaData) beans.get(0);
      assertNotNull(bean);
      assertEquals("Bean1", bean.getName());
      assertEquals("GenericBeanFactory", bean.getBean());
      bean = (BeanMetaData) beans.get(1);
      assertNotNull(bean);
      assertEquals("Bean2", bean.getName());
      assertEquals("GenericBeanFactory", bean.getBean());
      bean = (BeanMetaData) beans.get(2);
      assertNotNull(bean);
      assertEquals("Bean3", bean.getName());
      assertEquals("GenericBeanFactory", bean.getBean());
   }
View Full Code Here

      factory = (BeanMetaDataFactory) beanFactories.get(2);
      assertEquals(TestBeanMetaDataFactory2.class.getName(), factory.getClass().getName());
      List<?> beans = deployment.getBeans();
      assertNotNull(beans);
      assertEquals(6, beans.size());
      BeanMetaData bean = (BeanMetaData) beans.get(0);
      assertNotNull(bean);
      assertEquals("Bean1", bean.getBean());
      bean = (BeanMetaData) beans.get(1);
      assertNotNull(bean);
      assertEquals("Bean2", bean.getBean());
      bean = (BeanMetaData) beans.get(2);
      assertNotNull(bean);
      assertEquals("Bean3", bean.getBean());
      bean = (BeanMetaData) beans.get(3);
      assertNotNull(bean);
      assertEquals("Bean4", bean.getBean());
      bean = (BeanMetaData) beans.get(4);
      assertNotNull(bean);
      assertEquals("Bean5", bean.getBean());
      bean = (BeanMetaData) beans.get(5);
      assertNotNull(bean);
      assertEquals("Bean6", bean.getBean());
   }
View Full Code Here

      BeanMetaDataFactory factory = (BeanMetaDataFactory) beanFactories.get(0);
      assertEquals(TestBeanMetaDataFactory.class.getName(), factory.getClass().getName());
      List<?> beans = deployment.getBeans();
      assertNotNull(beans);
      assertEquals(2, beans.size());
      BeanMetaData bean = (BeanMetaData) beans.get(0);
      assertNotNull(bean);
      assertEquals("Bean1", bean.getBean());
      bean = (BeanMetaData) beans.get(1);
      assertNotNull(bean);
      assertEquals("Bean2", bean.getBean());
   }
View Full Code Here

      assertEquals("SimpleDeployment", deployment.getName());
      assertNull(deployment.getClassLoader());
      List<?> beans = deployment.getBeans();
      assertNotNull(beans);
      assertEquals(8, beans.size());
      BeanMetaData bean = (BeanMetaData) beans.get(0);
      assertNotNull(bean);
      assertEquals("Bean1", bean.getName());
      assertEquals(Object.class.getName(), bean.getBean());
      bean = (BeanMetaData) beans.get(1);
      assertNotNull(bean);
      assertEquals("Bean2", bean.getName());
      assertEquals("GenericBeanFactory", bean.getBean());
      bean = (BeanMetaData) beans.get(2);
      assertNotNull(bean);
      assertEquals("Bean1", bean.getBean());
      bean = (BeanMetaData) beans.get(3);
      assertNotNull(bean);
      assertEquals("Bean2", bean.getBean());
      bean = (BeanMetaData) beans.get(4);
      assertNotNull(bean);
      assertEquals("Bean3", bean.getName());
      assertEquals(Object.class.getName(), bean.getBean());
      bean = (BeanMetaData) beans.get(5);
      assertNotNull(bean);
      assertEquals("Bean4", bean.getName());
      assertEquals("GenericBeanFactory", bean.getBean());
      bean = (BeanMetaData) beans.get(6);
      assertNotNull(bean);
      assertEquals("Bean3", bean.getBean());
      bean = (BeanMetaData) beans.get(7);
      assertNotNull(bean);
      assertEquals("Bean4", bean.getBean());
   }
View Full Code Here

TOP

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

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.