edu.sdsc.inca
Class ServerClientTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by edu.sdsc.inca.ServerClientTest
All Implemented Interfaces:
junit.framework.Test

public class ServerClientTest
extends junit.framework.TestCase

Author:
Jim Hayes

Field Summary
protected static org.apache.log4j.Logger logger
           
static java.lang.String PING_DATA
           
static Statement PING_REPLY
           
static Statement PING_STATEMENT
           
static java.lang.String SERVER_LOGFILE_PATH
           
 
Constructor Summary
ServerClientTest()
           
 
Method Summary
 void testLogCommands()
          Make sure the Client getLog and logConfig commands work.
 void testPingCommand()
          Make sure the Client ping command works.
 void testPingStatement()
          Make sure that a ping statement works.
 void testStartNoError()
          Test a start message with no content.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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

PING_DATA

public static final java.lang.String PING_DATA
See Also:
Constant Field Values

PING_STATEMENT

public static final Statement PING_STATEMENT

PING_REPLY

public static final Statement PING_REPLY

SERVER_LOGFILE_PATH

public static final java.lang.String SERVER_LOGFILE_PATH
See Also:
Constant Field Values

logger

protected static org.apache.log4j.Logger logger
Constructor Detail

ServerClientTest

public ServerClientTest()
Method Detail

testStartNoError

public void testStartNoError()
Test a start message with no content.


testPingStatement

public void testPingStatement()
Make sure that a ping statement works.


testPingCommand

public void testPingCommand()
Make sure the Client ping command works.


testLogCommands

public void testLogCommands()
Make sure the Client getLog and logConfig commands work.