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.ValuesAttribute Class Reference

ValuesAttribute is used to provide literal arguments for an individual parameter of a test. More...

+ Inheritance diagram for NUnit.Framework.ValuesAttribute:
+ Collaboration diagram for NUnit.Framework.ValuesAttribute:

Public Member Functions

 ValuesAttribute ()
 Constructs for use with an Enum parameter. Will pass every enum value in to the test. More...
 
 ValuesAttribute (object arg1)
 Construct with one argument More...
 
 ValuesAttribute (object arg1, object arg2)
 Construct with two arguments More...
 
 ValuesAttribute (object arg1, object arg2, object arg3)
 Construct with three arguments More...
 
 ValuesAttribute (params object[] args)
 Construct with an array of arguments More...
 
IEnumerable GetData (IParameterInfo parameter)
 Get the collection of _values to be used as arguments More...
 
- Public Member Functions inherited from NUnit.Framework.DataAttribute
 DataAttribute ()
 Default constructor More...
 
- Public Member Functions inherited from NUnit.Framework.NUnitAttribute
 NUnitAttribute ()
 Default constructor More...
 

Protected Attributes

object[] data
 The collection of data to be returned. Must be set by any derived attribute classes. We use an object[] so that the individual elements may have their type changed in GetData if necessary More...
 

Private Member Functions

IEnumerable GetData (Type targetType)
 

Detailed Description

ValuesAttribute is used to provide literal arguments for an individual parameter of a test.

Constructor & Destructor Documentation

NUnit.Framework.ValuesAttribute.ValuesAttribute ( )
inline

Constructs for use with an Enum parameter. Will pass every enum value in to the test.

NUnit.Framework.ValuesAttribute.ValuesAttribute ( object  arg1)
inline

Construct with one argument

Parameters
arg1
NUnit.Framework.ValuesAttribute.ValuesAttribute ( object  arg1,
object  arg2 
)
inline

Construct with two arguments

Parameters
arg1
arg2
NUnit.Framework.ValuesAttribute.ValuesAttribute ( object  arg1,
object  arg2,
object  arg3 
)
inline

Construct with three arguments

Parameters
arg1
arg2
arg3
NUnit.Framework.ValuesAttribute.ValuesAttribute ( params object[]  args)
inline

Construct with an array of arguments

Parameters
args

Member Function Documentation

IEnumerable NUnit.Framework.ValuesAttribute.GetData ( IParameterInfo  parameter)
inline
IEnumerable NUnit.Framework.ValuesAttribute.GetData ( Type  targetType)
inlineprivate

Member Data Documentation

object [] NUnit.Framework.ValuesAttribute.data
protected

The collection of data to be returned. Must be set by any derived attribute classes. We use an object[] so that the individual elements may have their type changed in GetData if necessary


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