Skip to content

TestCase<THarness> Class ​

Definition ​

Base class for emulator test cases.

c#
public abstract class TestCase<THarness>

View source

Type Parameters ​

NameDescription
THarnessThe type of harness used to execute the test case.

Constructors ​

NameDescription
TestCase(String)Initializes a new instance of the TestCase<THarness> class.

Properties ​

NameDescription
IdGets the unique identifier for this test case.
NameGets the display name of the test case. By default, returns the Id.

Methods ​

NameDescription
Execute<TTestHarness>(TextWriter)Executes this test case using the specified harness type.
ToString()Returns a string representation of this TestCase<THarness>.