IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
OneTimeTearDownCommand performs any teardown actions specified for a suite and calls Dispose on the user test object, if any. More...
Public Member Functions | |
OneTimeTearDownCommand (TestSuite suite, List< SetUpTearDownItem > setUpTearDownItems, List< TestActionItem > actions) | |
Construct a OneTimeTearDownCommand More... | |
override TestResult | Execute (TestExecutionContext context) |
Overridden to run the teardown methods specified on the test. More... | |
![]() | |
TestCommand (Test test) | |
Construct a TestCommand for a test. More... | |
Private Attributes | |
List< SetUpTearDownItem > | _setUpTearDownItems |
List< TestActionItem > | _actions |
Additional Inherited Members | |
![]() | |
Test | Test [get, private set] |
Gets the test associated with this command. More... | |
OneTimeTearDownCommand performs any teardown actions specified for a suite and calls Dispose on the user test object, if any.
|
inline |
Construct a OneTimeTearDownCommand
suite | The test suite to which the command applies |
setUpTearDownItems | A SetUpTearDownList for use by the command |
actions | A List of TestActionItems to be run before teardown. |
|
inlinevirtual |
Overridden to run the teardown methods specified on the test.
context | The TestExecutionContext to be used. |
Implements NUnit.Framework.Internal.Commands.TestCommand.
References NUnit.Framework.Internal.TestExecutionContext.CurrentResult, NUnit.Framework.Internal.TestResult.RecordTearDownException(), and NUnit.Framework.Internal.TestExecutionContext.TestObject.
|
private |
|
private |