edu.sdsc.inca.protocol
Class ProtocolWriterTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byedu.sdsc.inca.protocol.ProtocolWriterTest
All Implemented Interfaces:
junit.framework.Test

public class ProtocolWriterTest
extends junit.framework.TestCase

User: cmills Date: Feb 28, 2005 Time: 10:39:25 AM Tests writing a char array and a statement to the protocol writer.


Field Summary
static java.lang.String CRLF
           
static java.lang.String TEST_STRING
           
 
Constructor Summary
ProtocolWriterTest()
           
 
Method Summary
 void testBasicCharArray()
          Test writing a simple char array.
 void testStatement()
          Test writing a simple statement.
 
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

CRLF

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

TEST_STRING

public static final java.lang.String TEST_STRING
See Also:
Constant Field Values
Constructor Detail

ProtocolWriterTest

public ProtocolWriterTest()
Method Detail

testBasicCharArray

public void testBasicCharArray()
                        throws java.io.IOException
Test writing a simple char array.

Throws:
java.io.IOException

testStatement

public void testStatement()
                   throws java.io.IOException,
                          ProtocolException
Test writing a simple statement.

Throws:
java.io.IOException
ProtocolException