IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
NUnit.Framework.Internal.Commands.ApplyChangesToContextCommand Class Reference

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. More...

+ Inheritance diagram for NUnit.Framework.Internal.Commands.ApplyChangesToContextCommand:
+ Collaboration diagram for NUnit.Framework.Internal.Commands.ApplyChangesToContextCommand:

Public Member Functions

 ApplyChangesToContextCommand (TestCommand innerCommand, IApplyToContext[] changes)
 
override TestResult Execute (TestExecutionContext context)
 Runs the test in a specified context, returning a TestResult. More...
 
- Public Member Functions inherited from NUnit.Framework.Internal.Commands.TestCommand
 TestCommand (Test test)
 Construct a TestCommand for a test. More...
 

Private Attributes

IApplyToContext[] _changes
 

Additional Inherited Members

- Protected Member Functions inherited from NUnit.Framework.Internal.Commands.DelegatingTestCommand
 DelegatingTestCommand (TestCommand innerCommand)
 TODO: Documentation needed for constructor More...
 
- Protected Attributes inherited from NUnit.Framework.Internal.Commands.DelegatingTestCommand
TestCommand innerCommand
 TODO: Documentation needed for field More...
 
- Properties inherited from NUnit.Framework.Internal.Commands.TestCommand
Test Test [get, private set]
 Gets the test associated with this command. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

NUnit.Framework.Internal.Commands.ApplyChangesToContextCommand.ApplyChangesToContextCommand ( TestCommand  innerCommand,
IApplyToContext[]  changes 
)
inline

Member Function Documentation

override TestResult NUnit.Framework.Internal.Commands.ApplyChangesToContextCommand.Execute ( TestExecutionContext  context)
inlinevirtual

Member Data Documentation

IApplyToContext [] NUnit.Framework.Internal.Commands.ApplyChangesToContextCommand._changes
private

The documentation for this class was generated from the following file: