Package org.jboss.arquillian.protocol.servlet.v_3

Examples of org.jboss.arquillian.protocol.servlet.v_3.ServletProtocol


   {
      ServletProtocolConfiguration config = new ServletProtocolConfiguration();
      config.setHost("10.10.10.1");
      config.setPort(90);
     
      ServletProtocol protocol = new ServletProtocol();
     
      ServletMethodExecutor executor = protocol.getExecutor(
            config,
            new ProtocolMetaData()
               .addContext(
                     new HTTPContext("127.0.0.1", 8080)
                        .add(new Servlet(ServletMethodExecutor.ARQUILLIAN_SERVLET_NAME, "test"))));
View Full Code Here


{

   @Test
   public void shouldGenerateDependencies() throws Exception {
     
      Archive<?> archive = new ProtocolDeploymentAppender().createAuxiliaryArchive();
     
      Assert.assertTrue(
            "Should have added web.xml",
            archive.contains(ArchivePaths.create("META-INF/web-fragment.xml"))
      );
View Full Code Here

TOP

Related Classes of org.jboss.arquillian.protocol.servlet.v_3.ServletProtocol

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.