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

Summary description for MaxTimeAttribute. More...

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

Public Member Functions

 MaxTimeAttribute (int milliseconds)
 Construct a MaxTimeAttribute, given a time in milliseconds. 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 Member Functions

TestCommand ICommandWrapper. Wrap (TestCommand command)
 Wrap a command and return the result. More...
 

Private Attributes

int _milliseconds
 

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

Summary description for MaxTimeAttribute.

Constructor & Destructor Documentation

NUnit.Framework.MaxTimeAttribute.MaxTimeAttribute ( int  milliseconds)
inline

Construct a MaxTimeAttribute, given a time in milliseconds.

Parameters
millisecondsThe maximum elapsed time in milliseconds

Member Function Documentation

TestCommand ICommandWrapper. NUnit.Framework.MaxTimeAttribute.Wrap ( TestCommand  command)
inlineprivate

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.MaxTimeAttribute._milliseconds
private

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