IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
RandomAttribute is used to supply a set of random _values to a single parameter of a parameterized test. More...
Classes | |
class | ByteDataSource |
class | DecimalDataSource |
class | DoubleDataSource |
class | EnumDataSource |
class | FloatDataSource |
class | IntDataSource |
class | LongDataSource |
class | RandomDataConverter |
class | RandomDataSource |
class | RandomDataSource< T > |
class | SByteDataSource |
class | ShortDataSource |
class | UIntDataSource |
class | ULongDataSource |
class | UShortDataSource |
Public Member Functions | |
RandomAttribute (int count) | |
Construct a random set of values appropriate for the Type of the parameter on which the attribute appears, specifying only the count. More... | |
RandomAttribute (int min, int max, int count) | |
Construct a set of ints within a specified range More... | |
RandomAttribute (uint min, uint max, int count) | |
Construct a set of unsigned ints within a specified range More... | |
RandomAttribute (long min, long max, int count) | |
Construct a set of longs within a specified range More... | |
RandomAttribute (ulong min, ulong max, int count) | |
Construct a set of unsigned longs within a specified range More... | |
RandomAttribute (short min, short max, int count) | |
Construct a set of shorts within a specified range More... | |
RandomAttribute (ushort min, ushort max, int count) | |
Construct a set of unsigned shorts within a specified range More... | |
RandomAttribute (double min, double max, int count) | |
Construct a set of doubles within a specified range More... | |
RandomAttribute (float min, float max, int count) | |
Construct a set of floats within a specified range More... | |
RandomAttribute (byte min, byte max, int count) | |
Construct a set of bytes within a specified range More... | |
RandomAttribute (sbyte min, sbyte max, int count) | |
Construct a set of sbytes within a specified range More... | |
IEnumerable | GetData (IParameterInfo parameter) |
Get the collection of _values to be used as arguments. More... | |
![]() | |
DataAttribute () | |
Default constructor More... | |
![]() | |
NUnitAttribute () | |
Default constructor More... | |
Private Member Functions | |
bool | WeConvert (Type sourceType, Type targetType) |
Private Attributes | |
RandomDataSource | _source |
int | _count |
RandomAttribute is used to supply a set of random _values to a single parameter of a parameterized test.
|
inline |
Construct a random set of values appropriate for the Type of the parameter on which the attribute appears, specifying only the count.
count |
|
inline |
Construct a set of ints within a specified range
|
inline |
Construct a set of unsigned ints within a specified range
|
inline |
Construct a set of longs within a specified range
|
inline |
Construct a set of unsigned longs within a specified range
|
inline |
Construct a set of shorts within a specified range
|
inline |
Construct a set of unsigned shorts within a specified range
|
inline |
Construct a set of doubles within a specified range
|
inline |
Construct a set of floats within a specified range
|
inline |
Construct a set of bytes within a specified range
|
inline |
Construct a set of sbytes within a specified range
|
inline |
Get the collection of _values to be used as arguments.
Implements NUnit.Framework.Interfaces.IParameterDataSource.
References NUnit.Framework.RandomAttribute.RandomDataSource.DataType, NUnit.Framework.RandomAttribute.RandomDataSource.GetData(), and NUnit.Framework.Interfaces.IParameterInfo.ParameterType.
|
inlineprivate |
|
private |
|
private |