C# Class NUnit.Framework.CombiningStrategyAttribute

Inheritance: NUnit.Framework.NUnitAttribute, ITestBuilder, IApplyToTest
Afficher le fichier Open project: nunit/nunit

Méthodes publiques

Méthode Description
ApplyToTest ( System.Test test ) : void

Modify the test by adding the name of the combining strategy to the properties.

BuildFrom ( IMethodInfo method, System.Test suite ) : IEnumerable

Construct one or more TestMethods from a given MethodInfo, using available parameter data.

Méthodes protégées

Méthode Description
CombiningStrategyAttribute ( ICombiningStrategy strategy, IParameterDataProvider provider ) : System

Construct a CombiningStrategyAttribute incorporating an ICombiningStrategy and an IParameterDataProvider.

CombiningStrategyAttribute ( object strategy, object provider ) : System

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

Method Details

ApplyToTest() public méthode

Modify the test by adding the name of the combining strategy to the properties.
public ApplyToTest ( System.Test test ) : void
test System.Test The test to modify
Résultat void

BuildFrom() public méthode

Construct one or more TestMethods from a given MethodInfo, using available parameter data.
public BuildFrom ( IMethodInfo method, System.Test suite ) : IEnumerable
method IMethodInfo The MethodInfo for which tests are to be constructed.
suite System.Test The suite to which the tests will be added.
Résultat IEnumerable

CombiningStrategyAttribute() protected méthode

Construct a CombiningStrategyAttribute incorporating an ICombiningStrategy and an IParameterDataProvider.
protected CombiningStrategyAttribute ( ICombiningStrategy strategy, IParameterDataProvider provider ) : System
strategy ICombiningStrategy Combining strategy to be used in combining data
provider IParameterDataProvider An IParameterDataProvider to supply data
Résultat System

CombiningStrategyAttribute() protected méthode

Construct a CombiningStrategyAttribute incorporating an object that implements ICombiningStrategy and an IParameterDataProvider. This constructor is provided for CLS compliance.
protected CombiningStrategyAttribute ( object strategy, object provider ) : System
strategy object Combining strategy to be used in combining data
provider object An IParameterDataProvider to supply data
Résultat System