Search in sources :

Example 1 with TagOverridesModule

use of org.webpieces.webserver.api.TagOverridesModule in project webpieces by deanhiller.

the class TestIncludeTypeTags method setUp.

@Before
public void setUp() {
    Module allOverrides = Modules.combine(platformOverrides, new TagOverridesModule(TagOverrideLookupForTesting.class));
    VirtualFileClasspath metaFile = new VirtualFileClasspath("tagsMeta.txt", WebserverForTest.class.getClassLoader());
    WebserverForTest webserver = new WebserverForTest(allOverrides, null, false, metaFile);
    webserver.start();
    http11Socket = http11Simulator.openHttp();
}
Also used : WebserverForTest(org.webpieces.webserver.WebserverForTest) TagOverridesModule(org.webpieces.webserver.api.TagOverridesModule) VirtualFileClasspath(org.webpieces.util.file.VirtualFileClasspath) Module(com.google.inject.Module) TagOverridesModule(org.webpieces.webserver.api.TagOverridesModule) Before(org.junit.Before)

Aggregations

Module (com.google.inject.Module)1 Before (org.junit.Before)1 VirtualFileClasspath (org.webpieces.util.file.VirtualFileClasspath)1 WebserverForTest (org.webpieces.webserver.WebserverForTest)1 TagOverridesModule (org.webpieces.webserver.api.TagOverridesModule)1