C# Class AutoDataConnector.AutoDataAttribute

Inheritance: NUnit.Framework.NUnitAttribute, ITestBuilder, NUnit.Framework.Interfaces.ITestCaseData, IImplyFixture
Mostrar archivo Open project: SIXNetworks/withSIX.Desktop

Public Methods

Method 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

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

Method Details

AutoDataAttribute() public method

public AutoDataAttribute ( ) : System
return System

AutoDataAttribute() public method

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

BuildFrom() public method

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.
return IEnumerable