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

RepeatAttribute may be applied to test case in order to run it multiple times. More...

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

Classes

class  RepeatedTestCommand
 The test command for the RepeatAttribute More...
 

Public Member Functions

 RepeatAttribute (int count)
 Construct a RepeatAttribute More...
 
TestCommand Wrap (TestCommand command)
 Wrap a command and return the result. More...
 
- Public Member Functions inherited from NUnit.Framework.PropertyAttribute
 PropertyAttribute (string propertyName, string propertyValue)
 Construct a PropertyAttribute with a name and string value More...
 
 PropertyAttribute (string propertyName, int propertyValue)
 Construct a PropertyAttribute with a name and int value More...
 
 PropertyAttribute (string propertyName, double propertyValue)
 Construct a PropertyAttribute with a name and double value More...
 
virtual void ApplyToTest (Test test)
 Modifies a test by adding properties to it. More...
 
- Public Member Functions inherited from NUnit.Framework.NUnitAttribute
 NUnitAttribute ()
 Default constructor More...
 

Private Attributes

int _count
 

Additional Inherited Members

- Protected Member Functions inherited from NUnit.Framework.PropertyAttribute
 PropertyAttribute ()
 Constructor for derived classes that set the property dictionary directly. More...
 
 PropertyAttribute (object propertyValue)
 Constructor for use by derived classes that use the name of the type as the property name. Derived classes must ensure that the Type of the property value is a standard type supported by the BCL. Any custom types will cause a serialization Exception when in the client. More...
 
- Properties inherited from NUnit.Framework.PropertyAttribute
IPropertyBag Properties [get]
 Gets the property dictionary for this attribute More...
 

Detailed Description

RepeatAttribute may be applied to test case in order to run it multiple times.

Constructor & Destructor Documentation

NUnit.Framework.RepeatAttribute.RepeatAttribute ( int  count)
inline

Construct a RepeatAttribute

Parameters
countThe number of times to run the test

Member Function Documentation

TestCommand NUnit.Framework.RepeatAttribute.Wrap ( TestCommand  command)
inline

Wrap a command and return the result.

Parameters
commandThe command to be wrapped
Returns
The wrapped command

Implements NUnit.Framework.Interfaces.ICommandWrapper.

Member Data Documentation

int NUnit.Framework.RepeatAttribute._count
private

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