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.Internal.TestParameters Class Reference

TestParameters is the abstract base class for all classes that know how to provide data for constructing a test. More...

+ Inheritance diagram for NUnit.Framework.Internal.TestParameters:
+ Collaboration diagram for NUnit.Framework.Internal.TestParameters:

Public Member Functions

 TestParameters ()
 Default Constructor creates an empty parameter set More...
 
 TestParameters (object[] args)
 Construct a parameter set with a list of arguments More...
 
 TestParameters (Exception exception)
 Construct a non-runnable ParameterSet, specifying the provider exception that made it invalid. More...
 
 TestParameters (ITestData data)
 Construct a ParameterSet from an object implementing ITestData More...
 
void ApplyToTest (Test test)
 Applies ParameterSet _values to the test itself. More...
 

Properties

RunState RunState [get, set]
 The RunState for this set of parameters. More...
 
object[] Arguments [get, set]
 The arguments to be used in running the test, which must match the method signature. More...
 
string TestName [get, set]
 A name to be used for this test case in lieu of the standard generated name containing the argument list. More...
 
IPropertyBag Properties [get, private set]
 Gets the property dictionary for this test More...
 
object[] OriginalArguments [get, private set]
 The original arguments provided by the user, used for display purposes. More...
 
- Properties inherited from NUnit.Framework.Interfaces.ITestData
string TestName [get]
 Gets the name to be used for the test More...
 
RunState RunState [get]
 Gets the RunState for this test case. More...
 
object[] Arguments [get]
 Gets the argument list to be provided to the test More...
 
IPropertyBag Properties [get]
 Gets the property dictionary for the test case More...
 

Detailed Description

TestParameters is the abstract base class for all classes that know how to provide data for constructing a test.

Constructor & Destructor Documentation

NUnit.Framework.Internal.TestParameters.TestParameters ( )
inline

Default Constructor creates an empty parameter set

NUnit.Framework.Internal.TestParameters.TestParameters ( object[]  args)
inline

Construct a parameter set with a list of arguments

Parameters
args
NUnit.Framework.Internal.TestParameters.TestParameters ( Exception  exception)
inline
NUnit.Framework.Internal.TestParameters.TestParameters ( ITestData  data)
inline

Construct a ParameterSet from an object implementing ITestData

Parameters
data

References NUnit.Framework.Interfaces.ITestData.Arguments, NUnit.Framework.Interfaces.ITestData.RunState, and NUnit.Framework.Interfaces.ITestData.TestName.

Member Function Documentation

void NUnit.Framework.Internal.TestParameters.ApplyToTest ( Test  test)
inline

Applies ParameterSet _values to the test itself.

Parameters
testA test.

Implements NUnit.Framework.Interfaces.IApplyToTest.

References NUnit.Framework.Internal.Test.RunState.

Referenced by NUnit.Framework.Internal.Builders.NUnitTestCaseBuilder.BuildTestMethod().

Property Documentation

RunState NUnit.Framework.Internal.TestParameters.RunState
getset

The RunState for this set of parameters.

object [] NUnit.Framework.Internal.TestParameters.Arguments
getset
string NUnit.Framework.Internal.TestParameters.TestName
getset

A name to be used for this test case in lieu of the standard generated name containing the argument list.

Referenced by NUnit.Framework.Internal.Builders.NUnitTestCaseBuilder.BuildTestMethod().

IPropertyBag NUnit.Framework.Internal.TestParameters.Properties
getprivate set
object [] NUnit.Framework.Internal.TestParameters.OriginalArguments
getprivate set

The original arguments provided by the user, used for display purposes.

Referenced by NUnit.Framework.Internal.Builders.NUnitTestCaseBuilder.BuildTestMethod().


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