Author: borisk
Date: 2006-09-17 07:49:00 -0400 (Sun, 17 Sep 2006)
New Revision: 65533

Modified:
   trunk/mcs/class/System.Data/ChangeLog
   trunk/mcs/class/System.Data/Test/ProviderTests/ChangeLog
   
trunk/mcs/class/System.Data/Test/ProviderTests/System.Data.OleDb.Tests20.J2EE.vmwcsproj
   
trunk/mcs/class/System.Data/Test/ProviderTests/System.Data.OleDb.jvm/OleDbConnection/ChangeLog
   
trunk/mcs/class/System.Data/Test/ProviderTests/System.Data.OleDb.jvm/OleDbConnection/OleDbConnection_ConnectionString.cs
   trunk/mcs/class/System.Data/Test/System.Data/ChangeLog
   trunk/mcs/class/System.Data/Test/System.Data/DataSetTest.cs
   trunk/mcs/class/System.Data/Test/System.Data/DataViewTest.cs
   trunk/mcs/class/System.Data/run-tests.test.disconnected.bat
Log:
Fixes for net_2_0 tests run.

Modified: trunk/mcs/class/System.Data/ChangeLog
===================================================================
--- trunk/mcs/class/System.Data/ChangeLog       2006-09-17 11:25:38 UTC (rev 
65532)
+++ trunk/mcs/class/System.Data/ChangeLog       2006-09-17 11:49:00 UTC (rev 
65533)
@@ -1,3 +1,7 @@
+2006-09-17     Boris Kirzner <[EMAIL PROTECTED]>
+
+       * run-tests.test.disconnected.bat : added usage of app config.
+
 2006-09-12     Boris Kirzner <[EMAIL PROTECTED]>
        * run-tests.test.connected.bat, run-tests.test.disconnected.bat: 
        small fixes for TARGET_JVM test scrips.

Modified: trunk/mcs/class/System.Data/Test/ProviderTests/ChangeLog
===================================================================
--- trunk/mcs/class/System.Data/Test/ProviderTests/ChangeLog    2006-09-17 
11:25:38 UTC (rev 65532)
+++ trunk/mcs/class/System.Data/Test/ProviderTests/ChangeLog    2006-09-17 
11:49:00 UTC (rev 65533)
@@ -1,3 +1,6 @@
+2006-09-17     Boris Kirzner <[EMAIL PROTECTED]>
+       * System.Data.OleDb.Tests20.J2EE.vmwcsproj: added KNOW_BUG variable.
+
 2006-09-12     Boris Kirzner <[EMAIL PROTECTED]>
        * System.Data.OleDb.J2EE.config: changed test server name.
 

Modified: 
trunk/mcs/class/System.Data/Test/ProviderTests/System.Data.OleDb.Tests20.J2EE.vmwcsproj
===================================================================
--- 
trunk/mcs/class/System.Data/Test/ProviderTests/System.Data.OleDb.Tests20.J2EE.vmwcsproj
     2006-09-17 11:25:38 UTC (rev 65532)
+++ 
trunk/mcs/class/System.Data/Test/ProviderTests/System.Data.OleDb.Tests20.J2EE.vmwcsproj
     2006-09-17 11:49:00 UTC (rev 65533)
@@ -22,7 +22,7 @@
        <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 
'Debug_Java20|AnyCPU' ">
                <DebugSymbols>true</DebugSymbols>
                <OutputPath>bin\Debug_Java20\</OutputPath>
-               
<DefineConstants>TRACE;DEBUG;JAVA;TARGET_JVM;NET_1_1;NET_2_0</DefineConstants>
+               
<DefineConstants>TRACE;DEBUG;JAVA;TARGET_JVM;NET_1_1;NET_2_0;KNOWN_BUG</DefineConstants>
                <BaseAddress>285212672</BaseAddress>
                <DebugType>full</DebugType>
                <PlatformTarget>AnyCPU</PlatformTarget>

Modified: 
trunk/mcs/class/System.Data/Test/ProviderTests/System.Data.OleDb.jvm/OleDbConnection/ChangeLog
===================================================================
--- 
trunk/mcs/class/System.Data/Test/ProviderTests/System.Data.OleDb.jvm/OleDbConnection/ChangeLog
      2006-09-17 11:25:38 UTC (rev 65532)
+++ 
trunk/mcs/class/System.Data/Test/ProviderTests/System.Data.OleDb.jvm/OleDbConnection/ChangeLog
      2006-09-17 11:49:00 UTC (rev 65533)
