Package org.jboss.beans.metadata.spi

Examples of org.jboss.beans.metadata.spi.ParameterMetaData


      assertNull(parameter.getValue());
   }
  
   public void testParameterWithAnnotations() throws Exception
   {
      ParameterMetaData parameter = getParameter("ParameterWithAnnotations.xml");
      assertNull(parameter.getType());
      HashSet<String> expected = new HashSet<String>();
      expected.add("org.jboss.test.kernel.deployment.xml.support.Annotation1");
      expected.add("org.jboss.test.kernel.deployment.xml.support.Annotation2");
      expected.add("org.jboss.test.kernel.deployment.xml.support.Annotation3");
      assertAnnotations(expected, parameter.getAnnotations());
      assertNull(parameter.getValue());
   }
View Full Code Here


      assertNull(parameter.getValue());
   }
  
   public void testParameterWithPlainValue() throws Exception
   {
      ParameterMetaData parameter = getParameter("ParameterWithPlainValue.xml");
      assertNull(parameter.getType());
      assertNull(parameter.getAnnotations());
      assertPlainValue("PlainValue", parameter.getValue());
   }
View Full Code Here

      assertPlainValue("PlainValue", parameter.getValue());
   }
  
   public void testParameterWithValue() throws Exception
   {
      ParameterMetaData parameter = getParameter("ParameterWithValue.xml");
      assertNull(parameter.getType());
      assertNull(parameter.getAnnotations());
      assertValue("Value", parameter.getValue());
   }
View Full Code Here

      assertValue("Value", parameter.getValue());
   }
  
   public void testParameterWithInjection() throws Exception
   {
      ParameterMetaData parameter = getParameter("ParameterWithInjection.xml");
      assertNull(parameter.getType());
      assertNull(parameter.getAnnotations());
      assertInjection(parameter.getValue());
   }
View Full Code Here

      assertInjection(parameter.getValue());
   }
  
   public void testParameterWithCollection() throws Exception
   {
      ParameterMetaData parameter = getParameter("ParameterWithCollection.xml");
      assertNull(parameter.getType());
      assertNull(parameter.getAnnotations());
      assertCollection(parameter.getValue());
   }
View Full Code Here

      assertCollection(parameter.getValue());
   }
  
   public void testParameterWithList() throws Exception
   {
      ParameterMetaData parameter = getParameter("ParameterWithList.xml");
      assertNull(parameter.getType());
      assertNull(parameter.getAnnotations());
      assertList(parameter.getValue());
   }
View Full Code Here

      assertList(parameter.getValue());
   }
  
   public void testParameterWithSet() throws Exception
   {
      ParameterMetaData parameter = getParameter("ParameterWithSet.xml");
      assertNull(parameter.getType());
      assertNull(parameter.getAnnotations());
      assertSet(parameter.getValue());
   }
View Full Code Here

      assertSet(parameter.getValue());
   }
  
   public void testParameterWithArray() throws Exception
   {
      ParameterMetaData parameter = getParameter("ParameterWithArray.xml");
      assertNull(parameter.getType());
      assertNull(parameter.getAnnotations());
      assertArray(parameter.getValue());
   }
View Full Code Here

      assertArray(parameter.getValue());
   }
  
   public void testParameterWithMap() throws Exception
   {
      ParameterMetaData parameter = getParameter("ParameterWithMap.xml");
      assertNull(parameter.getType());
      assertNull(parameter.getAnnotations());
      assertMap(parameter.getValue());
   }
View Full Code Here

      assertMap(parameter.getValue());
   }
  
   public void testParameterWithThis() throws Exception
   {
      ParameterMetaData parameter = getParameter("ParameterWithThis.xml");
      assertNull(parameter.getType());
      assertNull(parameter.getAnnotations());
      assertThis(parameter.getValue());
   }
View Full Code Here

TOP

Related Classes of org.jboss.beans.metadata.spi.ParameterMetaData

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.