Quellcode durchsuchen

In Test/System.Data.Common:
2005-04-04 Sureshkumar T <[email protected]>

* DbConnectionStringBuilderTest.cs: few more tests ignored for now
because of gmcs incompatiability with csc. generic types are not
being able to be assigned to non-generic types though implements
non-generic interface.

In .:
2005-04-04 Sureshkumar T <[email protected]>

* System.Data_test.dll.sources: Added
Test/System.Data.Common/DbConnectionStringBuilderTest.cs

* System.Data.dll.sources: Added
System.Data.Common/DbConnectionStringBuilder.cs


svn path=/trunk/mcs/; revision=42506

Sureshkumar T vor 21 Jahren
Ursprung
Commit
3671c260e6

+ 8 - 0
mcs/class/System.Data/ChangeLog

@@ -1,3 +1,11 @@
+2005-04-04  Sureshkumar T  <[email protected]>
+
+	* System.Data_test.dll.sources: Added
+	Test/System.Data.Common/DbConnectionStringBuilderTest.cs
+
+	* System.Data.dll.sources: Added
+	System.Data.Common/DbConnectionStringBuilder.cs
+
 2005-03-10  Sureshkumar T  <[email protected]>
 
 	* System.Data.dll.sources: Added

+ 1 - 0
mcs/class/System.Data/System.Data.dll.sources

@@ -141,6 +141,7 @@ System.Data.Common/DataTableMappingCollection.cs
 System.Data.Common/DataTableMapping.cs
 System.Data.Common/DataTableMappingConverter.cs
 System.Data.Common/DbCommandBuilder.cs
+System.Data.Common/DbConnectionStringBuilder.cs
 System.Data.Common/DbCommand.cs
 System.Data.Common/DbCommandOptionalFeatures.cs
 System.Data.Common/DbCommandSet.cs

+ 1 - 0
mcs/class/System.Data/System.Data_test.dll.sources

@@ -40,6 +40,7 @@ System.Data.Common/DataColumnMappingCollectionTest.cs
 System.Data.Common/DataTableMappingCollectionTest.cs
 System.Data.Common/DBDataPermissionAttributeTest.cs
 System.Data.Common/DBDataPermissionTest.cs
+System.Data.Common/DbConnectionStringBuilderTest.cs
 System.Data.Odbc/OdbcPermissionAttributeTest.cs
 System.Data.Odbc/OdbcPermissionTest.cs
 System.Data.OleDb/OleDbPermissionAttributeTest.cs

+ 7 - 0
mcs/class/System.Data/Test/System.Data.Common/ChangeLog

@@ -1,3 +1,10 @@
+2005-04-04  Sureshkumar T  <[email protected]>
+
+	* DbConnectionStringBuilderTest.cs: few more tests ignored for now
+	because of gmcs incompatiability with csc. generic types are not
+	being able to be assigned to non-generic types though implements
+	non-generic interface.
+
 2005-02-22  Sureshkumar T  <[email protected]>
 
 	* ConnectionStringsSectionTest.cs: Added file. Tests for

+ 6 - 4
mcs/class/System.Data/Test/System.Data.Common/DbConnectionStringBuilderTest.cs

@@ -183,11 +183,10 @@ namespace MonoTests.System.Data.Common
                         Assert.Fail ("Exception Destination Array not enough is not thrown!");
                 }
 
-                [Test, Ignore ("FIXME : currently mono is not supporting casting from generic type to"+
-                 " non generic type")]
+                [Test, Ignore ("FIXME : currently mono is not supporting casting from generic type to"+ " non generic type")]
                 public void ICollectionCopyToTest ()
                 {
-
+			/*
                         KeyValuePair <string, object> [] arr = new KeyValuePair <string, object> [2];
                         builder.Add (SERVER, SERVER_VALUE);
                         builder.Add (SERVER + "1", SERVER_VALUE + "1");
@@ -197,17 +196,20 @@ namespace MonoTests.System.Data.Common
                         Assert.AreEqual (SERVER_VALUE, arr [0].Value, "not equal");
                         Assert.AreEqual (SERVER + "1", arr [1].Key, "not equal");
                         Assert.AreEqual (SERVER_VALUE + "1", arr [1].Value, "not equal");
+			*/
                 }
 
-                [Test]
+                [Test, Ignore ("FIXME : currently mono is not supporting casting from generic type to"+ " non generic type")]
                 [ExpectedException (typeof (ArgumentException))]
                 public void NegICollectionCopyToTest ()
                 {
+			/*
                         string [] arr = new string [2];
                         builder.Add (SERVER, SERVER_VALUE);
                         builder.Add (SERVER + "1", SERVER_VALUE + "1");
                         System.Collections.ICollection s = builder;
                         s.CopyTo ((Array) arr, 0);
+			*/
                 }
 
                 [Test]