Initial commit for Software Engineerung & Programming Course
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
22
Testfaelle/Test/ClientConnectionThreadTest.java
Normal file
22
Testfaelle/Test/ClientConnectionThreadTest.java
Normal file
@@ -0,0 +1,22 @@
|
||||
package Test;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
public class ClientConnectionThreadTest {
|
||||
|
||||
public ClientConnectionThreadTest() {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testClientConnectionThread() {
|
||||
fail("Not yet implemented"); // TODO
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testRun() {
|
||||
fail("Not yet implemented"); // TODO
|
||||
}
|
||||
|
||||
}
|
||||
28
Testfaelle/Test/ServerIOThreadTest.java
Normal file
28
Testfaelle/Test/ServerIOThreadTest.java
Normal file
@@ -0,0 +1,28 @@
|
||||
package Test;
|
||||
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.net.Socket;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
public class ServerIOThreadTest {
|
||||
|
||||
public ServerIOThreadTest() {
|
||||
}
|
||||
private Socket ioSocket;
|
||||
private String userName;
|
||||
|
||||
protected void setUp() {
|
||||
this.ioSocket = new Socket();
|
||||
this.userName = "test-1";
|
||||
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testRun(){
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user