com.yobotics.simulationconstructionset
Class DataFileWriterTest

java.lang.Object
  extended by com.yobotics.simulationconstructionset.DataFileWriterTest

public class DataFileWriterTest
extends java.lang.Object


Field Summary
 org.junit.rules.ExpectedException expectedException
           
 
Constructor Summary
DataFileWriterTest()
           
 
Method Summary
 void setUp()
           
static void setUpBeforeClass()
           
 void tearDown()
           
static void tearDownAfterClass()
           
 void testDataFileWriterAndReader()
           
 void testFileReadAndWriteBackWithDataOutputStreamAndBufferedReaderStringsOnly()
           
 void testFileReadAndWriteBackWithDataOutputStreamAndDeferredBufferedReaderCreation()
           
 void testFileReadAndWriteWithDataOutputStreamAndBufferedReader()
           
 void testFileReadAndWriteWithDataOutputStreamAndDataInputStream()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

expectedException

public org.junit.rules.ExpectedException expectedException
Constructor Detail

DataFileWriterTest

public DataFileWriterTest()
Method Detail

setUpBeforeClass

public static void setUpBeforeClass()
                             throws java.lang.Exception
Throws:
java.lang.Exception

tearDownAfterClass

public static void tearDownAfterClass()
                               throws java.lang.Exception
Throws:
java.lang.Exception

setUp

public void setUp()
           throws java.lang.Exception
Throws:
java.lang.Exception

tearDown

public void tearDown()
              throws java.lang.Exception
Throws:
java.lang.Exception

testDataFileWriterAndReader

public void testDataFileWriterAndReader()
                                 throws java.io.IOException,
                                        DataBuffer.RepeatDataBufferEntryException
Throws:
java.io.IOException
DataBuffer.RepeatDataBufferEntryException

testFileReadAndWriteWithDataOutputStreamAndDataInputStream

public void testFileReadAndWriteWithDataOutputStreamAndDataInputStream()
                                                                throws java.io.IOException,
                                                                       java.io.FileNotFoundException,
                                                                       java.lang.NullPointerException
Throws:
java.io.IOException
java.io.FileNotFoundException
java.lang.NullPointerException

testFileReadAndWriteWithDataOutputStreamAndBufferedReader

public void testFileReadAndWriteWithDataOutputStreamAndBufferedReader()
                                                               throws java.io.FileNotFoundException,
                                                                      java.io.IOException
Throws:
java.io.FileNotFoundException
java.io.IOException

testFileReadAndWriteBackWithDataOutputStreamAndDeferredBufferedReaderCreation

public void testFileReadAndWriteBackWithDataOutputStreamAndDeferredBufferedReaderCreation()
                                                                                   throws java.io.IOException
Throws:
java.io.IOException

testFileReadAndWriteBackWithDataOutputStreamAndBufferedReaderStringsOnly

public void testFileReadAndWriteBackWithDataOutputStreamAndBufferedReaderStringsOnly()
                                                                              throws java.io.IOException
Throws:
java.io.IOException