Skip to content

Commit 7d6e8c1

Browse files
committed
Added simple WebFrameworkTest class
1 parent f5c6244 commit 7d6e8c1

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
package org.javawebstack.framework.testing;
2+
3+
import org.javawebstack.framework.WebApplication;
4+
import org.javawebstack.httpserver.test.HTTPTest;
5+
6+
public abstract class WebFrameworkTest {
7+
8+
private HTTPTest httpTest;
9+
private WebApplication webApplication;
10+
11+
public WebFrameworkTest(WebApplication webApplication){
12+
this.webApplication = webApplication;
13+
httpTest = new HTTPTest(webApplication.getServer()) {};
14+
}
15+
16+
public HTTPTest getHttpTest() {
17+
return httpTest;
18+
}
19+
}

0 commit comments

Comments
 (0)