C# Class Habanero.Testability.ValidValueGeneratorEnum

This will generate a valid value for the Enum identified by IPropDef.IPropDef.PropertyType
Inheritance: ValidValueGenerator
Afficher le fichier Open project: Chillisoft/habanero.testability Class Usage Examples

Méthodes publiques

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

ValidValueGeneratorEnum ( ISingleValueDef propDef ) : Habanero.Base

Method Details

GenerateValidValue() public méthode

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
public GenerateValidValue ( ) : object
Résultat object

ValidValueGeneratorEnum() public méthode

public ValidValueGeneratorEnum ( ISingleValueDef propDef ) : Habanero.Base
propDef ISingleValueDef
Résultat Habanero.Base