IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
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...
Public Member Functions | |
ApplyChangesToContextCommand (TestCommand innerCommand, IApplyToContext[] changes) | |
override TestResult | Execute (TestExecutionContext context) |
Runs the test in a specified context, returning a TestResult. More... | |
![]() | |
TestCommand (Test test) | |
Construct a TestCommand for a test. More... | |
Private Attributes | |
IApplyToContext[] | _changes |
Additional Inherited Members | |
![]() | |
DelegatingTestCommand (TestCommand innerCommand) | |
TODO: Documentation needed for constructor More... | |
![]() | |
TestCommand | innerCommand |
TODO: Documentation needed for field More... | |
![]() | |
Test | Test [get, private set] |
Gets the test associated with this command. More... | |
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.
|
inline |
|
inlinevirtual |
Runs the test in a specified context, returning a TestResult.
context | The TestExecutionContext to be used for running the test. |
Implements NUnit.Framework.Internal.Commands.TestCommand.
References NUnit.Framework.Interfaces.IApplyToContext.ApplyToContext(), NUnit.Framework.Internal.TestExecutionContext.CurrentResult, and NUnit.Framework.Internal.TestResult.RecordException().
|
private |