Méthode | Description | |
---|---|---|
GenerateValidValue ( ) : object |
Generates a valid value taking into account only the IPropRules. I.e. any InterPropRules will not be taken into account. The IValidValueGeneratorNumeric's methods are used by the BOTestFactory to create valid values taking into account InterPropRules
|
|
ValidValueGeneratorTextFile ( ISingleValueDef propDef, string fileName = null ) : System.Collections.Generic |
Constructs a new instance of the generator
|
Méthode | Description | |
---|---|---|
CreateSampleValues ( ) : void | ||
GetStringsFromFile ( ) : List |
public ValidValueGeneratorTextFile ( ISingleValueDef propDef, string fileName = null ) : System.Collections.Generic | ||
propDef | ISingleValueDef | The definition of the property for which random values will be generated |
fileName | string | The filename that contains the available values, including the path. If the path is relative, /// it will relate to the execution directory. If no filename is specified, the filename used will be the /// property name (e.g. FirstName) with a ".txt" extension. |
Résultat | System.Collections.Generic |