generated from BudDavis/TicTacToe
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
247f685
commit 4bc71c3
Showing
1 changed file
with
11 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,17 @@ | ||
package uta.cse3310; | ||
|
||
package uta.cse3310; | ||
import org.junit.jupiter.api.Test; | ||
import static org.junit.jupiter.api.Assertions.*; | ||
|
||
class HttpServerTest { | ||
|
||
@Test | ||
void testHttpServerCreation() { | ||
HttpServer server = new HttpServer(8080, "src/main/resources"); | ||
assertNotNull(server); | ||
} | ||
} | ||
@Test | ||
void testHttpServerCreation() { | ||
int port = 8080; | ||
String htmlDir = "src/main/resources"; | ||
HttpServer server = new HttpServer(port, htmlDir); | ||
|
||
|
||
assertNotNull(server, "Server should not be null"); | ||
} | ||
} |