use of org.webpieces.util.file.VirtualFileClasspath 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();
}
use of org.webpieces.util.file.VirtualFileClasspath in project webpieces by deanhiller.
the class TestStaticSelenium method setUp.
@Before
public void setUp() throws InterruptedException, ClassNotFoundException {
Asserts.assertWasCompiledWithParamNames("test");
VirtualFileClasspath metaFile = new VirtualFileClasspath("staticMeta.txt", WebserverForTest.class.getClassLoader());
WebserverForTest webserver = new WebserverForTest(new SeleniumOverridesForTest(), null, true, metaFile);
webserver.start();
port = webserver.getUnderlyingHttpChannel().getLocalAddress().getPort();
}
use of org.webpieces.util.file.VirtualFileClasspath in project webpieces by deanhiller.
the class TestExtends 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.util.file.VirtualFileClasspath in project webpieces by deanhiller.
the class TestEscapeTypeTags 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.util.file.VirtualFileClasspath in project webpieces by deanhiller.
the class TestListGenerator 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();
}
Aggregations