Package org.jboss.deployers.plugins.structure

Examples of org.jboss.deployers.plugins.structure.ContextInfoImpl.addMetaDataPath()


   {
      ContextInfoImpl context = createDefault();
      assertEquals("", context.getPath());
      assertDefaultNonPath(context);
     
      context.addMetaDataPath("metaDataPath");
      assertDefaultMetaDataPath(context.getMetaDataPath());
      assertDefaultClassPath(context.getClassPath());

      context.addMetaDataPath("added");
      assertEquals(Arrays.asList("metaDataPath", "added"), context.getMetaDataPath());
View Full Code Here


     
      context.addMetaDataPath("metaDataPath");
      assertDefaultMetaDataPath(context.getMetaDataPath());
      assertDefaultClassPath(context.getClassPath());

      context.addMetaDataPath("added");
      assertEquals(Arrays.asList("metaDataPath", "added"), context.getMetaDataPath());
      assertDefaultClassPath(context.getClassPath());
   }
  
   public void testAddToDefaultMetaDataPath()
View Full Code Here

      assertEquals("", context.getPath());
      assertDefaultNonPath(context);

      try
      {
         context.addMetaDataPath(null);
         fail("Should not be here!");
      }
      catch (Exception e)
      {
         checkThrowable(IllegalArgumentException.class, e);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.