@@ -1,3 +1,7 @@
+2006-09-17     Boris Kirzner <[EMAIL PROTECTED]>
+
+       * OleDbConnection_ConnectionString.cs: fixed connection string.
+
 2006-05-09  Konstantin Triger <[EMAIL PROTECTED]>
 
        * OleDbConnection_GetOleDbSchemaTable.cs: in Oracle Database maps to 
Schema.
\ No newline at end of file

Modified: 
trunk/mcs/class/System.Data/Test/ProviderTests/System.Data.OleDb.jvm/OleDbConnection/OleDbConnection_ConnectionString.cs
===================================================================
--- 
trunk/mcs/class/System.Data/Test/ProviderTests/System.Data.OleDb.jvm/OleDbConnection/OleDbConnection_ConnectionString.cs
    2006-09-17 11:25:38 UTC (rev 65532)
+++ 
trunk/mcs/class/System.Data/Test/ProviderTests/System.Data.OleDb.jvm/OleDbConnection/OleDbConnection_ConnectionString.cs
    2006-09-17 11:49:00 UTC (rev 65533)
@@ -185,7 +185,7 @@
                                string user = (string)conProps["User Id"];
                                string password = (string)conProps["Password"];
                                string database = (string)conProps["Initial 
Catalog"];
-                               string jdbcUrlTemplate = 
"JdbcDriverClassName=com.microsoft.jdbc.sqlserver.SQLServerDriver;JdbcURL=\"jdbc:microsoft:sqlserver://{0};User={1};Password={2};DatabaseName={3}\"";
+                               string jdbcUrlTemplate = 
"JdbcDriverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver;JdbcURL=\"jdbc:sqlserver://{0};User={1};Password={2};DatabaseName={3}\"";
                                string conStr = string.Format(jdbcUrlTemplate, 
server, user, password, database);
                                con = new OleDbConnection(conStr);
                                con.Open();

Modified: trunk/mcs/class/System.Data/Test/System.Data/ChangeLog
===================================================================
--- trunk/mcs/class/System.Data/Test/System.Data/ChangeLog      2006-09-17 
11:25:38 UTC (rev 65532)
+++ trunk/mcs/class/System.Data/Test/System.Data/ChangeLog      2006-09-17 
11:49:00 UTC (rev 65533)
@@ -1,3 +1,8 @@
+2006-09-17     Boris Kirzner <[EMAIL PROTECTED]>
+
+       * DataViewTest.cs : marked not wroker test for TARGET_JVM.
+       * DataSetTest.cs : marked not working net_2_0 tests.
+
 2006-08-31  Gert Driesen <[EMAIL PROTECTED]>
 
        * DataRelationTest2.cs: Added test for bug #79233, currently marked

Modified: trunk/mcs/class/System.Data/Test/System.Data/DataSetTest.cs
===================================================================
--- trunk/mcs/class/System.Data/Test/System.Data/DataSetTest.cs 2006-09-17 
11:25:38 UTC (rev 65532)
+++ trunk/mcs/class/System.Data/Test/System.Data/DataSetTest.cs 2006-09-17 
11:49:00 UTC (rev 65533)
@@ -167,6 +167,9 @@
                }
 
                [Test]
+#if NET_2_0
+               [Category("NotWorking")]
+#endif
                public void OwnWriteXmlSchema ()
                {
                        DataSet ds = new DataSet ("test_dataset");
@@ -539,7 +542,10 @@
                        AssertEquals ("test#15", "</diffgr:diffgram>", 
TextString);
                }
 
-               [Test]
+               [Test]
+#if NET_2_0
+               [Category ("NotWorking")]
+#endif
                public void WriteXmlSchema ()
                {
                        DataSet ds = new DataSet ();                    
@@ -1031,7 +1037,10 @@
                        AssertEquals (xml, sw.ToString ());
                }
 
-               [Test]
+               [Test]
+#if NET_2_0
+               [Category ("NotWorking")]
+#endif
                public void SerializeDataSet ()
                {
                        // see GetReady() for current culture
@@ -1476,7 +1485,10 @@
                        AssertEquals (input, sw.ToString ().Replace ("\r\n", 
"\n"));
                }
 
-               [Test] // bug #60469
+               [Test] // bug #60469
+#if NET_2_0
+               [Category ("NotWorking")]
+#endif
                public void WriteXmlSchema2 ()
                {
                        string xml = @"<myDataSet 
xmlns='NetFrameWork'><myTable><id>0</id><item>item 
0</item></myTable><myTable><id>1</id><item>item 
1</item></myTable><myTable><id>2</id><item>item 
2</item></myTable><myTable><id>3</id><item>item 
3</item></myTable><myTable><id>4</id><item>item 
4</item></myTable><myTable><id>5</id><item>item 
5</item></myTable><myTable><id>6</id><item>item 
6</item></myTable><myTable><id>7</id><item>item 
7</item></myTable><myTable><id>8</id><item>item 
8</item></myTable><myTable><id>9</id><item>item 9</item></myTable></myDataSet>";
@@ -1534,7 +1546,10 @@
                }
 
                // bug #66366
