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.OneTimeTearDownCommand Class Reference

OneTimeTearDownCommand performs any teardown actions specified for a suite and calls Dispose on the user test object, if any. More...

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

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...
 
- Public Member Functions inherited from NUnit.Framework.Internal.Commands.TestCommand
 TestCommand (Test test)
 Construct a TestCommand for a test. More...
 

Private Attributes

List< SetUpTearDownItem_setUpTearDownItems
 
List< TestActionItem_actions
 

Additional Inherited Members

- Properties inherited from NUnit.Framework.Internal.Commands.TestCommand
Test Test [get, private set]
 Gets the test associated with this command. More...
 

Detailed Description

OneTimeTearDownCommand performs any teardown actions specified for a suite and calls Dispose on the user test object, if any.

Constructor & Destructor Documentation

NUnit.Framework.Internal.Commands.OneTimeTearDownCommand.OneTimeTearDownCommand ( TestSuite  suite,
List< SetUpTearDownItem setUpTearDownItems,
List< TestActionItem actions 
)
inline

Construct a OneTimeTearDownCommand

Parameters
suiteThe test suite to which the command applies
setUpTearDownItemsA SetUpTearDownList for use by the command
actionsA List of TestActionItems to be run before teardown.

Member Function Documentation

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

Member Data Documentation

List<SetUpTearDownItem> NUnit.Framework.Internal.Commands.OneTimeTearDownCommand._setUpTearDownItems
private
List<TestActionItem> NUnit.Framework.Internal.Commands.OneTimeTearDownCommand._actions
private

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