We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5c6244 commit 7d6e8c1Copy full SHA for 7d6e8c1
1 file changed
src/main/java/org/javawebstack/framework/testing/WebFrameworkTest.java
@@ -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