edu.rice.comp211.laundry.tests
Class LaundryTest

java.lang.Object
  extended by TestCase
      extended by edu.rice.comp211.laundry.tests.LaundryTest

public class LaundryTest
extends TestCase


Field Summary
(package private) static Pants whPants
           
(package private) static Shirt whShirt
           
(package private) static Socks whSocks
           
 
Constructor Summary
LaundryTest()
           
 
Method Summary
(package private) static void compareFiles(File test, File answer)
           
(package private) static void compareFiles(StringOutputStream os, File answer)
          Compares two files for equivalent text; missing EOL at EOF is ignored.
 void runTestSimulate(String prefix)
          A test method for the simulate method.
 void test_Receive_cmds()
           
 void test_Sample_file()
           
 void test_Sys_file()
           
 void test_test_file()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

whShirt

static final Shirt whShirt

whPants

static final Pants whPants

whSocks

static final Socks whSocks
Constructor Detail

LaundryTest

public LaundryTest()
Method Detail

compareFiles

static void compareFiles(StringOutputStream os,
                         File answer)
                  throws IOException
Compares two files for equivalent text; missing EOL at EOF is ignored.

Throws:
IOException

compareFiles

static void compareFiles(File test,
                         File answer)
                  throws IOException
Throws:
IOException

runTestSimulate

public void runTestSimulate(String prefix)
                     throws IOException
A test method for the simulate method.

Throws:
IOException

test_Sample_file

public void test_Sample_file()
                      throws IOException
Throws:
IOException

test_Sys_file

public void test_Sys_file()
                   throws IOException
Throws:
IOException

test_test_file

public void test_test_file()
                    throws IOException
Throws:
IOException

test_Receive_cmds

public void test_Receive_cmds()
                       throws IOException
Throws:
IOException