Server
Class ServerTest
java.lang.Object
Server.ServerTest
public class ServerTest
- extends java.lang.Object
Start the server to run tests on
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerTest
public ServerTest()
start_server
public void start_server()
request_unused_username
public void request_unused_username()
request_taken_username
public void request_taken_username()
newconv_no_invites
public void newconv_no_invites()
newconv_one_invite
public void newconv_one_invite()
newconv_five_users
public void newconv_five_users()
poorly_formatted_messages
public void poorly_formatted_messages()
connect
public static java.net.Socket connect()
throws java.io.IOException
- Socket connecting code from Minesweeper lab (no need to rewrite it!
- Returns:
- Socket to use for communication with the server
- Throws:
java.io.IOException - if there is an issue creating the socket