Server
Class ServerTest

java.lang.Object
  extended by Server.ServerTest

public class ServerTest
extends java.lang.Object

Start the server to run tests on


Constructor Summary
ServerTest()
           
 
Method Summary
static java.net.Socket connect()
          Socket connecting code from Minesweeper lab (no need to rewrite it!
 void newconv_five_users()
           
 void newconv_no_invites()
           
 void newconv_one_invite()
           
 void poorly_formatted_messages()
           
 void request_taken_username()
           
 void request_unused_username()
           
 void start_server()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerTest

public ServerTest()
Method Detail

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