-               [Test]
+               [Test]
+#if NET_2_0
+               [Category ("NotWorking")]
+#endif
                public void WriteXmlSchema3 ()
                {
                        string xmlschema = @"<?xml version=""1.0"" 
encoding=""utf-16""?>
@@ -1577,7 +1592,10 @@
                }
 
                // bug #67792.
-               [Test]
+               [Test]
+#if NET_2_0
+               [Category ("NotWorking")]
+#endif
                public void WriteXmlSchema4 ()
                {
                        string xmlschema = @"<?xml version=""1.0"" 
encoding=""utf-16""?>
@@ -1619,7 +1637,10 @@
                }
 
                // bug # 68432
-               [Test]
+               [Test]
+#if NET_2_0
+               [Category ("NotWorking")]
+#endif
                public void WriteXmlSchema5 ()
                {
                        string xmlschema = @"<?xml version=""1.0"" 
encoding=""utf-16""?>
@@ -1727,7 +1748,10 @@
                }
 
                // bug #67793
-               [Test]
+               [Test]
+#if NET_2_0
+               [Category ("NotWorking")]
+#endif
                public void WriteXmlSchema6 ()
                {
                        string xmlschema = @"<?xml version=""1.0"" 
encoding=""utf-16""?>
@@ -1785,7 +1809,10 @@
                }
 
                // bug #61233
-               [Test]
+               [Test]
+#if NET_2_0
+                       [Category ("NotWorking")]
+#endif
                public void WriteXmlExtendedProperties ()
                {
                        string xml = @"<?xml version=""1.0"" 
encoding=""utf-16""?>
@@ -1819,7 +1846,10 @@
                        AssertEquals (xml, result.Replace ("\r\n", "\n"));
                }
 
-               [Test]
+               [Test]
+#if NET_2_0
+               [Category ("NotWorking")]
+#endif
                public void WriteXmlModeSchema ()
                {
                        // This is the MS output of WriteXmlSchema().

Modified: trunk/mcs/class/System.Data/Test/System.Data/DataViewTest.cs
===================================================================
--- trunk/mcs/class/System.Data/Test/System.Data/DataViewTest.cs        
2006-09-17 11:25:38 UTC (rev 65532)
+++ trunk/mcs/class/System.Data/Test/System.Data/DataViewTest.cs        
2006-09-17 11:49:00 UTC (rev 65533)
@@ -414,6 +414,9 @@
 
                [Test]
                [ExpectedException (typeof (ArgumentException))]
+#if TARGET_JVM
+               [Category("NotWorking")] // defect 5446
+#endif
                public void Find_3 ()
                {
                        dataView.Sort = "itemID, itemName";

Modified: trunk/mcs/class/System.Data/run-tests.test.disconnected.bat
===================================================================
--- trunk/mcs/class/System.Data/run-tests.test.disconnected.bat 2006-09-17 
11:25:38 UTC (rev 65532)
+++ trunk/mcs/class/System.Data/run-tests.test.disconnected.bat 2006-09-17 
11:49:00 UTC (rev 65533)
@@ -35,13 +35,16 @@
 set TEST_SOLUTION=Test\System.Data.Test20.sln
 set TEST_ASSEMBLY=System.Data.Test.jar
 set PROJECT_CONFIGURATION=Debug_Java20
+set APP_CONFIG_FILE=app_test_2.0.config
 
 
 set DATEL=%date:~10,4%_%date:~4,2%_%date:~7,2%%
 set TIMEL=%time:~0,2%_%time:~3,2%
 set TIMESTAMP=%DATEL%_%TIMEL%
 
+set NUNIT_OPTIONS=/exclude:NotWorking,ValueAdd,CAS,InetAccess
 
+
 REM ********************************************************
 REM @echo Set environment
 REM ********************************************************
@@ -107,6 +110,7 @@
 REM ********************************************************
 
 copy %BACK_TO_ROOT_DIR%Test\bin\%PROJECT_CONFIGURATION%\%TEST_ASSEMBLY% .
+copy %APP_CONFIG_FILE% nunit-console.exe.config
 
 REM @echo on
 "%JAVA_HOME%\bin\java" -Xmx1024M -cp %CLASSPATH% NUnit.Console.ConsoleUi 
%TEST_ASSEMBLY% /fixture=%RUNNING_FIXTURE%  %NUNIT_OPTIONS% 
/xml=%GH_OUTPUT_XML% >>%RUN_LOG% 2<&1

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to