Package org.jboss.system.metadata

Examples of org.jboss.system.metadata.ServiceValueMetaData


      super(name);
   }

   public void testJBXB() throws Exception
   {
      ServiceValueMetaData value = unmarshallSingleValue();
      assertJBXBValue(value, "dummy");
   }
View Full Code Here


      super(name);
   }

   public void testDependency() throws Exception
   {
      ServiceValueMetaData value = unmarshallSingleValue();
      assertDependencyValue(value, TEST1);
   }
View Full Code Here

      assertDependencyValue(value, TEST1);
   }

   public void testDependencyProxyType() throws Exception
   {
      ServiceValueMetaData value = unmarshallSingleValue();
      assertDependencyValue(value, TEST1, "ProxyType");
   }
View Full Code Here

      assertDependencyValue(value, TEST1, "ProxyType");
   }

   public void testDependencyNested() throws Exception
   {
      ServiceValueMetaData value = unmarshallSingleValue();
      assertDependencyValue(value, TEST1);
   }
View Full Code Here

      super(name);
   }

   public void testBasicValueFactory() throws Exception
   {
      ServiceValueMetaData value = unmarshallSingleValue();
      assertValueFactoryValue(value, SIMPLE_LIST, DEFAULT);
   }
View Full Code Here

   }

   @SuppressWarnings("unchecked")
   public void testMinimal() throws Exception
   {
      ServiceValueMetaData value = unmarshallSingleValue();
      assertValueFactoryValue(value, Collections.EMPTY_LIST, null);
   }
View Full Code Here

      catch (Exception expected) {}
   }

   public void testNoDefault() throws Exception
   {
      ServiceValueMetaData value = unmarshallSingleValue();
      assertValueFactoryValue(value, SIMPLE_LIST, null);
   }
View Full Code Here

   }

   @SuppressWarnings("unchecked")
   public void testNoParameter() throws Exception
   {
      ServiceValueMetaData value = unmarshallSingleValue();
      assertValueFactoryValue(value, Collections.EMPTY_LIST, DEFAULT);
   }
View Full Code Here

      assertValueFactoryValue(value, Collections.EMPTY_LIST, DEFAULT);
   }

   public void testNullParameter() throws Exception
   {
      ServiceValueMetaData value = unmarshallSingleValue();
      ServiceValueFactoryParameterMetaData one = new ServiceValueFactoryParameterMetaData(null, null, null);
      ServiceValueFactoryParameterMetaData two = new ServiceValueFactoryParameterMetaData(TWO, null, null);
      assertValueFactoryValue(value, Arrays.asList(one, two), DEFAULT);
   }
View Full Code Here

      assertValueFactoryValue(value, Arrays.asList(one, two), DEFAULT);
   }

   public void testElementParameter() throws Exception
   {
      ServiceValueMetaData value = unmarshallSingleValue();
      ServiceValueFactoryParameterMetaData one = new ServiceValueFactoryParameterMetaData("<element/>", null, null);
      assertValueFactoryValue(value, Arrays.asList(one), DEFAULT);
   }
View Full Code Here

TOP

Related Classes of org.jboss.system.metadata.ServiceValueMetaData

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.