use of org.webpieces.webserver.WebserverForTest in project webpieces by deanhiller.
the class TestStylesheetScriptTags method setUp.
@Before
public void setUp() {
VirtualFileClasspath metaFile = new VirtualFileClasspath("tagsMeta.txt", WebserverForTest.class.getClassLoader());
WebserverForTest webserver = new WebserverForTest(platformOverrides, null, false, metaFile);
webserver.start();
http11Socket = http11Simulator.openHttp();
}
use of org.webpieces.webserver.WebserverForTest in project webpieces by deanhiller.
the class TestScopesSelenium method setUp.
@Ignore
@Before
public void setUp() throws InterruptedException, ClassNotFoundException {
Asserts.assertWasCompiledWithParamNames("test");
VirtualFileClasspath metaFile = new VirtualFileClasspath("scopesMeta.txt", WebserverForTest.class.getClassLoader());
WebserverForTest webserver = new WebserverForTest(new SeleniumOverridesForTest(), null, true, metaFile);
webserver.start();
port = webserver.getUnderlyingHttpChannel().getLocalAddress().getPort();
}
use of org.webpieces.webserver.WebserverForTest in project webpieces by deanhiller.
the class TestGetSetTags method setUp.
@Before
public void setUp() {
VirtualFileClasspath metaFile = new VirtualFileClasspath("tagsMeta.txt", WebserverForTest.class.getClassLoader());
WebserverForTest webserver = new WebserverForTest(platformOverrides, null, false, metaFile);
webserver.start();
http11Socket = http11Simulator.openHttp();
}
use of org.webpieces.webserver.WebserverForTest in project webpieces by deanhiller.
the class TestIfGenerator method setUp.
@Before
public void setUp() {
VirtualFileClasspath metaFile = new VirtualFileClasspath("tagsMeta.txt", WebserverForTest.class.getClassLoader());
WebserverForTest webserver = new WebserverForTest(platformOverrides, null, false, metaFile);
webserver.start();
http11Socket = http11Simulator.openHttp();
}
use of org.webpieces.webserver.WebserverForTest in project webpieces by deanhiller.
the class TestStaticPaths method setUp.
@Before
public void setUp() {
VirtualFileClasspath metaFile = new VirtualFileClasspath("staticMeta.txt", WebserverForTest.class.getClassLoader());
WebserverForTest webserver = new WebserverForTest(platformOverrides, null, false, metaFile);
cacheDir = webserver.getCacheDir();
webserver.start();
http11Socket = http11Simulator.openHttp();
}
Aggregations