C# Class Habanero.Testability.ValidValueGeneratorShort

Generates a Valid Value for an Integer (int or Int32) based on the min or max value in the PropDef
Inheritance: ValidValueGenerator, IValidValueGeneratorNumeric
Afficher le fichier Open project: Chillisoft/habanero.testability

Méthodes publiques

Méthode Description
GenerateValidValue ( ) : object
GenerateValidValueGreaterThan ( object minValue ) : object
GenerateValidValueLessThan ( object maxValue ) : object
ValidValueGeneratorShort ( IPropDef propDef ) : Habanero.BO

Construct

Private Methods

Méthode Description
GenerateValidValue ( short overridingMinValue, short overridingMaxValue ) : short
GetMaxValue ( IPropRuleComparable propRule, short overridingMaxValue ) : short
GetMinValue ( IPropRuleComparable propRule, short overridingMinValue ) : short

Method Details

GenerateValidValue() public méthode

public GenerateValidValue ( ) : object
Résultat object

GenerateValidValueGreaterThan() public méthode

public GenerateValidValueGreaterThan ( object minValue ) : object
minValue object
Résultat object

GenerateValidValueLessThan() public méthode

public GenerateValidValueLessThan ( object maxValue ) : object
maxValue object
Résultat object

ValidValueGeneratorShort() public méthode

Construct
public ValidValueGeneratorShort ( IPropDef propDef ) : Habanero.BO
propDef IPropDef
Résultat Habanero.BO