[Mono-devel-list] SqlClient Tests - CS0234 errors
tsureshkumar
tsureshkumar at novell.com
Tue Jun 28 01:03:45 EDT 2005
RafaelMizrahi wrote:
> Hi Suresh,
> I started integrating Mainsoft testing framework with mono SVN,
> And when I compile the NUnit tests of System.Data I get 3 occurrences of the
> error:
>
> error CS0234: The type or namespace name 'DBNull' does not exist in the
> class or namespace 'MonoTests.System.Data' (are you missing an assembly
> reference?)
>
> I have changed the 3 lines so I will be able to compile with csc.
>
> 1) Can I commit ? (be kind ;) this is my first Commit ;)
Feel free to commit with the following correction.
Index: SqlTransactionTest.cs
===================================================================
--- SqlTransactionTest.cs (revision 46546)
+++ SqlTransactionTest.cs (working copy)
@@ -69,7 +69,7 @@
command.ExecuteNonQuery();
transaction.Commit();
}
- catch (System.Exception ex)
+ catch (Exception ex)
{
transaction.Rollback();
}
correction: omit the "ex" variable to minimize the warning.
+ catch (Exception)
FYI, we have few more connected mode tests under Test/DataProviderTests
for MSSql as well, that you need to have integrated.
suresh.
More information about the Mono-devel-list
mailing list