Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## avrora
Class AVRTestHarness

    java.lang.Object
      avrora.AVRTestHarness

All Implemented Interfaces:
  TestHarness

public class AVRTestHarness
extends java.lang.Object
implements TestHarness

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

Constructor Summary
`AVRTestHarness()`

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

### AVRTestHarness

    public AVRTestHarness()

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

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD