Subversion Repository Public Repository

ConnectionOdbcSdk

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");
        }
    }
}

Commits for ConnectionOdbcSdk/trunk/ConnectionServerOdbcIntegrationTests/UnitTests/ConnectionPropertyPairUnitTests.cs

Diff revisions: vs.
Revision Author Commited Message
19 Diff Diff jlindborg picture jlindborg Mon 06 Jan, 2014 22:26:38 +0000

renaming and reorganizing unit tests a bit.

9 jlindborg picture jlindborg Fri 30 Aug, 2013 19:10:27 +0000

more unit and integration test setup work.