Package org.springframework.boot.context.embedded

Examples of org.springframework.boot.context.embedded.ConfigurableEmbeddedServletContainer


        .getInternalProxies());
  }

  @Test
  public void testCustomizeTomcat() throws Exception {
    ConfigurableEmbeddedServletContainer factory = mock(ConfigurableEmbeddedServletContainer.class);
    this.properties.customize(factory);
    verify(factory, never()).setContextPath("");
  }
View Full Code Here


    verify(factory, never()).setContextPath("");
  }

  @Test
  public void testCustomizeTomcatPort() throws Exception {
    ConfigurableEmbeddedServletContainer factory = mock(ConfigurableEmbeddedServletContainer.class);
    this.properties.setPort(8080);
    this.properties.customize(factory);
    verify(factory).setPort(8080);
  }
View Full Code Here

TOP

Related Classes of org.springframework.boot.context.embedded.ConfigurableEmbeddedServletContainer

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.