IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
Public Member Functions | |
override IEnumerable | GetData (IParameterInfo parameter) |
Gets an enumeration of data items for use as arguments for a test method parameter. More... | |
Protected Member Functions | |
RandomDataSource (int count) | |
RandomDataSource (T min, T max, int count) | |
abstract T | GetNext () |
abstract T | GetNext (T min, T max) |
Protected Attributes | |
Randomizer | _randomizer |
Private Attributes | |
T | _min |
T | _max |
int | _count |
bool | _inRange |
Additional Inherited Members | |
![]() | |
Type | DataType [get, protected set] |
|
inlineprotected |
|
inlineprotected |
|
inlinevirtual |
Gets an enumeration of data items for use as arguments for a test method parameter.
parameter | The parameter for which data is needed |
Implements NUnit.Framework.RandomAttribute.RandomDataSource.
References NUnit.Framework.Internal.Randomizer.GetRandomizer(), and NUnit.Framework.Interfaces.IParameterInfo.ParameterInfo.
|
protectedpure virtual |
Implemented in NUnit.Framework.RandomAttribute.DecimalDataSource, NUnit.Framework.RandomAttribute.SByteDataSource, NUnit.Framework.RandomAttribute.ByteDataSource, NUnit.Framework.RandomAttribute.FloatDataSource, NUnit.Framework.RandomAttribute.DoubleDataSource, NUnit.Framework.RandomAttribute.UShortDataSource, NUnit.Framework.RandomAttribute.ShortDataSource, NUnit.Framework.RandomAttribute.ULongDataSource, NUnit.Framework.RandomAttribute.LongDataSource, NUnit.Framework.RandomAttribute.UIntDataSource, and NUnit.Framework.RandomAttribute.IntDataSource.
|
protectedpure virtual |
|
private |
|
private |
|
private |
|
private |
|
protected |