C# Class NUnit.Framework.Internal.Commands.ApplyChangesToContextCommand

ContextSettingsCommand applies specified changes to the TestExecutionContext prior to running a test. No special action is needed after the test runs, since the prior context will be restored automatically.
Inheritance: NUnit.Framework.Internal.Commands.DelegatingTestCommand
Show file Open project: nunit/nunit Class Usage Examples

Public Methods

Method Description
ApplyChangesToContextCommand ( NUnit.Framework.Internal.Commands.TestCommand innerCommand, IEnumerable changes ) : System
Execute ( TestExecutionContext context ) : TestResult

Method Details

ApplyChangesToContextCommand() public method

public ApplyChangesToContextCommand ( NUnit.Framework.Internal.Commands.TestCommand innerCommand, IEnumerable changes ) : System
innerCommand NUnit.Framework.Internal.Commands.TestCommand
changes IEnumerable
return System

Execute() public method

public Execute ( TestExecutionContext context ) : TestResult
context TestExecutionContext
return TestResult