felix.test
Class IOFileTest

java.lang.Object
  extended by felix.test.IOFileTest

public class IOFileTest
extends java.lang.Object

Test using evidence supplied in files.

Author:
Josh Slauson

Field Summary
static tuffy.db.RDB db
           
 
Constructor Summary
IOFileTest()
           
 
Method Summary
 void checkEvidence(java.lang.String[] expect)
          Check if evidence was correctly loaded into a database table.
 void checkOutput(java.lang.String output, java.lang.String[] expect)
          Checks if output file contains expected results.
 void missingEvid()
          Test using a evidence file that doesn't exist.
static void setUp()
          Perform required setup for this test.
 void simpleTest()
          Simple smoke test.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

db

public static tuffy.db.RDB db
Constructor Detail

IOFileTest

public IOFileTest()
Method Detail

setUp

public static final void setUp()
Perform required setup for this test.


checkEvidence

public void checkEvidence(java.lang.String[] expect)
Check if evidence was correctly loaded into a database table.

Parameters:
expect -

checkOutput

public void checkOutput(java.lang.String output,
                        java.lang.String[] expect)
Checks if output file contains expected results.

Parameters:
output -
expect -

simpleTest

public void simpleTest()
Simple smoke test.


missingEvid

public void missingEvid()
Test using a evidence file that doesn't exist.