MrKWatkins.EmulatorTestSuites 0.2.2 Help

ProgramTestCase.Execute Method

Overloads

Name

Description

Execute<TTestHarness>(TextWriter)

Executes the test case with the specified test output.

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.

Execute(Z80TestHarness, TextWriter, TextWriter)

Executes the test case with the specified test and debug output. Execution will proceed instruction by instruction.

Execute(Z80SteppableTestHarness, TextWriter)

Executes the test case with the specified test and debug output. Execution will proceed step by step.

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();

Type Parameters

Name

Description

TTestHarness

The type of Z80TestHarness to use.

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();

Type Parameters

Name

Description

TTestHarness

The type of Z80TestHarness to use.

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);

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);

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.

Last modified: 14 December 2025