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_GetValueDataItem() { PokerBoundField bf = new PokerBoundField(); ControlWithDataItem ds = new ControlWithDataItem("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_GetValueExeption() { PokerBoundField bf = new PokerBoundField(); bf.DoGetValue(null); }
public void BoundField_GetValueExeption () { PokerBoundField bf = new PokerBoundField (); bf.DoGetValue (null); }
public void BoundField_GetValueDataItem () { PokerBoundField bf = new PokerBoundField (); ControlWithDataItem ds = new ControlWithDataItem ("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); }