jfreerails.network
Class AbstractEchoGameServerTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by jfreerails.network.AbstractEchoGameServerTestCase
All Implemented Interfaces:
junit.framework.Test

public abstract class AbstractEchoGameServerTestCase
extends junit.framework.TestCase

Test cases that use EchoGameServer should extend this class.

Author:
Luke

Field Summary
(package private)  EchoGameServer echoGameServer
           
(package private)  java.lang.String ipAddress
           
(package private)  InetConnectionAccepter server
           
 
Constructor Summary
AbstractEchoGameServerTestCase()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

server

InetConnectionAccepter server

echoGameServer

EchoGameServer echoGameServer

ipAddress

final java.lang.String ipAddress
See Also:
Constant Field Values
Constructor Detail

AbstractEchoGameServerTestCase

public AbstractEchoGameServerTestCase()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception