1 2003-01-28 Nick Drochak <ndrochak@gol.com>
3 * ArrayTest.cs: Avoid nulls in arrays. This crashes mono.
4 * ConsoleTest.cs: Ignore some tests that hang mono.
5 * ConvertTest.cs: Ignore some tests that hang mono.
7 2003-01-27 Zoltan Varga <vargaz@freemail.hu>
9 * StringTest.cs: Added tests for out-of-bounds indexes in GetChars().
11 2003-01-13 Nick Drochak <ndrochak@gol.com>
13 * DateTimeTest.cs: Use 2003, since that' the year now. Need to work
14 on this test so we don't have it fail each new year.
16 2002-12-21 Nick Drochak <ndrochak@gol.com>
18 * all: make tests build and run under nunit2
20 2002-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
22 * StringTest.cs: added 1 more check.
24 2002-10-29 Zoltan Varga <vargaz@freemail.hu>
26 * EnumTest.cs: Added tests for whitespaces in Enum:Parse().
28 2002-10-16 Nick Drochak <ndrochak@gol.com>
30 * EnumTest.cs: Find out which Assert is causing the error on mono.
32 2002-10-09 Nick Drochak <ndrochak@gol.com>
34 * BufferTest.cs: Test for ArgumentExceptions where they should be
36 * Int32Test.cs: Enable tests for custom format strings. We do have
37 implementation for them now.
39 2002-09-29 Nick Drochak <ndrochak@gol.com>
41 * DecimalTest.cs: Change from Assert() with == to AssertEquals(). This
42 gets the tests to pass on linux, but they shouldn't need that. Now
43 to find out why. This seems deep...
45 2002-09-19 Nick Drochak <ndrochak@gol.com>
47 * ArrayTest.cs: Report errors with CopyTo().
49 2002-09-19 Nick Drochak <ndrochak@gol.com>
51 * ArrayTest.cs: Can check for exception throw now on CopyTo(). Re-
54 2002-09-13 Nick Drochak <ndrochak@gol.com>
56 * EnumTest.cs: Add an extreme value test for format.
58 2002-09-11 Nick Drochak <ndrochak@gol.com>
60 * DoubleTest.cs: Add test for bad format string passed to ToString().
61 * Int64Test.cs: Re-enable broad range of test values.
62 * MulticastDeletegateTest.cs: Re-enable test for correct order of
65 2002-09-08 Nick Drochak <ndrochak@gol.com>
67 * DateTimeTest.cs: Disable test bug file it in bugzilla.
69 2002-09-04 Jonathan Pryor <jonpryor@vt.edu>
71 - Added additional "x" formatter test case to test most recent Enum.cs patch
72 - Code cleanup so that all TestFormat test cases would be executed
73 - Change exception types in TestFormat_Args so that it passes on .NET.
74 (Some ArgumentNullExceptions should be been ArgumentExceptions.)
76 2002/08/09 Nick Drochak <ndrochak@gol.com>
78 * DecimalTest.cs: Add try-catch block to find which one is throwing
79 the Overflow. Also started making each Assert using a unique message
80 to differentiate those as well.
82 * MulticastDelegate.cs: Disable tests checking the order that delegates
83 are executed. There's a bugzilla entry for this already because we do
84 it in reverse order. See:
85 http://bugzilla.ximian.com/show_bug.cgi?id=28306
87 2002/08/02 Nick Drochak <ndrochak@gol.com>
89 * ConvertTest.cs (TestGetTypeCode): Find out which test is failing on
92 2002-08-02 Nick Drochak <ndrochak@gol.com>
94 * BufferTest.cs (TestBlockCopy): BlockCopy uses the number of bytes,
95 so hard-code some of that info into the test since sizeof() is a very
98 2002-07-31 Nick Drochak <ndrochak@gol.com>
100 * BufferTest.cs: Fixed noisy compiler warnings about unused vars.
102 2002-07-22 Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
104 * BufferTest.cs: Added this file to test the System.Buffer class
107 2002-07-17 Martin Baulig <martin@gnome.org>
109 * ConvertTest.cs: Commented out line 456 which contains a non-printable
110 character which mcs does not like. See also bug #27655.
112 * DecimalTest.cs, DecimanTest2.cs: Removed the `using S = System'.
114 2002-07-11 Nick Drochak <ndrochak@gol.com>
116 * ArrayTest.cs: Disable a test for now. Bugzilla'd this one.
117 * ConvertTest.cs: Make message unique for this mistaken duplicate.
119 2002-07-04 Nick Drochak <ndrochak@gol.com>
121 * DateTimeTest.cs: Made tests pass on ms.net. Well, they pass in
122 timezone JST. Need to test in others. Maybe I'll fly over to GMT
123 and see how they work. Supposed to be eaiser there.
125 2002-07-04 Nick Drochak <ndrochak@gol.com>
127 * ConvertTest.cs: Make the test generate the overflow exceptions on
129 * DecimalTest2.cs: Report exception thrown during subtraction.
131 2002-07-03 Nick Drochak <ndrochak@gol.com>
133 * DoubleTest.cs: Fix some Assert/AssertEquals usage.
135 2002-07-03 Nick Drochak <ndrochak@gol.com>
137 * ArrayTest.cs: Re-enable some tests. Let's see what's broken still.
139 2002-06-20 Nick Drochak <ndrochak@gol.com>
141 * DecimalTest2.cs: Make tests pass against ms.net.
143 2002-06-19 Nick Drochak <ndrochak@gol.com>
145 * AllTests.cs: Add missing test: DecimalTest2
146 * DecimalTest2.cs: Convert Console.Writeline() into a Fail()
148 2002/06/14 Nick Drochak <ndrochak@gol.com>
150 * Int64Test.cs: Make currency symbol test more culturally sensitive.
152 2002-06-14 Nick Drochak <ndrochak@gol.com>
154 * DateTimeTest.cs: Make some of the tests a bit more timezone neutral.
156 2002-06-12 Nick Drochak <ndrochak@gol.com>
158 * ConvertTest.cs: Punt bug in DateTime.Parse() over to that test.
159 * DateTimeTest.cs: Add test for date format of yyyy-mm-dd which mono
160 doesn't handle automagically like ms.net does. This smells like a
163 2002/06/12 Nick Drochak <ndrochak@gol.com>
165 * RandomTest.cs: Exercise Next(min,max) a little more, especially
168 2002-06-11 Nick Drochak <ndrochak@gol.com>
170 * StringTest.cs: Check for "end of string" conditions for IndexOf() and
173 2002-06-11 Nick Drochak <ndrochak@gol.com>
175 * DoubleTest.cs: Add some more detail to failure message.
176 * Int64Test.cs: Add some details, and fix a copy-paste error.
177 * UInt32Test.cs: Fix currency symbol/culture issues
178 * UInt64Test.cs: Fix currency symbol/culture issues
180 2002/06/11 Nick Drochak <ndrochak@gol.com>
182 * DateTimeTest.cs: Remove RunTest override and put culture manipulation
183 in SetUp and TearDown like the other tests.
184 * TimeZoneTest.cs: Same.
186 2002-06-11 Nick Drochak <ndrochak@gol.com>
188 * Int64Test.cs: Set the culture to en-US for testing.
189 * MathTest.cs: mono is more precise in Log2, so change test to compare
190 values within a slightly larger margin of error.
192 2002/06/10 Nick Drochak <ndrochak@gol.com>
194 * DecimalTest.cs: More culture indepenence. Fixes the problems we were
195 having with tests failing against MS.NET.
196 * Int64Test.cs: Same plus some formatting fixes.
197 * RandomTest.cs: Split Assert into two to figure out which one part is
200 2002-06-09 Lawrence Pit <loz@cable.a2000.nl>
\r
202 * DateTimeTest.cs: Making tests culture independent
\r
204 2002-06-07 Nick Drochak <ndrochak@gol.com>
206 * DecimalTest.cs: Catch unexpected exception and report it.
208 2002/06/04 Nick Drochak <ndrochak@gol.com>
210 * ByteTest.cs: Fix currency constant that we use for the expected
211 value. Try to be more culture-diverse.
213 2002/06/03 Nick Drochak <ndrochak@gol.com>
215 * DecimalTest.cs: Fix some errors that were showing up when run against
218 2002-06-02 Nick Drochak <ndrochak@gol.com>
220 * ConvertTest.cs: Use en-US culture since that's all we support in our
221 corlib right now. Change constants accordingly. Also added a bunch of
222 try-catch blocks to show which Assert is failing.
224 2002-06-02 Duncan Mak <duncan@ximian.com>
226 * ConvertTest.cs (TestToDecimal): Fixed typo in case #H11.
228 2002-06-01 Nick Drochak <ndrochak@gol.com>
230 * BugTest.cs: Remove, bug fixed. Yay!
231 * AllTests.cs: Remove BugTest from suite.
233 2002-05-31 Nick Drochak <ndrochak@gol.com>
235 * BugTest.cs: Small file to show NullReferenceException bug
236 * AllTests.cs: Include BugTest.cs in the suite.
238 2002-05-29 Nick Drochak <ndrochak@gol.com>
240 * DecimalTest.cs: Use AssertEquals to get nice error report, and mark
241 each one with a unique message string so we know which one failed.
243 2002-05-29 Lawrence Pit <loz@cable.a2000.nl>
\r
245 * DateTimeTest.cs: Added tests M01 to M03 to TestParseExact,
\r
246 passing typeof this class as arg in property Suite.
\r
248 2002-05-22 Lawrence Pit <loz@cable.a2000.nl>
\r
250 * ConsoleTest.cs: Added test writing null.
\r
252 2002-05-21 Nick Drochak <ndrochak@gol.com>
255 (TestPow): Add try-catch to determine where we are throwing.
256 (TestLog): Re-enable failing test
257 (TestLog2): same although this test still fails on mono. Not
258 sure what the proper value to use here. It works on MS.NET
260 2002-05-21 Nick Drochak <ndrochak@gol.com>
262 * MathTest.cs: Better reporting of failures
263 * Int64Test.cs: Add try-catch to determine where we are throwing.
265 2002-05-20 Nick Drochak <ndrochak@gol.com>
267 * AttributeTest.cs (TestGetCustomAttribute): Add try-catch to find out
268 which assert is failing.
270 2002-05-19 Martin Baulig <martin@gnome.org>
272 * MartinTests.cs: Removed.
274 2002-05-14 Nick Drochak <ndrochak@gol.com>
276 * StringTest.cs: A couple more tests
278 2002-05-07 Nick Drochak <ndrochak@gol.com>
280 * ExceptionTest.cs: New File. Provided by Linus Upson.
282 2002-05-05 Lawrence Pit <loz@cable.a2000.nl>
\r
284 * StringTest.cs: Added test for replace function
\r
286 2002-04-30 Nick Drochak <ndrochak@gol.com>
288 * UInt32Test.cs: More verbose on unexepected exception to eliminate
291 2002-04-28 Nick Drochak <ndrochak@gol.com>
293 * StringTest.cs: Mark Assert() messages with unique identifiers.
294 * DecimalTest2.cs: Write out more info in the Report method. Need this
295 to determine why op_Subtraction() is failing in the next line.
298 * UInt32Test.cs: Add try-catch blocks to find out where the test is
301 2002-04-28 Nick Drochak <ndrochak@gol.com>
303 * ArrayTest.cs (TestIList_IndexOf): Display exception details if we get
306 2002/04/24 Nick Drochak <ndrochak@gol.com>
308 * IntegerFormatterTest.cs: Remove Console.WriteLines and use
309 AssertEquals() instead.
311 2002-04-22 Nick Drochak <ndrochak@gol.com>
313 * StringTest.cs: Add unique markers to Assert messages.
315 2002-04-09 Nick Drochak <ndrochak@gol.com>
317 * ArrayTest.cs: Remove BinarySearch test on unsorted arrays. The
318 behavior is undefined if the array isn't sorted.
320 2002/04/09 Nick Drochak <ndrochak@gol.com>
322 * DecimalTest.cs: Use AssertEquals() for better diagnostic message.
324 2002-04-09 Nick Drochak <ndrochak@gol.com>
326 * ByteTest.cs: Use AssertEquals() for better diagnostic message.
328 2002-04-08 Nick Drochak <ndrochak@gol.com>
330 * EnumTest.cs: Add a few tests for differently underlying types and
331 the [Flags] attribute to test ToString().
333 2002-04-08 Nick Drochak <ndrochak@gol.com>
335 * EnumTest.cs: Add test for ToString for the case where the enum
336 has [Flags] on it, and a mask value is used.
338 2002-04-04 Nick Drochak <ndrochak@gol.com>
340 * EnumTest.cs: Change one Assert() message string so the two are
341 unique. And clean up exception catching logic.
343 2002/03/28 Nick Drochak <ndrochak@gol.com>
345 * IntegerFormatterTest.cs: Eliminate warnings about unused exception
348 2002-03-28 Nick Drochak <ndrochak@gol.com>
350 * EnumTest.cs(TestFormat): Use Fail() instead of AssertEquals() in
351 try-catch blocks. Add test to check if correct exception is being
354 2002/03/18 Nick Drochak <ndrochak@gol.com>
358 * SByteTest.cs: Do not hard code the "$" as the currency symbol to
359 use for Parse tests. This isn not really the fix we need. These
360 number formats vary wildly depending on the culture the system
361 runs with. We need a much better strategy here for testing this.
362 * Int32Test.cs: Use #if NOTYET-#endif to disable a test. This removes
363 an annoying compile warning.
365 2002-03-18 Nick Drochak <ndrochak@gol.com>
368 * EnumTest.cs: Add unique identifier to Assert()'s. Needed to find
369 which one was faling on Linux.
371 2002-03-12 Nick Drochak <ndrochak@gol.com>
373 * ArrayTest.cs: Add tests for IList methods and for enumerator on
374 an array with non-zero lower bounds.
376 2002-03-09 Nick Drochak <ndrochak@gol.com>
378 * ArrayTest.cs: Enable the enumerator test and include test for
379 Multi-dimensional array enumerator. Also include test for
380 mutation _not_ invalidating the enumerator.
382 2002-03-09 Martin Baulig <martin@gnome.org>
384 * Int16Test.cs, Int32Tests.cs, UInt16Tests.cs: Use "en-US" culture and
385 don't let the user override.
387 * Int32Tests.cs: Cleanup. Use unique names in Assert()s, use AssertEquals()
388 where appropriate etc.
390 2002-03-08 Martin Baulig <martin@gnome.org>
392 * StringTest.cs: More String.Split tests.
394 2002-03-07 Martin Baulig <martin@gnome.org>
396 * StringTest.cs: Added a few more tests for the bug fixes I just
397 committed to String.cs.
399 2002-03-07 Martin Baulig <martin@gnome.org>
401 * ArrayTest.cs: Fixed the FIXME in test #E05.
403 2002-03-06 Duco Fijma <duco@lorentz.xs4all.nl>
404 * CharEnumeratorTest.cs: made test regarding out-of-bounds checking
405 a bit stronger (new failures fixed in CharEnumerator.cs).
407 2002-03-06 Martin Baulig <martin@gnome.org>
409 * ArrayTest.cs (TestSetValue4): Added testcases #M94-#M96 for Array.Copy.
411 * ArrayTest.cs (TestCopyTo): Added testcases #F10-#F13 for arrays with
412 non-zero lower bounds.
414 * ArrayTest.cs (TestCopyTo): Added test for copying an empty array
417 2002-03-06 Martin Baulig <martin@gnome.org>
419 * ArrayTest.cs: Use unique labels for all the tests.
420 (TestSetValue4): A big new testcase.
422 2002-03-06 Nick Drochak <ndrochak@gol.com>
\r
424 * VersionTest.cs: Fix for mscorlib behavior vs. docs. CompareTo(null)
\r
428 * UInt64Test.cs: Use NumberFormatInfo.InvariantInfo.CurrencySymbol
\r
429 where "$" was used. Should help suppress false negatives on systems
\r
430 where "$" is not the currency symbol.
\r
432 2002-03-04 Duco Fijma <duco@lorentz.xs4all.nl>
433 * VersionTest.cs: created test cases for System.Version
435 2002-03-03 Duco Fijma <duco@lorentz.xs4all.nl>
436 * CharEnumeratorTest.cs: completed the test cases
438 2002-03-03 Nick Drochak <ndrochak@gol.com>
\r
440 * DateTimeTest.cs: make static member non-static -- wouldn't work on
\r
441 Windows if it was static. Doesn't _need_ to be static anyway.
\r
443 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
444 * AttributeTest.cs: created, far from complete.
445 * CharEnumeratorTest.cs: created. Contains just the basic case.
446 * AllTests.cs: added the two new tests above
448 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
449 * BitConverterTest.cs: added one test for bug fix made to BitConverter
452 2002-03-01 Martin Baulig <martin@gnome.org>
454 * ArrayTest.cs: Commented out a few bits which are not yet implemented and
455 marked them with FIXME's.
457 * DecimalTest.cs, DecimalTest2.cs: Added zero-arg constructors.
459 * MartinTests.cs: Enabled ArrayTests.cs.
461 2002-03-01 Duco Fijma <duco@lorentz.xs4all.nl>
463 * BitConverterTest.cs: completed test cases
465 2002-03-01 Martin Baulig <martin@gnome.org>
467 * MartinTests.cs: 15 tests currently work on Linux, call them all and
468 provide comments for the non-working tests.
470 2002-02-28 Duncan Mak <duncan@ximian.com>
472 * MathTest.cs: Committed for Jon Guymon <gnarg@slackworks.com>.
474 2002-02-28 Martin Baulig <martin@gnome.org>
476 * String.cs (TestCompare): Added a few tests.
477 (TestFormat): Please don't compare two strings with Assert (... == ...),
478 use AssertEquals instead - this gives you a better idea what went wrong
481 2002-02-28 Nick Drochak <ndrochak@gol.com>
483 * BitConverterTest.cs: Test was trying to catch the wrong Exception.
484 The MSDN docs clearly say ArgumentOutOfRangeException, but that's
485 not what get's thrown.
487 * DoubleTest.cs: Get working against mscorlib reference.
489 2002-02-27 Duco Fijma <duco@lorentz.xs4all.nl>
490 * GuidTest.cs: changed to reflect new meaning of Guid.ToString("")
491 and Guid.ToString(null)
493 2002-02-26 Martin Baulig <martin@gnome.org>
495 * MartinTests.cs: New file. This contains all the test which already
498 * String.cs: Added two testcases to TestTrim(), TestTrimStart() and
501 2002-02-26 Martin Baulig <martin@gnome.org>
503 * DateTimeTest.cs: Added testcases for the parsers. Use the invariant
504 culture to run this test suite.
506 * TimeZoneTest.cs: Use the invariant culture to run this test suite.
508 2002-02-26 Duco Fijma <duco@lorentz.xs4all>
509 * TimeSpanTest.cs: added test from TimeSpan.FromMilliseconds
511 2002-02-26 Martin Baulig <martin@gnome.org>
513 * DateTimeTest.cs: New test.
515 * TimeZoneTest.cs: New test.
517 2002-02-25 Duco Fijma <duco@lorentz.xs4all.nl>
518 * GuidTest.cs: all methods of System.Guid are now covered
519 * BitConverterTest.cs: created, not yet complete
521 2002-02-21 Duco Fijma <duco@lorentz.xs4all.nl>
522 * GuidTest.cs: changed according to fix in System.Guid
524 2002-02-20 Nick Drochak <ndrochak@gol.com>
\r
526 * Int64Test.cs: One array was giving us trouble. Not sure why, but
\r
527 it's related to the number of elements in an Array. For short Arrays
\r
528 the compiler doesn't use the PrivateImplmentationDetails struct,
\r
529 but for longer ones it does. That's when our corlib fails. I paired
\r
530 down the array for now.
\r
532 2002-02-19 Duco Fijma <duco@lorentz.xs4all.nl>
\r
533 * GuidTest.cs: added a few cases
\r
535 2002-02-18 Nick Drochak <ndrochak@gol.com>
\r
537 * GuidTest.cs: Fix compile error. Needed to cast the null in the call to
\r
538 constructor to avoid ambiguity.
\r
540 2002-02-11 Nick Drochak <ndrochak@gol.com>
\r
542 * Int64Test.cs: Various fixes to make tests work against the ms corlib.
\r
543 Currency Symbol tests seem to be system dependant. Not sure if this
\r
544 will work on other systems, so please test it if you can. The most
\r
545 disturbing one is negative numbers. Should they be (n) or -n ?
\r
547 2002-02-10 Nick Drochak <ndrochak@gol.com>
\r
549 * AllTests.cs: Add Int64Test to the Suite
\r
550 * Int64Test.cs: Change static member to instance member. This was
\r
551 causing NUnitConsole some grief. Should be instance member anyway.
\r
553 2002-02-09 Nick Drochak <ndrochak@gol.com>
\r
561 * UInt64Test.cs: Fixed tests where a "$" was hard coded. Change it to
\r
562 use NumberFormatInfo.CurrentInfo.CurrencySymbol. Also used
\r
563 NumberFormatInfo.InvariantInfo.CurrencySymbol where appropriate. These
\r
564 tests all pass now with mscorlib.
\r
566 2002-01-06 Nick Drochak <ndrochak@gol.com>
\r
568 * ResolveEventArgsTest.cs: New test.
\r
569 * AllTests.cs: Added new test to suite.
\r
571 2001-12-27 Nick Drochak <ndrochak@gol.com>
\r
573 * UInt32Test.cs: Added messages to Asserts()'s to find out which one was faliing.
\r
575 2001-12-21 Miguel de Icaza <miguel@ximian.com>
\r
577 * UInt32Test.cs: Added tests for UInt32.Parse.
\r
579 * Int32Test.cs: Added tests for Int32.Parse for various cases.
\r
581 2001-12-08 Nick Drochak <ndrochak@gol.com>
\r
583 * ByteTest.cs: Added messages to Assert()'s to find out which one was failing.
\r
585 2001-11-28 Nick Drochak <ndrochak@gol.com>
\r
587 * Int16Test.cs Int32Test.cs SByteTest.cs: Surgically removed tests that rely on culture of system. These need to be crafted a bit differently.
\r
589 2001-11-27 Nick Drochak <ndrochak@gol.com>
\r
591 * SByteTest.cs: Add messages to Assert()'s so we can tell where the tests fail.
\r
593 2002-02-21 Bob Doan <bdoan@sicompos.com>
\r
595 * BooleanTest.cs: Added New test suite
\r
596 * AllTests.cs: Added new Boolean test to suite.
\r
598 2002-02-24 Bob Doan <bdoan@sicompos.com>
\r
600 * BooleanTest.cs: Use correct argument order in AssertEquals
\r
601 * AllTests.cs: Added new Double test to suite.
\r
602 * DoubleTest.cs: Add new test suite
\r
604 2002-02-24 Bob Doan <bdoan@sicompos.com>
\r
606 * DoubleTest.cs: Added parse tests to Double test suite, removed GetHashCodeTests
\r