Package info.caiiiycuk.stail.impl

Examples of info.caiiiycuk.stail.impl.ServerConfig


  @Test
  public void sampleServerConfig() throws ScriptException {
    InputStream resourceStream = ConfigTest.class.getResourceAsStream("config.js");
    Configuration configuration = new Configuration(resourceStream);
   
    ServerConfig serverConfig = configuration.getServerConfig();
   
    Assert.assertNotNull(serverConfig);
    Assert.assertEquals(8080, serverConfig.getPort());
   
    try {
      resourceStream.close();
    } catch (IOException e) {
      throw new RuntimeException(e);
View Full Code Here

TOP

Related Classes of info.caiiiycuk.stail.impl.ServerConfig

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.