2002-02-20 Nick Drochak <ndrochak@gol.com>
authorNick Drochak <nickd@mono-cvs.ximian.com>
Tue, 19 Feb 2002 11:30:54 +0000 (11:30 -0000)
committerNick Drochak <nickd@mono-cvs.ximian.com>
Tue, 19 Feb 2002 11:30:54 +0000 (11:30 -0000)
* Int64Test.cs: One array was giving us trouble.  Not sure why, but
it's related to the number of elements in an Array.  For short Arrays
the compiler doesn't use the PrivateImplmentationDetails struct,
but for longer ones it does.  That's when our corlib fails. I paired
down the array for now.

svn path=/trunk/mcs/; revision=2502

mcs/class/corlib/Test/System/ChangeLog
mcs/class/corlib/Test/System/Int64Test.cs

index 8b8f640c6b97a4c1fd829543e32621d21143be80..324c6aa948cf925bd9ff906a985fa21e72fb5787 100644 (file)
@@ -1,3 +1,11 @@
+2002-02-20  Nick Drochak  <ndrochak@gol.com>\r
+\r
+       * Int64Test.cs: One array was giving us trouble.  Not sure why, but\r
+       it's related to the number of elements in an Array.  For short Arrays\r
+       the compiler doesn't use the PrivateImplmentationDetails struct,\r
+       but for longer ones it does.  That's when our corlib fails. I paired\r
+       down the array for now.\r
+\r
 2002-02-19  Duco Fijma <duco@lorentz.xs4all.nl>\r
        * GuidTest.cs: added a few cases\r
 \r
index fb9a3ad683d3a00b00bd42f523412dc69664b426..33df6c9b708a3df8fbac99b9de7db0addd7e2d07 100644 (file)
@@ -35,10 +35,17 @@ public class Int64Test : TestCase
                                          "-9223372036854775808", "-9,223,372,036,854,775,808.00", "-922,337,203,685,477,580,800.00 %", "8000000000000000"};
        private string[] ResultsNfi2 = {""+NumberFormatInfo.InvariantInfo.CurrencySymbol+"9,223,372,036,854,775,807.00000", "9223372036854775807", "9.22337e+018", "9223372036854775807.00000",
                                          "9.2234e+18", "9,223,372,036,854,775,807.00000", "922,337,203,685,477,580,700.00000 %", "7fffffffffffffff"};
-    private long[] vals
+
+       // FIXME: This is failing with an ArgumentException.  Seems to be related to the number of elements in the arrary,
+       // not the values themselves
+/*     private long[] vals
         = { 0, Int64.MaxValue, Int64.MinValue,
               1L, 12L, 123L, 1234L, -123L, 
               1234567890123456L, 6543210987654321L };
+*/
+       private long[] vals
+               = { 0, Int64.MaxValue, Int64.MinValue };
+
     private const long val1 = -1234567L;
     private const long val2 = 1234567L;
     private const string sval1Test1 = "  -1,234,567   ";