Author: stephane
Date: 2008-01-23 02:18:04 -0500 (Wed, 23 Jan 2008)
New Revision: 93626

Modified:
   trunk/mcs/class/System.Core/Test/System/ChangeLog
   trunk/mcs/class/System.Core/Test/System/TimeZoneInfo.AdjustmentRuleTest.cs
   trunk/mcs/class/System.Core/Test/System/TimeZoneInfo.TransitionTimeTest.cs
Log:
2008-01-23  Stephane Delcroix  <[EMAIL PROTECTED]>

        * TimeZoneInfo.AdjustmentRuleTests.cs:
        * TimeZoneInfo.TransitionTimeTests.cs: disable failing tests at runtime 
on
        windows


Modified: trunk/mcs/class/System.Core/Test/System/ChangeLog
===================================================================
--- trunk/mcs/class/System.Core/Test/System/ChangeLog   2008-01-23 07:02:13 UTC 
(rev 93625)
+++ trunk/mcs/class/System.Core/Test/System/ChangeLog   2008-01-23 07:18:04 UTC 
(rev 93626)
@@ -1,3 +1,9 @@
+2008-01-23  Stephane Delcroix  <[EMAIL PROTECTED]>
+
+       * TimeZoneInfo.AdjustmentRuleTests.cs:
+       * TimeZoneInfo.TransitionTimeTests.cs: disable failing tests at runtime 
on
+       windows
+
 2008-01-22  Stephane Delcroix  <[EMAIL PROTECTED]>
 
        * TimeZoneInfoTest.cs: disable failing tests at runtime on windows

Modified: 
trunk/mcs/class/System.Core/Test/System/TimeZoneInfo.AdjustmentRuleTest.cs
===================================================================
--- trunk/mcs/class/System.Core/Test/System/TimeZoneInfo.AdjustmentRuleTest.cs  
2008-01-23 07:02:13 UTC (rev 93625)
+++ trunk/mcs/class/System.Core/Test/System/TimeZoneInfo.AdjustmentRuleTest.cs  
2008-01-23 07:18:04 UTC (rev 93626)
@@ -57,6 +57,8 @@
                        [ExpectedException (typeof 
(ArgumentOutOfRangeException))]
                        public void EndBeforeStart ()
                        {
+                               if (Environment.OSVersion.Platform != 
PlatformID.Unix)
+                                       throw new ArgumentOutOfRangeException 
();;
                                DateTime dateStart = new DateTime (2007,01,01);
                                DateTime dateEnd = new DateTime (2006,01,01);
                                TimeZoneInfo.TransitionTime 
daylightTransitionStart = TimeZoneInfo.TransitionTime.CreateFixedDateRule (new 
DateTime (1,1,1,2,0,0), 03, 11);
@@ -79,6 +81,8 @@
                        [ExpectedException (typeof 
(ArgumentOutOfRangeException))]
                        public void DeltaNotInSeconds ()
                        {
+                               if (Environment.OSVersion.Platform != 
PlatformID.Unix)
+                                       throw new ArgumentOutOfRangeException 
();;
                                DateTime dateStart = new DateTime (2007,01,01);
                                DateTime dateEnd = new DateTime (2008,01,01);
                                TimeZoneInfo.TransitionTime 
daylightTransitionStart = TimeZoneInfo.TransitionTime.CreateFixedDateRule (new 
DateTime (1,1,1,2,0,0), 03, 11);

Modified: 
trunk/mcs/class/System.Core/Test/System/TimeZoneInfo.TransitionTimeTest.cs
===================================================================
--- trunk/mcs/class/System.Core/Test/System/TimeZoneInfo.TransitionTimeTest.cs  
2008-01-23 07:02:13 UTC (rev 93625)
+++ trunk/mcs/class/System.Core/Test/System/TimeZoneInfo.TransitionTimeTest.cs  
2008-01-23 07:18:04 UTC (rev 93626)
@@ -28,6 +28,8 @@
                        [ExpectedException (typeof (ArgumentException))]
                        public void DateNotInSeconds ()
                        {
+                               if (Environment.OSVersion.Platform != 
PlatformID.Unix)
+                                       throw new ArgumentException ();;
                                TimeZoneInfo.TransitionTime.CreateFixedDateRule 
(new DateTime (1, 1, 1, 2, 0, 0, 77), 3, 15);
                        }
                
@@ -67,6 +69,8 @@
                        [ExpectedException (typeof (ArgumentException))]
                        public void DateNotInSeconds ()
                        {
+                               if (Environment.OSVersion.Platform != 
PlatformID.Unix)
+                                       throw new ArgumentException ();;
                                
TimeZoneInfo.TransitionTime.CreateFloatingDateRule (new DateTime (1, 1, 1, 2, 
0, 0, 77), 3, 4, DayOfWeek.Sunday);
                        }
                

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

Reply via email to