avrora.test
Interface TestHarness
- All Known Implementing Classes:
- DisassemblerTestHarness, InterruptTestHarness, ProbeTestHarness, SimplifierTestHarness, SimulatorTestHarness
- public interface TestHarness
The TestHarness
interface encapsulates the notion of a testing harness that is capable of
creating the correct type of test cases given the file and a list of properties extracted from the file by
the automated testing framework.
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. |
newTestCase
public TestCase newTestCase(java.lang.String fname,
java.util.Properties props)
throws java.lang.Exception
- 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.
- Parameters:
fname
- the name of the fileprops
- 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