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

RangeAttribute is used to supply a range of _values to an individual parameter of a parameterized test. More...

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

Public Member Functions

 RangeAttribute (int from, int to)
 Construct a range of ints using default step of 1 More...
 
 RangeAttribute (int from, int to, int step)
 Construct a range of ints specifying the step size More...
 
 RangeAttribute (uint from, uint to)
 Construct a range of unsigned ints using default step of 1 More...
 
 RangeAttribute (uint from, uint to, uint step)
 Construct a range of unsigned ints specifying the step size More...
 
 RangeAttribute (long from, long to)
 Construct a range of longs using a default step of 1 More...
 
 RangeAttribute (long from, long to, long step)
 Construct a range of longs More...
 
 RangeAttribute (ulong from, ulong to)
 Construct a range of unsigned longs using default step of 1 More...
 
 RangeAttribute (ulong from, ulong to, ulong step)
 Construct a range of unsigned longs specifying the step size More...
 
 RangeAttribute (double from, double to, double step)
 Construct a range of doubles More...
 
 RangeAttribute (float from, float to, float step)
 Construct a range of floats More...
 
- Public Member Functions inherited from NUnit.Framework.ValuesAttribute
 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...
 

Additional Inherited Members

- Protected Attributes inherited from NUnit.Framework.ValuesAttribute
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...
 

Detailed Description

RangeAttribute is used to supply a range of _values to an individual parameter of a parameterized test.

Constructor & Destructor Documentation

NUnit.Framework.RangeAttribute.RangeAttribute ( int  from,
int  to 
)
inline

Construct a range of ints using default step of 1

Parameters
from
to
NUnit.Framework.RangeAttribute.RangeAttribute ( int  from,
int  to,
int  step 
)
inline

Construct a range of ints specifying the step size

Parameters
from
to
step
NUnit.Framework.RangeAttribute.RangeAttribute ( uint  from,
uint  to 
)
inline

Construct a range of unsigned ints using default step of 1

Parameters
from
to
NUnit.Framework.RangeAttribute.RangeAttribute ( uint  from,
uint  to,
uint  step 
)
inline

Construct a range of unsigned ints specifying the step size

Parameters
from
to
step
NUnit.Framework.RangeAttribute.RangeAttribute ( long  from,
long  to 
)
inline

Construct a range of longs using a default step of 1

Parameters
from
to
NUnit.Framework.RangeAttribute.RangeAttribute ( long  from,
long  to,
long  step 
)
inline

Construct a range of longs

Parameters
from
to
step
NUnit.Framework.RangeAttribute.RangeAttribute ( ulong  from,
ulong  to 
)
inline

Construct a range of unsigned longs using default step of 1

Parameters
from
to
NUnit.Framework.RangeAttribute.RangeAttribute ( ulong  from,
ulong  to,
ulong  step 
)
inline

Construct a range of unsigned longs specifying the step size

Parameters
from
to
step
NUnit.Framework.RangeAttribute.RangeAttribute ( double  from,
double  to,
double  step 
)
inline

Construct a range of doubles

Parameters
from
to
step
NUnit.Framework.RangeAttribute.RangeAttribute ( float  from,
float  to,
float  step 
)
inline

Construct a range of floats

Parameters
from
to
step

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