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

ParallelizableAttribute is used to mark tests that may be run in parallel. More...

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

Public Member Functions

 ParallelizableAttribute ()
 Construct a ParallelizableAttribute using default ParallelScope.Self. More...
 
 ParallelizableAttribute (ParallelScope scope)
 Construct a ParallelizableAttribute with a specified scope. More...
 
void ApplyToContext (TestExecutionContext context)
 Modify the context to be used for child tests 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

ParallelScope _scope
 

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

ParallelizableAttribute is used to mark tests that may be run in parallel.

Constructor & Destructor Documentation

NUnit.Framework.ParallelizableAttribute.ParallelizableAttribute ( )
inline

Construct a ParallelizableAttribute using default ParallelScope.Self.

References NUnit.Framework.Self.

NUnit.Framework.ParallelizableAttribute.ParallelizableAttribute ( ParallelScope  scope)
inline

Construct a ParallelizableAttribute with a specified scope.

Parameters
scopeThe ParallelScope associated with this attribute.

References NUnit.Framework.Internal.PropertyNames.ParallelScope.

Member Function Documentation

void NUnit.Framework.ParallelizableAttribute.ApplyToContext ( TestExecutionContext  context)
inline

Modify the context to be used for child tests

Parameters
contextThe current TestExecutionContext

Implements NUnit.Framework.Interfaces.IApplyToContext.

References NUnit.Framework.Internal.TestExecutionContext.ParallelScope.

Member Data Documentation

ParallelScope NUnit.Framework.ParallelizableAttribute._scope
private

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