|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase edu.sdsc.inca.ServerClientTest
public class ServerClientTest
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 |
testLocalhostResolution()
Make sure we can resolve localhost |
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 |
---|
public static final java.lang.String PING_DATA
public static final Statement PING_STATEMENT
public static final Statement PING_REPLY
public static final java.lang.String SERVER_LOGFILE_PATH
protected static org.apache.log4j.Logger logger
Constructor Detail |
---|
public ServerClientTest()
Method Detail |
---|
public void testStartNoError()
public void testPingStatement()
public void testPingCommand()
public void testLogCommands()
public void testLocalhostResolution()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |