[System.Data] Integration tests (#4538)
[mono.git] / mcs / class / System.Data / Test / ProviderTests / System.Data.SqlClient / SqlConnectionStringBuilderTest.cs
index e897d9e1fabf800bf03b9037a6cd8b7f9e3ecf90..82df6f15294097dbda61b03a69f979a46b98f6ff 100644 (file)
@@ -33,7 +33,6 @@
 using System;
 using System.Text;
 using System.Collections;
-
 using System.Data;
 using System.Data.SqlClient;
 
@@ -41,7 +40,7 @@ using NUnit.Framework;
 
 #endregion
 
-namespace MonoTests.System.Data.Common
+namespace MonoTests.System.Data.Connected.SqlClient
 {
 
        [TestFixture]
@@ -49,7 +48,7 @@ namespace MonoTests.System.Data.Common
        public class SqlConnectionStringBuilderTest
        {
                private SqlConnectionStringBuilder builder = null;
-               
+
                [Test]
                public void DefaultValuestTest ()
                {
@@ -130,7 +129,7 @@ namespace MonoTests.System.Data.Common
                        Assert.AreEqual (false, builder.TrustServerCertificate, "#1 The default value should be false");
                        builder.TrustServerCertificate = true;
                        Assert.AreEqual (true, builder.TrustServerCertificate, "#2 The value returned should be true after setting the value of TrustServerCertificate to true");
-                       Assert.AreEqual ("Trust Server Certificate=True", builder.ConnectionString, "#3 The value of the key TrustServerCertificate should be added to the connection string");
+                       Assert.AreEqual ("TrustServerCertificate=True", builder.ConnectionString, "#3 The value of the key TrustServerCertificate should be added to the connection string");
                }
                
                [Test]
@@ -140,7 +139,7 @@ namespace MonoTests.System.Data.Common
                        Assert.AreEqual ("Latest", builder.TypeSystemVersion, "#1 The default value for the property should be Latest");
                        builder.TypeSystemVersion = "SQL Server 2005";
                        Assert.AreEqual ("SQL Server 2005", builder.TypeSystemVersion, "#2 The value for the property should be SQL Server 2005 after setting this value");
-                       Assert.AreEqual ("Type System Version=SQL Server 2005", builder.ConnectionString, "#3 The value of the key Type System Version should be added to the connection string");
+                       Assert.AreEqual ("Type System Version=\"SQL Server 2005\"", builder.ConnectionString, "#3 The value of the key Type System Version should be added to the connection string");
                }
 
                [Test]