C# Class NUnit.Framework.Internal.ParameterSet

ParameterSet encapsulates method arguments and other selected parameters needed for constructing a parameterized test case.
Inheritance: ITestCaseData, IApplyToTest
显示文件 Open project: pjcollins/Andr.Unit Class Usage Examples

Public Methods

Method Description
ApplyToTest ( Test test ) : void

Applies ParameterSet values to the test itself.

ParameterSet ( ) : System

Construct an empty parameter set, which defaults to being Runnable.

ParameterSet ( Exception exception ) : System

Construct a non-runnable ParameterSet, specifying the provider exception that made it invalid.

ParameterSet ( ITestCaseData data ) : System

Construct a ParameterSet from an object implementing ITestCaseData

Method Details

ApplyToTest() public method

Applies ParameterSet values to the test itself.
public ApplyToTest ( Test test ) : void
test Test A test.
return void

ParameterSet() public method

Construct an empty parameter set, which defaults to being Runnable.
public ParameterSet ( ) : System
return System

ParameterSet() public method

Construct a non-runnable ParameterSet, specifying the provider exception that made it invalid.
public ParameterSet ( Exception exception ) : System
exception System.Exception
return System

ParameterSet() public method

Construct a ParameterSet from an object implementing ITestCaseData
public ParameterSet ( ITestCaseData data ) : System
data ITestCaseData
return System