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