avrora.test
Class DisassemblerTestHarness

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

public class DisassemblerTestHarness
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
DisassemblerTestHarness()
           
 
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

DisassemblerTestHarness

public DisassemblerTestHarness()
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