

ConnectionOdbcSdk
@ 19
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
using System; using Cisco.UnityConnection.OdbcSdk; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace UnityConnectionServerOdbcTests { [TestClass] public class ConnectionPropertyPairUnitTests { [TestMethod] public void PropertyPairTest() { const string strName = "name"; const string strValue = "value"; ConnectionObjectPropertyPair oPair = new ConnectionObjectPropertyPair(strName,strValue); Console.WriteLine(oPair); Assert.IsTrue(oPair.PropertyName.Equals(strName), "Name does not match what was passed to constructor"); Assert.IsTrue(oPair.PropertyValue.Equals(strValue), "Value does not match what was passed to constructor"); } } } |