ProgramTestCase.Execute Method
Overloads
Name | Description |
|---|---|
Executes the test case with the specified test output. | |
Executes the test case with the specified test and debug output. Execution will proceed step by step if | |
Executes the test case with the specified test and debug output. Execution will proceed instruction by instruction. | |
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.
Type Parameters
Name | Description |
|---|---|
TTestHarness | The type of Z80TestHarness to use. |
Parameters
Name | Type | Description |
|---|---|---|
testOutput | 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.
Type Parameters
Name | Description |
|---|---|
TTestHarness | The type of Z80TestHarness to use. |
Parameters
Name | Type | Description |
|---|---|---|
testOutput | Optional writer for test output. This will be the output from the test program. | |
debugOutput | 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.
Parameters
Name | Type | Description |
|---|---|---|
z80 | The test harness to use. | |
testOutput | Optional writer for test output. This will be the output from the test program. | |
debugOutput | 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.
Parameters
Name | Type | Description |
|---|---|---|
z80 | The steppable test harness to use. | |
testOutput | Optional writer for test output. This will be the output from the test program. |