Table of Contents

Class DelegatingTestCommand

Namespace
NUnit.Framework.Internal.Commands
Assembly
nunit.framework.dll

DelegatingTestCommand wraps an inner TestCommand. Derived classes may do what they like before or after running the inner command.

public abstract class DelegatingTestCommand : TestCommand
Inheritance
DelegatingTestCommand
Derived
Inherited Members

Constructors

DelegatingTestCommand(TestCommand)

Initializes a new instance of the DelegatingTestCommand class.

protected DelegatingTestCommand(TestCommand innerCommand)

Parameters

innerCommand TestCommand

The inner command.

Fields

innerCommand

TODO: Documentation needed for field

protected TestCommand innerCommand

Field Value

TestCommand

Methods

RunTestMethodInThreadAbortSafeZone(TestExecutionContext, Action)

Runs the test with exception handling.

protected static void RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)

Parameters

context TestExecutionContext
action Action