List:Commits« Previous MessageNext Message »
From:rburnett Date:August 31 2007 12:24am
Subject:Connector/NET commit: r998 - branches/5.1/TestSuite/Source
View as plain text  
Modified:
   branches/5.1/TestSuite/Source/DataTypeTests.cs
   branches/5.1/TestSuite/Source/PoolingTests.cs
   branches/5.1/TestSuite/Source/StoredProcedure.cs
Log:
fixed some test suite problems found when testing against 4.1

Modified: branches/5.1/TestSuite/Source/DataTypeTests.cs
===================================================================
--- branches/5.1/TestSuite/Source/DataTypeTests.cs	2007-08-30 22:10:51 UTC (rev 997)
+++ branches/5.1/TestSuite/Source/DataTypeTests.cs	2007-08-30 22:24:37 UTC (rev 998)
@@ -818,6 +818,8 @@
         [Test]
         public void BooleanForBit1()
         {
+            if (version < new Version(5, 0)) return;
+
             execSQL("DROP TABLE IF EXISTS Test");
             execSQL("CREATE TABLE Test (id INT, `on` BIT(1))");
             execSQL("INSERT INTO Test VALUES (1,1), (2,0)");

Modified: branches/5.1/TestSuite/Source/PoolingTests.cs
===================================================================
--- branches/5.1/TestSuite/Source/PoolingTests.cs	2007-08-30 22:10:51 UTC (rev 997)
+++ branches/5.1/TestSuite/Source/PoolingTests.cs	2007-08-30 22:24:37 UTC (rev 998)
@@ -256,6 +256,8 @@
 
 
 
+
+
 
 
 

Modified: branches/5.1/TestSuite/Source/StoredProcedure.cs
===================================================================
--- branches/5.1/TestSuite/Source/StoredProcedure.cs	2007-08-30 22:10:51 UTC (rev 997)
+++ branches/5.1/TestSuite/Source/StoredProcedure.cs	2007-08-30 22:24:37 UTC (rev 998)
@@ -1330,6 +1330,8 @@
         [Test]
         public void CatalogWithHyphens()
         {
+            if (version < new Version(5, 0)) return;
+
             // make sure this test is valid
             Assert.IsTrue(database0.IndexOf('-') != -1);
 

Thread
Connector/NET commit: r998 - branches/5.1/TestSuite/Sourcerburnett31 Aug