Exemple #1
0
 public override void SetUp()
 {
     ElementValue = "not_a_decimal";
     base.SetUp();
     Attribute = null;
     Result    = XElementToTest.GetDecimalValue(Attribute, DefaultValue);
 }
Exemple #2
0
 public override void SetUp()
 {
     ElementValue = decimalElementValue.ToString();
     base.SetUp();
     Attribute = null;
     Result    = XElementToTest.GetDecimalValue(Attribute, DefaultValue);
 }
 public override void SetUp()
 {
     ElementValue = decimalElementValue.ToString(new CultureInfo("en-US").NumberFormat);
     base.SetUp();
     Attribute = null;
     Result    = XElementToTest.GetDecimalValue(Attribute, DefaultValue);
 }
Exemple #4
0
 public override void SetUp()
 {
     AttributeValue = integerAttributeValue.ToString();
     base.SetUp();
     Result = XElementToTest.GetDecimalValue(Attribute, DefaultValue);
 }
Exemple #5
0
 public override void SetUp()
 {
     base.SetUp();
     Attribute = "not_exists";
     Result    = XElementToTest.GetDecimalValue(Attribute, DefaultValue);
 }
Exemple #6
0
 public override void SetUp()
 {
     base.SetUp();
     XElementToTest = null;
     Result         = XElementToTest.GetDecimalValue(Attribute, DefaultValue);
 }
Exemple #7
0
 public override void SetUp()
 {
     AttributeValue = "not_number";
     base.SetUp();
     Result = XElementToTest.GetDecimalValue(Attribute, DefaultValue);
 }