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

TestActionCommand runs the BeforeTest actions for a test, then runs the test and finally runs the AfterTestActions. More...

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

Public Member Functions

 TestActionCommand (TestCommand innerCommand)
 Initializes a new instance of the TestActionCommand class. More...
 
override TestResult Execute (TestExecutionContext context)
 Runs the test, saving a TestResult in the supplied TestExecutionContext. More...
 
- Public Member Functions inherited from NUnit.Framework.Internal.Commands.TestCommand
 TestCommand (Test test)
 Construct a TestCommand for a test. More...
 

Private Attributes

IList< TestActionItem_actions = new List<TestActionItem>()
 

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

TestActionCommand runs the BeforeTest actions for a test, then runs the test and finally runs the AfterTestActions.

Constructor & Destructor Documentation

NUnit.Framework.Internal.Commands.TestActionCommand.TestActionCommand ( TestCommand  innerCommand)
inline

Initializes a new instance of the TestActionCommand class.

Parameters
innerCommandThe inner command.

References NUnit.Framework.Internal.Commands.TestCommand.Test.

Member Function Documentation

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

Runs the test, saving a TestResult in the supplied TestExecutionContext.

Parameters
contextThe context in which the test should run.
Returns
A TestResult

Implements NUnit.Framework.Internal.Commands.TestCommand.

References NUnit.Framework.ITestAction.Targets, and NUnit.Framework.Internal.TestExecutionContext.TestObject.

Member Data Documentation

IList<TestActionItem> NUnit.Framework.Internal.Commands.TestActionCommand._actions = new List<TestActionItem>()
private

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