Package org.jboss.arquillian.container.test.api

Examples of org.jboss.arquillian.container.test.api.Config


    private void startServer(RunningServer server) {
        if (server.config().isEmpty())  // default config
            getController().start(server.name());
        else
            getController().start(server.name(), new Config().add(SERVER_CONFIG_PROPERTY, server.config()).map());
    }
View Full Code Here


   }

   @Test
   public void shouldFireStartContainerEventOnStartWithOverrides() throws Exception
   {
      controller.get().start(MANUAL_SERVER_NAME, new Config().add("managementPort", "19999").map());

      assertEventFired(StartContainer.class, 1);
   }
View Full Code Here

   }

   @Test(expected = IllegalArgumentException.class)
   public void shouldThrowExceptionOnStartWithOverridesWhenManaged() throws Exception
   {
      controller.get().start(MANAGED_SERVER_NAME, new Config().add("managementPort", "19999").map());
   }
View Full Code Here

      DeploymentDescription description = createDeploymentDescription(containerName)
                               .shouldBeManaged(managed);

      scenario.get().addDeployment(description);
      controller.get().start(containerName);
      controller.get().start(containerName, new Config().add("managementPort", "19999").map());
   }
View Full Code Here

TOP

Related Classes of org.jboss.arquillian.container.test.api.Config

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.