ProgramTestCase.Execute Method
Overloads
Execute<TTestHarness>(TextWriter)
Executes the test case with the specified test output.
public sealed override void Execute<TTestHarness>(TextWriter? testOutput = null)
where TTestHarness : Z80TestHarness, new();
View source
Type Parameters
Parameters
| Name |
Type |
Description |
| testOutput |
TextWriter |
Optional writer for test output. This will be the output from the test program. |
Execute<TTestHarness>(TextWriter, TextWriter)
Executes the test case with the specified test and debug output. Execution will proceed step by step if TTestHarness is a Z80SteppableTestHarness, or instruction by instruction otherwise.
public new void Execute<TTestHarness>(TextWriter? testOutput, TextWriter? debugOutput)
where TTestHarness : Z80TestHarness, new();
View source
Type Parameters
Parameters
| Name |
Type |
Description |
| testOutput |
TextWriter |
Optional writer for test output. This will be the output from the test program. |
| debugOutput |
TextWriter |
Optional writer for debug output. This will be the state of the emulator before each instruction. Only used for instruction by instruction execution. |
Execute(Z80TestHarness, TextWriter, TextWriter)
Executes the test case with the specified test and debug output. Execution will proceed instruction by instruction.
public new void Execute(Z80TestHarness z80, TextWriter? testOutput = null, TextWriter? debugOutput = null);
View source
Parameters
| Name |
Type |
Description |
| z80 |
Z80TestHarness |
The test harness to use. |
| testOutput |
TextWriter |
Optional writer for test output. This will be the output from the test program. |
| debugOutput |
TextWriter |
Optional writer for debug output. This will be the state of the emulator before each instruction. |
Execute(Z80SteppableTestHarness, TextWriter)
Executes the test case with the specified test and debug output. Execution will proceed step by step.
public new void Execute(Z80SteppableTestHarness z80, TextWriter? testOutput = null);
View source
Parameters
| Name |
Type |
Description |
| z80 |
Z80SteppableTestHarness |
The steppable test harness to use. |
| testOutput |
TextWriter |
Optional writer for test output. This will be the output from the test program. |