C# Class AutoDataConnector.AutoDataAttribute

Inheritance: NUnit.Framework.NUnitAttribute, ITestBuilder, NUnit.Framework.Interfaces.ITestCaseData, IImplyFixture
Afficher le fichier Open project: SIXNetworks/withSIX.Desktop

Méthodes publiques

Méthode Description
AutoDataAttribute ( ) : System
AutoDataAttribute ( IParameterValueProvider parameterValueProvider ) : System

NOTE: This constructor is not CLS-Compliant

BuildFrom ( IMethodInfo method, Test suite ) : IEnumerable

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

Private Methods

Méthode Description
CreateParameterValues ( IEnumerable parameters ) : object[]
GetParametersForMethod ( IMethodInfo method ) : NUnit.Framework.Internal.TestCaseParameters

Method Details

AutoDataAttribute() public méthode

public AutoDataAttribute ( ) : System
Résultat System

AutoDataAttribute() public méthode

NOTE: This constructor is not CLS-Compliant
public AutoDataAttribute ( IParameterValueProvider parameterValueProvider ) : System
parameterValueProvider IParameterValueProvider
Résultat System

BuildFrom() public méthode

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