[Mono-bugs] [Bug 40910][Maj] Changed - Bad "Z" mask parsing in DateTime

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Thu, 10 Apr 2003 20:25:14 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by bmaurer@users.sf.net.

http://bugzilla.ximian.com/show_bug.cgi?id=40910

--- shadow/40910	Wed Apr  9 23:20:35 2003
+++ shadow/40910.tmp.28744	Thu Apr 10 20:25:14 2003
@@ -93,6 +93,56 @@
 
 [23:19] <BenM> [05mauben@james tmp]$ mono test.exe
 [23:19] <BenM> Input: 20030407210500Z  Mask: yyyyMMddHHmmssZ
 [23:19] <BenM> ParseExact (localtime) Monday, 07 April 2003 21:05:00
 [23:19] <BenM> ToUniversalTime() Tuesday, 08 April 2003 01:05:00
 [23:19] <BenM> [05mauben@james tmp]$
+
+------- Additional Comments From bmaurer@users.sf.net  2003-04-10 20:25 -------
+I tried the Date Time tests on the ms corlib got one failure:
+
+<?xml version="1.0" standalone="no"?>
+<!--This file represents the results of running a test suite-->
+<test-results name="C:\Documents and 
+Settings\ben\Desktop\DateTimeTest.dll" total="4" failures="1" not-
+run="0" date="04/10/2003" time="8:24 PM">
+  <test-suite name="C:\Documents and 
+Settings\ben\Desktop\DateTimeTest.dll" success="False" 
+time="0.080116">
+    <results>
+      <test-suite name="MonoTests" success="False" time="0.080116">
+        <results>
+          <test-suite name="System" success="False" time="0.080116">
+            <results>
+              <test-suite name="DateTimeTest" success="False" 
+time="0.0701015">
+                <results>
+                  <test-case 
+name="MonoTests.System.DateTimeTest.TestCtors" executed="True" 
+success="True" time="0.010" />
+                  <test-case 
+name="MonoTests.System.DateTimeTest.TestToString" executed="True" 
+success="True" time="0.000" />
+                  <test-case 
+name="MonoTests.System.DateTimeTest.TestParseExact" executed="True" 
+success="False" time="0.030">
+                    <failure>
+                      <message><![CDATA[F01 
+expected:<631855918800000000>
+ but was:<631855882800000000>]]></message>
+                      <stack-trace><![CDATA[   at 
+MonoTests.System.DateTimeTest.TestParseExact()
+]]></stack-trace>
+                    </failure>
+                  </test-case>
+                  <test-case 
+name="MonoTests.System.DateTimeTest.TestParse" executed="True" 
+success="True" time="0.010" />
+                </results>
+              </test-suite>
+            </results>
+          </test-suite>
+        </results>
+      </test-suite>
+    </results>
+  </test-suite>
+</test-results>