Esempio n. 1
0
        public void BoundField_GetValueNull()
        {
            PokerBoundField      bf = new PokerBoundField();
            SimpleSpreadsheetRow ds = new SimpleSpreadsheetRow(0, null);

            bf.DataField = PokerBoundField.ThisExpression;
            string result = (string)bf.DoGetValue(ds);
        }
Esempio n. 2
0
        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);
		}