TestCase<THarness> Class
Definition
Base class for emulator test cases.
public abstract class TestCase<THarness>
Type Parameters
| Name | Description |
|---|---|
| THarness | The type of harness used to execute the test case. |
Constructors
| Name | Description |
|---|---|
| TestCase(String) | Initializes a new instance of the TestCase<THarness> class. |
Properties
| Name | Description |
|---|---|
| Id | Gets the unique identifier for this test case. |
| Name | Gets the display name of the test case. By default, returns the Id. |
Methods
| Name | Description |
|---|---|
| Execute<TTestHarness>(TextWriter) | Executes this test case using the specified harness type. |
| ToString() | Returns a string representation of this TestCase<THarness>. |