ソースを参照

TARGET_JVM: Enable passing tests

svn path=/trunk/mcs/; revision=76780
Konstantin Triger 18 年 前
コミット
93e7e92fed

+ 1 - 0
mcs/class/System.Configuration/Test/System.Configuration.Test20.csproj

@@ -87,6 +87,7 @@
     <Compile Include="System.Configuration\ConfigurationLockCollectionTest.cs" />
     <Compile Include="System.Configuration\ConfigurationManagerTest.cs" />
     <Compile Include="System.Configuration\ConfigurationPermissionTest.cs" />
+    <Compile Include="System.Configuration\ConfigurationPropertyTest.cs" />
     <Compile Include="System.Configuration\ConnectionStringSettingsTest.cs" />
     <Compile Include="System.Configuration\DefaultValidatorTest.cs" />
     <Compile Include="System.Configuration\ExeConfigurationFileMapTest.cs" />

+ 1 - 4
mcs/class/System.Configuration/Test/System.Configuration/InfiniteIntConverterTest.cs

@@ -111,10 +111,7 @@ namespace MonoTests.System.Configuration {
 		}
 
 		[Test]
-		[ExpectedException (typeof (NullReferenceException))]
-#if TARGET_JVM
-		[Category ("NotWorking")]
-#endif
+		[ExpectedException (typeof (NullReferenceException))]
 		public void ConvertTo_NullError ()
 		{
 			InfiniteIntConverter cv = new InfiniteIntConverter ();

+ 0 - 3
mcs/class/System.Configuration/Test/System.Configuration/InfiniteTimeSpanConverterTest.cs

@@ -101,9 +101,6 @@ namespace MonoTests.System.Configuration {
 
 		[Test]
 		[ExpectedException (typeof (NullReferenceException))]
-#if TARGET_JVM
-		[Category("NotWorking")]
-#endif
 		public void ConvertTo_NullError ()
 		{
 			InfiniteTimeSpanConverter cv = new InfiniteTimeSpanConverter ();

+ 1 - 4
mcs/class/System.Configuration/Test/System.Configuration/TimeSpanMinutesConverterTest.cs

@@ -111,10 +111,7 @@ namespace MonoTests.System.Configuration {
 		}
 
 		[Test]
-		[ExpectedException (typeof (NullReferenceException))]
-#if TARGET_JVM
-		[Category ("NotWorking")]
-#endif
+		[ExpectedException (typeof (NullReferenceException))]
 		public void ConvertTo_NullError ()
 		{
 			TimeSpanMinutesConverter cv = new TimeSpanMinutesConverter ();

+ 1 - 4
mcs/class/System.Configuration/Test/System.Configuration/TimeSpanMinutesOrInfiniteConverterTest.cs

@@ -121,10 +121,7 @@ namespace MonoTests.System.Configuration {
 		}
 
 		[Test]
-		[ExpectedException (typeof (NullReferenceException))]
-#if TARGET_JVM
-		[Category ("NotWorking")]
-#endif
+		[ExpectedException (typeof (NullReferenceException))]
 		public void ConvertTo_NullError ()
 		{
 			TimeSpanMinutesOrInfiniteConverter cv = new TimeSpanMinutesOrInfiniteConverter ();

+ 1 - 4
mcs/class/System.Configuration/Test/System.Configuration/TimeSpanSecondsConverterTest.cs

@@ -111,10 +111,7 @@ namespace MonoTests.System.Configuration {
 		}
 
 		[Test]
-		[ExpectedException (typeof (NullReferenceException))]
-#if TARGET_JVM
-		[Category ("NotWorking")]
-#endif
+		[ExpectedException (typeof (NullReferenceException))]
 		public void ConvertTo_NullError ()
 		{
 			TimeSpanSecondsConverter cv = new TimeSpanSecondsConverter ();

+ 1 - 4
mcs/class/System.Configuration/Test/System.Configuration/TimeSpanSecondsOrInfiniteConverterTest.cs

@@ -118,10 +118,7 @@ namespace MonoTests.System.Configuration {
 		}
 
 		[Test]
-		[ExpectedException (typeof (NullReferenceException))]
-#if TARGET_JVM
-		[Category ("NotWorking")]
-#endif
+		[ExpectedException (typeof (NullReferenceException))]
 		public void ConvertTo_NullError ()
 		{
 			TimeSpanSecondsOrInfiniteConverter cv = new TimeSpanSecondsOrInfiniteConverter ();

+ 1 - 0
mcs/class/System.Configuration/run-tests.test.bat

@@ -58,6 +58,7 @@ set JAVA_HOME=%VMW_HOME%\jre
 set RUNTIME_CLASSPATH=%JGAC_PATH%mscorlib.jar
 set RUNTIME_CLASSPATH=%RUNTIME_CLASSPATH%;%JGAC_PATH%System.jar
 set RUNTIME_CLASSPATH=%RUNTIME_CLASSPATH%;%JGAC_PATH%System.Xml.jar
+set RUNTIME_CLASSPATH=%RUNTIME_CLASSPATH%;%JGAC_PATH%System.Web.jar
 set RUNTIME_CLASSPATH=%RUNTIME_CLASSPATH%;%JGAC_PATH%System.Configuration.jar
 set RUNTIME_CLASSPATH=%RUNTIME_CLASSPATH%;%JGAC_PATH%J2SE.Helpers.jar
 set NUNIT_OPTIONS=/exclude=NotWorking