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

Marks a test to use a particular CombiningStrategy to join any parameter data provided. Since this is the default, the attribute is optional. More...

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

Public Member Functions

IEnumerable< TestMethodBuildFrom (IMethodInfo method, Test suite)
 Construct one or more TestMethods from a given MethodInfo, using available parameter data. More...
 
void ApplyToTest (Test test)
 Modify the test by adding the name of the combining strategy to the properties. More...
 
- Public Member Functions inherited from NUnit.Framework.NUnitAttribute
 NUnitAttribute ()
 Default constructor More...
 

Protected Member Functions

 CombiningStrategyAttribute (ICombiningStrategy strategy, IParameterDataProvider provider)
 Construct a CombiningStrategyAttribute incorporating an ICombiningStrategy and an IParamterDataProvider. More...
 
 CombiningStrategyAttribute (object strategy, object provider)
 Construct a CombiningStrategyAttribute incorporating an object that implements ICombiningStrategy and an IParameterDataProvider. This constructor is provided for CLS compliance. More...
 

Private Attributes

NUnitTestCaseBuilder _builder = new NUnitTestCaseBuilder()
 
ICombiningStrategy _strategy
 
IParameterDataProvider _dataProvider
 

Detailed Description

Marks a test to use a particular CombiningStrategy to join any parameter data provided. Since this is the default, the attribute is optional.

Constructor & Destructor Documentation

NUnit.Framework.CombiningStrategyAttribute.CombiningStrategyAttribute ( ICombiningStrategy  strategy,
IParameterDataProvider  provider 
)
inlineprotected

Construct a CombiningStrategyAttribute incorporating an ICombiningStrategy and an IParamterDataProvider.

Parameters
strategyCombining strategy to be used in combining data
providerAn IParameterDataProvider to supply data
NUnit.Framework.CombiningStrategyAttribute.CombiningStrategyAttribute ( object  strategy,
object  provider 
)
inlineprotected

Construct a CombiningStrategyAttribute incorporating an object that implements ICombiningStrategy and an IParameterDataProvider. This constructor is provided for CLS compliance.

Parameters
strategyCombining strategy to be used in combining data
providerAn IParameterDataProvider to supply data

Member Function Documentation

IEnumerable<TestMethod> NUnit.Framework.CombiningStrategyAttribute.BuildFrom ( IMethodInfo  method,
Test  suite 
)
inline

Member Data Documentation

NUnitTestCaseBuilder NUnit.Framework.CombiningStrategyAttribute._builder = new NUnitTestCaseBuilder()
private
ICombiningStrategy NUnit.Framework.CombiningStrategyAttribute._strategy
private
IParameterDataProvider NUnit.Framework.CombiningStrategyAttribute._dataProvider
private

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