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.RepeatAttribute.RepeatedTestCommand Class Reference

The test command for the RepeatAttribute More...

+ Inheritance diagram for NUnit.Framework.RepeatAttribute.RepeatedTestCommand:
+ Collaboration diagram for NUnit.Framework.RepeatAttribute.RepeatedTestCommand:

Public Member Functions

 RepeatedTestCommand (TestCommand innerCommand, int repeatCount)
 Initializes a new instance of the RepeatedTestCommand 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

int repeatCount
 

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

The test command for the RepeatAttribute

Constructor & Destructor Documentation

NUnit.Framework.RepeatAttribute.RepeatedTestCommand.RepeatedTestCommand ( TestCommand  innerCommand,
int  repeatCount 
)
inline

Initializes a new instance of the RepeatedTestCommand class.

Parameters
innerCommandThe inner command.
repeatCountThe number of repetitions

Member Function Documentation

override TestResult NUnit.Framework.RepeatAttribute.RepeatedTestCommand.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.Internal.TestExecutionContext.CurrentResult, NUnit.Framework.Internal.TestResult.ResultState, and NUnit.Framework.Interfaces.ResultState.Success.

Member Data Documentation

int NUnit.Framework.RepeatAttribute.RepeatedTestCommand.repeatCount
private

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