avrora.test
Class SimplifierTestHarness

java.lang.Object
  extended byavrora.test.SimplifierTestHarness
All Implemented Interfaces:
TestHarness

public class SimplifierTestHarness
extends java.lang.Object
implements TestHarness

The SimulatorTestHarness implements a test harness that interfaces the avrora.test.AutomatedTester in order to automate testing of the AVR parser and simulator.


Constructor Summary
SimplifierTestHarness()
           
 
Method Summary
 TestCase newTestCase(java.lang.String fname, java.util.Properties props)
          The newTestCase() method creates a new test case of the right type given the file name and the properties already extracted from the file by the testing framework.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimplifierTestHarness

public SimplifierTestHarness()
Method Detail

newTestCase

public TestCase newTestCase(java.lang.String fname,
                            java.util.Properties props)
                     throws java.lang.Exception
Description copied from interface: TestHarness
The newTestCase() method creates a new test case of the right type given the file name and the properties already extracted from the file by the testing framework.

Specified by:
newTestCase in interface TestHarness
Parameters:
fname - the name of the file
props - a list of properties extracted from the file
Returns:
an instance of the TestCase class
Throws:
java.lang.Exception - if there is a problem creating the testcase or reading it