2002-09-19 Nick Drochak <ndrochak@gol.com>
[mono.git] / mcs / class / corlib / Test / System / ChangeLog
1 2002-09-19  Nick Drochak  <ndrochak@gol.com>
2
3         * ArrayTest.cs: Report errors with CopyTo().
4
5 2002-09-19  Nick Drochak <ndrochak@gol.com>
6
7         * ArrayTest.cs: Can check for exception throw now on CopyTo(). Re-
8         enable test.
9
10 2002-09-13  Nick Drochak  <ndrochak@gol.com>
11
12         * EnumTest.cs: Add an extreme value test for format.
13
14 2002-09-11  Nick Drochak  <ndrochak@gol.com>
15
16         * DoubleTest.cs: Add test for bad format string passed to ToString().
17         * Int64Test.cs: Re-enable broad range of test values.
18         * MulticastDeletegateTest.cs: Re-enable test for correct order of
19         delegate firing.
20
21 2002-09-08  Nick Drochak  <ndrochak@gol.com>
22
23         * DateTimeTest.cs: Disable test bug file it in bugzilla.
24
25 2002-09-04  Jonathan Pryor <jonpryor@vt.edu>
26         * EnumTest.cs: 
27           - Added additional "x" formatter test case to test most recent Enum.cs patch
28                 - Code cleanup so that all TestFormat test cases would be executed
29                 - Change exception types in TestFormat_Args so that it passes on .NET.
30                   (Some ArgumentNullExceptions should be been ArgumentExceptions.)
31
32 2002/08/09  Nick Drochak <ndrochak@gol.com>
33
34         * DecimalTest.cs: Add try-catch block to find which one is throwing
35         the Overflow.  Also started making each Assert using a unique message
36         to differentiate those as well.
37
38         * MulticastDelegate.cs: Disable tests checking the order that delegates
39         are executed.  There's a bugzilla entry for this already because we do
40         it in reverse order. See:
41         http://bugzilla.ximian.com/show_bug.cgi?id=28306
42
43 2002/08/02  Nick Drochak <ndrochak@gol.com>
44
45         * ConvertTest.cs (TestGetTypeCode): Find out which test is failing on
46         linux.
47
48 2002-08-02  Nick Drochak  <ndrochak@gol.com>
49
50         * BufferTest.cs (TestBlockCopy): BlockCopy uses the number of bytes,
51         so hard-code some of that info into the test since sizeof() is a very
52         unsafe thing to do.
53
54 2002-07-31  Nick Drochak  <ndrochak@gol.com>
55
56         * BufferTest.cs: Fixed noisy compiler warnings about unused vars.
57
58 2002-07-22  Cesar Octavio Lopez Nataren  <cesar@ciencias.unam.mx>
59
60         * BufferTest.cs: Added this file to test the System.Buffer class 
61         implementation.
62
63 2002-07-17  Martin Baulig  <martin@gnome.org>
64
65         * ConvertTest.cs: Commented out line 456 which contains a non-printable
66         character which mcs does not like.  See also bug #27655.
67
68         * DecimalTest.cs, DecimanTest2.cs: Removed the `using S = System'.
69
70 2002-07-11  Nick Drochak  <ndrochak@gol.com>
71
72         * ArrayTest.cs: Disable a test for now.  Bugzilla'd this one.
73         * ConvertTest.cs: Make message unique for this mistaken duplicate.
74
75 2002-07-04  Nick Drochak  <ndrochak@gol.com>
76
77         * DateTimeTest.cs: Made tests pass on ms.net.  Well, they pass in
78         timezone JST.  Need to test in others.  Maybe I'll fly over to GMT
79         and see how they work.  Supposed to be eaiser there.
80
81 2002-07-04  Nick Drochak  <ndrochak@gol.com>
82
83         * ConvertTest.cs: Make the test generate the overflow exceptions on
84         mono on Linux.
85         * DecimalTest2.cs: Report exception thrown during subtraction.
86
87 2002-07-03  Nick Drochak  <ndrochak@gol.com>
88
89         * DoubleTest.cs: Fix some Assert/AssertEquals usage.
90
91 2002-07-03  Nick Drochak  <ndrochak@gol.com>
92
93         * ArrayTest.cs: Re-enable some tests.  Let's see what's broken still.
94
95 2002-06-20  Nick Drochak  <ndrochak@gol.com>
96
97         * DecimalTest2.cs: Make tests pass against ms.net.
98
99 2002-06-19  Nick Drochak  <ndrochak@gol.com>
100
101         * AllTests.cs: Add missing test: DecimalTest2
102         * DecimalTest2.cs: Convert Console.Writeline() into a Fail()
103
104 2002/06/14  Nick Drochak <ndrochak@gol.com>
105
106         * Int64Test.cs: Make currency symbol test more culturally sensitive.
107
108 2002-06-14  Nick Drochak  <ndrochak@gol.com>
109
110         * DateTimeTest.cs: Make some of the tests a bit more timezone neutral.
111
112 2002-06-12   Nick Drochak  <ndrochak@gol.com>
113
114         * ConvertTest.cs: Punt bug in DateTime.Parse() over to that test.
115         * DateTimeTest.cs: Add test for date format of yyyy-mm-dd which mono
116         doesn't handle automagically like ms.net does.  This smells like a 
117         LAMESPEC, however.
118
119 2002/06/12  Nick Drochak <ndrochak@gol.com>
120
121         * RandomTest.cs: Exercise Next(min,max) a little more, especially
122         boundary conditions.
123
124 2002-06-11  Nick Drochak  <ndrochak@gol.com>
125
126         * StringTest.cs: Check for "end of string" conditions for IndexOf() and
127         Substring().
128
129 2002-06-11  Nick Drochak  <ndrochak@gol.com>
130
131         * DoubleTest.cs: Add some more detail to failure message.
132         * Int64Test.cs: Add some details, and fix a copy-paste error.
133         * UInt32Test.cs: Fix currency symbol/culture issues
134         * UInt64Test.cs: Fix currency symbol/culture issues
135
136 2002/06/11  Nick Drochak <ndrochak@gol.com>
137
138         * DateTimeTest.cs: Remove RunTest override and put culture manipulation
139         in SetUp and TearDown like the other tests.
140         * TimeZoneTest.cs: Same.
141
142 2002-06-11  Nick Drochak  <ndrochak@gol.com>
143
144         * Int64Test.cs: Set the culture to en-US for testing.
145         * MathTest.cs: mono is more precise in Log2, so change test to compare
146         values within a slightly larger margin of error.
147
148 2002/06/10  Nick Drochak <ndrochak@gol.com>
149
150         * DecimalTest.cs: More culture indepenence. Fixes the problems we were
151         having with tests failing against MS.NET.
152         * Int64Test.cs: Same plus some formatting fixes.
153         * RandomTest.cs: Split Assert into two to figure out which one part is
154         failing.
155
156 2002-06-09  Lawrence Pit  <loz@cable.a2000.nl>\r
157 \r
158         * DateTimeTest.cs: Making tests culture independent\r
159 \r
160 2002-06-07  Nick Drochak  <ndrochak@gol.com>
161
162         * DecimalTest.cs: Catch unexpected exception and report it.
163
164 2002/06/04  Nick Drochak <ndrochak@gol.com>
165
166         * ByteTest.cs: Fix currency constant that we use for the expected
167         value.  Try to be more culture-diverse.
168
169 2002/06/03  Nick Drochak <ndrochak@gol.com>
170
171         * DecimalTest.cs: Fix some errors that were showing up when run against
172         ms.net.
173
174 2002-06-02  Nick Drochak  <ndrochak@gol.com>
175
176         * ConvertTest.cs: Use en-US culture since that's all we support in our
177         corlib right now. Change constants accordingly.  Also added a bunch of
178         try-catch blocks to show which Assert is failing.
179
180 2002-06-02  Duncan Mak  <duncan@ximian.com>
181
182         * ConvertTest.cs (TestToDecimal): Fixed typo in case #H11.
183
184 2002-06-01  Nick Drochak  <ndrochak@gol.com>
185
186         * BugTest.cs: Remove, bug fixed.  Yay!
187         * AllTests.cs: Remove BugTest from suite.
188
189 2002-05-31  Nick Drochak  <ndrochak@gol.com>
190
191         * BugTest.cs: Small file to show NullReferenceException bug
192         * AllTests.cs: Include BugTest.cs in the suite.
193
194 2002-05-29  Nick Drochak  <ndrochak@gol.com>
195
196         * DecimalTest.cs: Use AssertEquals to get nice error report, and mark
197         each one with a unique message string so we know which one failed.
198
199 2002-05-29  Lawrence Pit  <loz@cable.a2000.nl>\r
200 \r
201         * DateTimeTest.cs: Added tests M01 to M03 to TestParseExact, \r
202         passing typeof this class as arg in property Suite.\r
203 \r
204 2002-05-22  Lawrence Pit  <loz@cable.a2000.nl>\r
205 \r
206         * ConsoleTest.cs: Added test writing null.\r
207 \r
208 2002-05-21  Nick Drochak  <ndrochak@gol.com>
209
210         * MathTest.cs:
211                 (TestPow): Add try-catch to determine where we are throwing.
212                 (TestLog): Re-enable failing test
213                 (TestLog2): same although this test still fails on mono. Not
214                 sure what the proper value      to use here. It works on MS.NET
215
216 2002-05-21  Nick Drochak  <ndrochak@gol.com>
217
218         * MathTest.cs: Better reporting of failures
219         * Int64Test.cs: Add try-catch to determine where we are throwing.
220
221 2002-05-20  Nick Drochak  <ndrochak@gol.com>
222
223         * AttributeTest.cs (TestGetCustomAttribute): Add try-catch to find out
224         which assert is failing.
225
226 2002-05-19  Martin Baulig  <martin@gnome.org>
227
228         * MartinTests.cs: Removed.
229
230 2002-05-14  Nick Drochak  <ndrochak@gol.com>
231
232         * StringTest.cs: A couple more tests
233
234 2002-05-07  Nick Drochak  <ndrochak@gol.com>
235
236         * ExceptionTest.cs: New File. Provided by Linus Upson.
237
238 2002-05-05  Lawrence Pit  <loz@cable.a2000.nl>\r
239 \r
240         * StringTest.cs: Added test for replace function\r
241 \r
242 2002-04-30  Nick Drochak  <ndrochak@gol.com>
243
244         * UInt32Test.cs: More verbose on unexepected exception to eliminate
245         compiler warning.
246
247 2002-04-28  Nick Drochak  <ndrochak@gol.com>
248
249         * StringTest.cs: Mark Assert() messages with unique identifiers.
250         * DecimalTest2.cs: Write out more info in the Report method.  Need this
251         to determine why op_Subtraction() is failing in the next line.
252         * MathTest.cs:
253         * DoubleTest.cs:
254         * UInt32Test.cs: Add try-catch blocks to find out where the test is
255         failing.
256
257 2002-04-28  Nick Drochak  <ndrochak@gol.com>
258
259         * ArrayTest.cs (TestIList_IndexOf): Display exception details if we get
260         an unexpected one.
261
262 2002/04/24  Nick Drochak <ndrochak@gol.com>
263
264         * IntegerFormatterTest.cs: Remove Console.WriteLines and use 
265         AssertEquals() instead.
266
267 2002-04-22  Nick Drochak  <ndrochak@gol.com>
268
269         * StringTest.cs: Add unique markers to Assert messages.
270
271 2002-04-09  Nick Drochak  <ndrochak@gol.com>
272
273         * ArrayTest.cs: Remove BinarySearch test on unsorted arrays. The
274         behavior is undefined if the array isn't sorted.
275
276 2002/04/09  Nick Drochak <ndrochak@gol.com>
277
278         * DecimalTest.cs: Use AssertEquals() for better diagnostic message.
279
280 2002-04-09  Nick Drochak  <ndrochak@gol.com>
281
282         * ByteTest.cs: Use AssertEquals() for better diagnostic message.
283
284 2002-04-08  Nick Drochak  <ndrochak@gol.com>
285
286         * EnumTest.cs: Add a few tests for differently underlying types and
287         the [Flags] attribute to test ToString().
288
289 2002-04-08  Nick Drochak  <ndrochak@gol.com>
290
291         * EnumTest.cs: Add test for ToString for the case where the enum
292         has [Flags] on it, and a mask value is used.
293
294 2002-04-04  Nick Drochak  <ndrochak@gol.com>
295
296         * EnumTest.cs: Change one Assert() message string so the two are 
297         unique. And clean up exception catching logic.
298
299 2002/03/28  Nick Drochak <ndrochak@gol.com>
300
301         * IntegerFormatterTest.cs: Eliminate warnings about unused exception
302         variables.
303
304 2002-03-28  Nick Drochak  <ndrochak@gol.com>
305
306         * EnumTest.cs(TestFormat): Use Fail() instead of AssertEquals() in
307         try-catch blocks. Add test to check if correct exception is being 
308         thrown.
309
310 2002/03/18  Nick Drochak <ndrochak@gol.com>
311
312         * ByteTest.cs:
313         * Int64Test.cs:
314         * SByteTest.cs: Do not hard code the "$" as the currency symbol to
315         use for Parse tests. This isn not really the fix we need. These
316         number formats vary wildly depending on the culture the system
317         runs with.  We need a much better strategy here for testing this.
318         * Int32Test.cs: Use #if NOTYET-#endif to disable a test.  This removes
319         an annoying compile warning.
320
321 2002-03-18  Nick Drochak  <ndrochak@gol.com>
322
323         * DoubleTest.cs:
324         * EnumTest.cs: Add unique identifier to Assert()'s. Needed to find
325         which one was faling on Linux.
326
327 2002-03-12  Nick Drochak  <ndrochak@gol.com>
328
329         * ArrayTest.cs: Add tests for IList methods and for enumerator on
330         an array with non-zero lower bounds.
331
332 2002-03-09  Nick Drochak  <ndrochak@gol.com>
333
334         * ArrayTest.cs: Enable the enumerator test and include test for
335         Multi-dimensional array enumerator.  Also include test for
336         mutation _not_ invalidating the enumerator.
337
338 2002-03-09  Martin Baulig  <martin@gnome.org>
339
340         * Int16Test.cs, Int32Tests.cs, UInt16Tests.cs: Use "en-US" culture and
341         don't let the user override.
342
343         * Int32Tests.cs: Cleanup. Use unique names in Assert()s, use AssertEquals()
344         where appropriate etc.
345
346 2002-03-08  Martin Baulig  <martin@gnome.org>
347
348         * StringTest.cs: More String.Split tests.
349
350 2002-03-07  Martin Baulig  <martin@gnome.org>
351
352         * StringTest.cs: Added a few more tests for the bug fixes I just
353         committed to String.cs.
354
355 2002-03-07  Martin Baulig  <martin@gnome.org>
356
357         * ArrayTest.cs: Fixed the FIXME in test #E05.
358
359 2002-03-06  Duco Fijma  <duco@lorentz.xs4all.nl>
360         * CharEnumeratorTest.cs: made test regarding out-of-bounds checking
361         a bit stronger (new failures fixed in CharEnumerator.cs).
362
363 2002-03-06  Martin Baulig  <martin@gnome.org>
364
365         * ArrayTest.cs (TestSetValue4): Added testcases #M94-#M96 for Array.Copy.
366
367         * ArrayTest.cs (TestCopyTo): Added testcases #F10-#F13 for arrays with
368         non-zero lower bounds.
369
370         * ArrayTest.cs (TestCopyTo): Added test for copying an empty array
371         to an empty array.
372
373 2002-03-06  Martin Baulig  <martin@gnome.org>
374
375         * ArrayTest.cs: Use unique labels for all the tests.
376         (TestSetValue4): A big new testcase.
377
378 2002-03-06  Nick Drochak  <ndrochak@gol.com>\r
379 \r
380         * VersionTest.cs: Fix for mscorlib behavior vs. docs. CompareTo(null)\r
381         is legal.\r
382         * UInt16Test.cs:\r
383         * UInt32Test.cs:\r
384         * UInt64Test.cs: Use NumberFormatInfo.InvariantInfo.CurrencySymbol\r
385         where "$" was used. Should help suppress false negatives on systems\r
386         where "$" is not the currency symbol.\r
387 \r
388 2002-03-04  Duco Fijma  <duco@lorentz.xs4all.nl>
389         * VersionTest.cs: created test cases for System.Version
390
391 2002-03-03  Duco Fijma  <duco@lorentz.xs4all.nl>
392         * CharEnumeratorTest.cs: completed the test cases
393
394 2002-03-03  Nick Drochak  <ndrochak@gol.com>\r
395 \r
396         * DateTimeTest.cs: make static member non-static -- wouldn't work on \r
397         Windows if it was static. Doesn't _need_ to be static anyway.\r
398 \r
399 2002-03-01  Duco Fijma  <duco@lorentz.xs4all.nl>
400         * AttributeTest.cs: created, far from complete. 
401         * CharEnumeratorTest.cs: created. Contains just the basic case.
402         * AllTests.cs: added the two new tests above
403
404 2002-03-01  Duco Fijma  <duco@lorentz.xs4all.nl>
405         * BitConverterTest.cs: added one test for bug fix made to BitConverter
406         * class.
407
408 2002-03-01  Martin Baulig  <martin@gnome.org>
409
410         * ArrayTest.cs: Commented out a few bits which are not yet implemented and
411         marked them with FIXME's.
412
413         * DecimalTest.cs, DecimalTest2.cs: Added zero-arg constructors.
414
415         * MartinTests.cs: Enabled ArrayTests.cs.
416
417 2002-03-01  Duco Fijma <duco@lorentz.xs4all.nl>
418
419         * BitConverterTest.cs: completed test cases
420
421 2002-03-01  Martin Baulig  <martin@gnome.org>
422
423         * MartinTests.cs: 15 tests currently work on Linux, call them all and
424         provide comments for the non-working tests.
425
426 2002-02-28  Duncan Mak  <duncan@ximian.com>
427
428         * MathTest.cs: Committed for Jon Guymon <gnarg@slackworks.com>.
429
430 2002-02-28  Martin Baulig  <martin@gnome.org>
431
432         * String.cs (TestCompare): Added a few tests.
433         (TestFormat): Please don't compare two strings with Assert (... == ...),
434         use AssertEquals instead - this gives you a better idea what went wrong
435         if the test fails.
436
437 2002-02-28  Nick Drochak  <ndrochak@gol.com>
438
439         * BitConverterTest.cs: Test was trying to catch the wrong Exception.
440         The MSDN docs clearly say ArgumentOutOfRangeException, but that's
441         not what get's thrown.
442
443         * DoubleTest.cs: Get working against mscorlib reference.
444
445 2002-02-27  Duco Fijma <duco@lorentz.xs4all.nl>
446         * GuidTest.cs: changed to reflect new meaning of Guid.ToString("")
447         and Guid.ToString(null)
448
449 2002-02-26  Martin Baulig  <martin@gnome.org>
450
451         * MartinTests.cs: New file. This contains all the test which already
452         work on Linux.
453
454         * String.cs: Added two testcases to TestTrim(), TestTrimStart() and
455         TestTrimEnd().
456
457 2002-02-26  Martin Baulig  <martin@gnome.org>
458
459         * DateTimeTest.cs: Added testcases for the parsers. Use the invariant
460         culture to run this test suite.
461
462         * TimeZoneTest.cs: Use the invariant culture to run this test suite.
463
464 2002-02-26  Duco Fijma <duco@lorentz.xs4all>
465         * TimeSpanTest.cs: added test from TimeSpan.FromMilliseconds
466
467 2002-02-26  Martin Baulig  <martin@gnome.org>
468
469         * DateTimeTest.cs: New test.
470
471         * TimeZoneTest.cs: New test.
472
473 2002-02-25  Duco Fijma <duco@lorentz.xs4all.nl>
474         * GuidTest.cs: all methods of System.Guid are now covered
475         * BitConverterTest.cs: created, not yet complete
476
477 2002-02-21  Duco Fijma <duco@lorentz.xs4all.nl>
478         * GuidTest.cs: changed according to fix in System.Guid
479
480 2002-02-20  Nick Drochak  <ndrochak@gol.com>\r
481 \r
482         * Int64Test.cs: One array was giving us trouble.  Not sure why, but\r
483         it's related to the number of elements in an Array.  For short Arrays\r
484         the compiler doesn't use the PrivateImplmentationDetails struct,\r
485         but for longer ones it does.  That's when our corlib fails. I paired\r
486         down the array for now.\r
487 \r
488 2002-02-19  Duco Fijma <duco@lorentz.xs4all.nl>\r
489         * GuidTest.cs: added a few cases\r
490 \r
491 2002-02-18  Nick Drochak  <ndrochak@gol.com>\r
492 \r
493         * GuidTest.cs: Fix compile error.  Needed to cast the null in the call to\r
494         constructor to avoid ambiguity.\r
495 \r
496 2002-02-11  Nick Drochak  <ndrochak@gol.com>\r
497 \r
498         * Int64Test.cs: Various fixes to make tests work against the ms corlib.\r
499         Currency Symbol tests seem to be system dependant.  Not sure if this\r
500         will work on other systems, so please test it if you can. The most\r
501         disturbing one is negative numbers.  Should they be (n) or -n ?\r
502 \r
503 2002-02-10  Nick Drochak  <ndrochak@gol.com>\r
504 \r
505         * AllTests.cs: Add Int64Test to the Suite\r
506         * Int64Test.cs: Change static member to instance member. This was\r
507         causing NUnitConsole some grief.  Should be instance member anyway.\r
508 \r
509 2002-02-09  Nick Drochak  <ndrochak@gol.com>\r
510 \r
511         * ByteTest.cs:\r
512         * Int16Test.cs:\r
513         * Int32Test.cs:\r
514         * SByteTest.cs:\r
515         * UInt16Test.cs:\r
516         * UInt32Test.cs:\r
517         * UInt64Test.cs: Fixed tests where a "$" was hard coded.  Change it to\r
518         use NumberFormatInfo.CurrentInfo.CurrencySymbol.  Also used\r
519         NumberFormatInfo.InvariantInfo.CurrencySymbol where appropriate. These\r
520         tests all pass now with mscorlib.\r
521 \r
522 2002-01-06  Nick Drochak  <ndrochak@gol.com>\r
523 \r
524         * ResolveEventArgsTest.cs: New test.\r
525         * AllTests.cs: Added new test to suite.\r
526 \r
527 2001-12-27  Nick Drochak <ndrochak@gol.com>\r
528 \r
529         * UInt32Test.cs: Added messages to Asserts()'s to find out which one was faliing.\r
530 \r
531 2001-12-21  Miguel de Icaza  <miguel@ximian.com>\r
532 \r
533         * UInt32Test.cs: Added tests for UInt32.Parse.\r
534 \r
535         * Int32Test.cs: Added tests for Int32.Parse for various cases.\r
536 \r
537 2001-12-08  Nick Drochak  <ndrochak@gol.com>\r
538 \r
539         * ByteTest.cs: Added messages to Assert()'s to find out which one was failing.\r
540 \r
541 2001-11-28  Nick Drochak <ndrochak@gol.com>\r
542 \r
543         * Int16Test.cs Int32Test.cs SByteTest.cs: Surgically removed tests that rely on culture of system.  These need to be crafted a bit differently.\r
544 \r
545 2001-11-27  Nick Drochak  <ndrochak@gol.com>\r
546 \r
547         * SByteTest.cs: Add messages to Assert()'s so we can tell where the tests fail.\r
548 \r
549 2002-02-21  Bob Doan  <bdoan@sicompos.com>\r
550 \r
551         * BooleanTest.cs: Added New test suite\r
552         * AllTests.cs: Added new Boolean test to suite.\r
553 \r
554 2002-02-24  Bob Doan  <bdoan@sicompos.com>\r
555 \r
556         * BooleanTest.cs: Use correct argument order in AssertEquals\r
557         * AllTests.cs: Added new Double test to suite.\r
558         * DoubleTest.cs: Add new test suite\r
559 \r
560 2002-02-24  Bob Doan  <bdoan@sicompos.com>\r
561 \r
562         * DoubleTest.cs: Added parse tests to Double test suite, removed GetHashCodeTests\r