public void BoundField_GetValueNull() { PokerBoundField bf = new PokerBoundField(); SimpleSpreadsheetRow ds = new SimpleSpreadsheetRow(0, null); bf.DataField = PokerBoundField.ThisExpression; string result = (string)bf.DoGetValue(ds); }
public void BoundField_GetValue() { PokerBoundField bf = new PokerBoundField(); SimpleSpreadsheetRow ds = new SimpleSpreadsheetRow(0, "test"); bf.DataField = PokerBoundField.ThisExpression; string result = (string)bf.DoGetValue(ds); Assert.AreEqual("test", result, "GetValueFromIDataItemContainer"); }
public void BoundField_GetValue () { PokerBoundField bf = new PokerBoundField (); SimpleSpreadsheetRow ds = new SimpleSpreadsheetRow (0, "test"); bf.DataField = PokerBoundField.ThisExpression; string result = (string) bf.DoGetValue (ds); Assert.AreEqual ("test", result, "GetValueFromIDataItemContainer"); }
public void BoundField_GetValueNull () { PokerBoundField bf = new PokerBoundField (); SimpleSpreadsheetRow ds = new SimpleSpreadsheetRow (0, null); bf.DataField = PokerBoundField.ThisExpression; string result = (string) bf.DoGetValue (ds); }