C# Class Habanero.Testability.ValidValueGeneratorEnum

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

Public Methods

Method 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 method

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
return object

ValidValueGeneratorEnum() public method

public ValidValueGeneratorEnum ( ISingleValueDef propDef ) : Habanero.Base
propDef ISingleValueDef
return Habanero.Base