2010-04-06 Jb Evain <jbevain@novell.com>
[mcs.git] / class / corlib / Test / System.Threading / ChangeLog
blob271d3cc1b370dd895a23b51de5ef44903a192e3b
1 2010-03-24  Jérémie Laval  <jeremie.laval@gmail.com>
3         * SpinLockTests.cs: Add a correctness check unit test
5 2010-03-08  Jérémie Laval  <jeremie.laval@gmail.com>
7         * SpinLockTests.cs: Added unit tests for SpinLock
9 2010-02-08  Zoltan Varga  <vargaz@gmail.com>
11         * WaitHandleTest.cs: Add a test for #576039.
13 2010-02-02  Jérémie Laval  <jeremie.laval@gmail.com>
15         * CancellationTokenTests.cs:
16         * LazyInitTests.cs:
17         * ThreadLazyTests.cs: Update namespace and tested methods
19 2009-12-09  Jb Evain  <jbevain@novell.com>
21         * ThreadTest.cs: add a test for a null callback passed to
22         ThreadPool.QueueUserWorkItem.
24 2009-11-02  Jérémie Laval  <jeremie.laval@gmail.com>
26         * ParallelTests.cs: Added unit test for Bug #536919, cleaned up.
28 2009-10-26  Sebastien Pouliot  <sebastien@ximian.com>
30         * InterlockedTest.cs: Add test case for generic methods
31         ComapreExchange and Exchange
33 2009-10-25  Sebastien Pouliot  <sebastien@ximian.com>
35         * ThreadTest.cs: Add test cases for Current[UI]Culture (not 
36         working), Name, Join, Sleep and SpinWait
38 2009-10-22  Sebastien Pouliot  <sebastien@ximian.com>
40         * EventWaitHandleTest.cs: New. Test case for EventResetMode 
41         validation
42         * MonitorTest.cs: Mark existing tests as "NotWorking" since they
43         fail in MS FX2 (maybe they worked in 1.x?). Add more test cases
44         to validate the TryEnter and Wait overloaded methods.
46 2009-10-21  Sebastien Pouliot  <sebastien@ximian.com>
48         * WaitHandleTest.cs: New. Add test cases for Wait[One|All|Any]
49         methods overloads (at least the one present in Silverlight 2)
51 2009-10-20  Sebastien Pouliot  <sebastien@ximian.com>
53         * TimerTest.cs: Add more validation tests
55 2009-08-11  Jérémie Laval  <jeremie.laval@gmail.com>
57         * ParallelTests.cs: Remove While test case.
58         * AggregateExceptionTests.cs: Moved file.
60 2009-07-30 Jérémie Laval  <jeremie.laval@gmail.com>
62         * System.Threading.Tasks/TaskTest.cs:
63         * FutureTests.cs:
64         * ParallelConcurrentStackTests.cs:
65         * ConcurrentSkipListTests.cs:
66         * ConcurrentQueueTests.cs:
67         * ConcurrentBagTests.cs:
68         * ConcurrentStackTests.cs:
69         * BlockingCollectionTests.cs:
70         * ConcurrentDictionaryTests.cs:
71         * CollectionStressTestHelper.cs:
72         * ParallelConcurrentQueueTests.cs:
73         * CancellationTokenTests.cs:
74         * ManualResetEventSlimTests.cs:
75         * SnziTests.cs:
76         * SemaphoreSlimTests.cs:
77         * ParallelTests.cs:
78         * CountdownEventTests.cs:
79         * AggregateExceptionTests.cs:
80         * ThreadLazyTests.cs:
81         * ParallelTestHelper.cs: Add ParallelFx unit tests for System.Threading
82         namespace
84 2009-06-20  Zoltan Varga  <vargaz@gmail.com>
86         * *.cs: Convert all tests to new-style nunit classes/methods.
88 2009-01-05  Zoltan Varga  <vargaz@gmail.com>
90         * ExecutionContextTest.cs (Copy_FromThread): Disable this test, it doesn't
91         seem to work after the nunit upgrade.
93 2008-10-11  Zoltan Varga  <vargaz@gmail.com>
95         * TimerTest.cs (TestChange): Modify a constant to avoid a random assert.
97 2008-07-07  Bill Holmes  <billholmes54@gmail.com>
99         * ThreadTest.cs : Tests added for Thread.Interrupt.
101         Code is contributed under MIT/X11 license.
103 2008-06-13  Zoltan Varga  <vargaz@gmail.com>
105         * MutexTest.cs: Reenable some mutex tests which seem to work now.
107 2008-06-13  Gert Driesen  <drieseng@users.sourceforge.net>
109         * TimerTest.cs: Removed NotWorking category from TestDisposeOnCallback
110         test. Numbered asserts. Minor code formatting updates. Removed obsolete
111         comment on class.
112         * ThreadTest.cs: Use Assert.Fail for tests that fail on the Mono
113         runtime only when these tests are being executed on the Mono runtime.
115 2008-06-04  Zoltan Varga  <vargaz@gmail.com>
117         * TimerTest.cs (Callback): Use Interlocked Increment to increase the
118         counter.
120 2007-12-28  Atsushi Enomoto  <atsushi@ximian.com>
122         * ThreadTest.cs : made couple of tests fail under Windows and made
123           corlib tests run without timtout.
125 2007-12-28  Atsushi Enomoto  <atsushi@ximian.com>
127         * ThreadTest.cs : marked TestStart() as NotDotNet. It hangs.
129 2007-10-21  Gert Driesen  <drieseng@users.sourceforge.net>
131         * ThreadTest.cs: On 2.0 profile, enable > 0 tests for GetHashCode.
132         Added test that asserts if the hashcode of two threads is distinct.
134 2007-10-20  Raja R Harinath  <harinath@gmail.com>
136         * TimerTest.cs (TestHeavyCreationLoad): Don't shadow a variable name.
138 2007-10-19  Dick Porter  <dick@ximian.com>
140         * ThreadTest.cs: Re-enable ManagedThreadId test too
142 2007-10-19  Dick Porter  <dick@ximian.com>
144         * ThreadTest.cs: Re-enable GetHashCodeTest
146 2007-10-05  Dick Porter  <dick@ximian.com>
148         * ThreadTest.cs: Disable GetHashCodeTest while I figure out why
149         GetHashCode sometimes returns 0.
151 2007-09-25  Dick Porter  <dick@ximian.com>
153         * ThreadTest.cs: Enable GetHashCodeTest
155 2007-09-18  Gert Driesen  <drieseng@users.sourceforge.net>
157         * ThreadTest.cs: Added GetHashCode test for bug #325566.
159 2007-09-05  Gert Driesen  <drieseng@users.sourceforge.net>
161         * ThreadTest.cs: Added test for bug #82700. Re-enabled and fixed some
162         tests that pass on my two boxes. Shoot me if these break the buildbots.
163         Cleaned up some tests.
165 2007-08-10  Gert Driesen  <drieseng@users.sourceforge.net>
167         * ThreadTest.cs: Enabled test for bug #81658, and uncommented code
168         that relies on that fix.
170 2007-07-22  Gert Driesen  <drieseng@users.sourceforge.net>
172         * AutoResetEventTest.cs: Added test for verifying effect of assigning
173         new SafeWaitHandle on the previous one. Use meaningful names for
174         tests. Avoid unref warning. Removed usage of deprecated Assertion
175         class. Spaces to tabs.
177 2007-07-21  Miguel de Icaza  <miguel@novell.com>
179         * AutoResetEventTest.cs: Integrated test based on Gert's email
180         (only the first chunk).
182 2007-07-08  Gert Driesen  <drieseng@users.sourceforge.net>
184         * ThreadTest.cs: Removed tests for bug #81930, since other tests can
185         break these by changing the CurrentCulture or CurrentUICulture.
186         Instead I've added a standalone test for this (in the gert module).
188 2007-06-24  Gert Driesen  <drieseng@users.sourceforge.net>
190         * ThreadTest.cs: Added tests for bug #81930.
192 2007-06-08  Gert Driesen  <drieseng@users.sourceforge.net>
194         * ThreadTest.cs: Enabled test for bug #81720.
196 2007-05-23  Gert Driesen  <drieseng@users.sourceforge.net>
198         * ThreadTest.cs: Added test for bug #81720. Improved test for
199         bug #81658. Added test for changing ApartmentState on background
200         thread.
202 2007-05-17  Gert Driesen  <drieseng@users.sourceforge.net>
204         * ThreadTest.cs: Use Assert instead of deprecated Assertion class.
205         Code formatting. Added test for bug #81658.
207 2007-05-16  Gert Driesen  <drieseng@users.sourceoforge.net>
209         * ThreadTest.cs: Fix build using csc 1.x.
211 2007-05-09  Jonathan Chambers  <joncham@gmail.com>
213         * ThreadTest.cs: Add ApartmentState related tests.
215 2007-04-03  Gert Driesen  <drieseng@users.sourceforge.net>
217         * MutexTest.cs: Enabled test for bug #79358.
219 2006-12-13  Gert Driesen  <drieseng@users.sourceforge.net>
221         * MutexTest.cs: Added test for bug #79358. Code formatting, no longer
222         derive from (deprecated) TestCase.
224 2006-06-14  Sebastien Pouliot  <sebastien@ximian.com>
226         * ExecutionContextTest.cs: Changed Run test to execute only under
227         CAS until bug #78306 (CompressedStack) is fixed.
229 2006-06-04  Zoltan Varga  <vargaz@gmail.com>
231         * InterlockedTest.cs: Fix Interlocked.Add tests.
233 2006-04-30  Gert Driesen  <drieseng@users.sourceforge.net>
235         * TimerTest.cs: Added test for bug #78208. Marked individual tests
236         NotWorking instead of the test class to enable test for bug #78208. 
238 2006-01-18  Atsushi Enomoto  <atsushi@ximian.com>
240         * ThreadTest.cs : mark not-working tests as [Ignore] since it blocks
241           run-test-ondotnet under 2.0 profile.
243 2006-01-18  Atsushi Enomoto  <atsushi@ximian.com>
245         * MutexTest.cs : Marked TestWaitAndFoget1 as [Ignore]. Under
246           .NET 2.0 it breaks nunit-console (breaks its own AppDomain).
248 2005-10-06  Sebastien Pouliot  <sebastien@ximian.com>
250         * ThreadTest.cs: Added regression test for #76332 when an IPrincipal
251         instance should be copied in any new thread created.
253 2005-06-30  Ben Maurer  <bmaurer@ximian.com>
255         * MutexTest.cs: Redisable. They didn't work so well ;-(.
257 2005-06-28  Ben Maurer  <bmaurer@ximian.com>
259         * MutexTest.cs: Re-enable the mutex tests. They seem to work for
260         me now when I ran them in a loop on the smp box.
262 2005-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
264         * ThreadTest.cs: sanitize waiting for a thread that might be already
265         done. Added test for Thread.Start called after thread.Abort, which used
266         to segfault.
268 2005-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
270         * MonitorTest.cs: a pair of tests for Monitor.
272 2005-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
274         * AutoResetEventTest.cs: test for AutoResetEvent.
276 2005-03-28  Sebastien Pouliot  <sebastien@ximian.com>
278         * CompressedStackCas.cs: New. CAS unit tests for CompressedStack.
279         * CompressedStackTest.cs: New. Unit tests for CompressedStack.
280         * ExecutionContextCas.cs: New. CAS unit tests for ExecutionContext.
281         * ExecutionContextTest.cs: New. Unit tests for ExecutionContext.
283 2005-03-24  Sebastien Pouliot  <sebastien@ximian.com>
285         * MutexCas.cs: New. CAS unit tests for Mutex.
286         * ThreadCas.cs: New. CAS unit tests for Thread.
287         * WaitHandleCas.cs: New. CAS unit tests for WaitHandle.
289 2005-02-20  Zoltan Varga  <vargaz@freemail.hu>
291         * InterlockedTest.cs: Enable 2.0 tests.
292         
293         * InterlockedTest.cs: New file. Tests from 
294         Luca Barbieri (luca.barbieri@gmail.com).
296 2005-02-16  Ben Maurer  <bmaurer@ximian.com>
298         * TimerTest.cs: Disable this test. It seems to be completely
299         unreliable, likely because it depends on a race. See comment in
300         the source.
302 2005-01-31  Nick Drochak <ndrochak@ieee.com>
304         * ThreadTest.cs: SuspendAbort is not working it seems.
306 2005-01-18  Nick Drochak <ndrochak@ieee.com>
308         * ThreadTest.cs: Thread.Priority is a MonoTODO. Ignore Test.
310 2004-09-22  Lluis Sanchez Gual <lluis@novell.com>
312         * ThreadTest.cs, MutexTest.cs: Don't leave any thread alive, even if the
313         thread fails. Added a timeout to active waits.
315 2004-08-25  Nick Drochak <ndrochak@ieee.com>
317         * ThreadTest.cs: Some tests hang on MS.NET so ignore them.
319 2004-06-22  Dick Porter <dick@ximian.com>
321         * MutexTest.cs: No need to ignore these tests now
323         * ThreadTest.cs: You can't Start() a thread that's been aborted.
324         Improve state tests.
326 2004-06-17  Lluis Sanchez Gual <lluis@ximian.com>
328         * ThreadTest.cs: Improved test.
330 2004-06-15  Lluis Sanchez Gual <lluis@ximian.com>
332         * TimerTest.cs: Added more tests.
333         * ThreadTest.cs: Added new tests for Thread.Suspend.
335 2004-06-10  Lluis Sanchez Gual <lluis@ximian.com>
337         * ThreadTest.cs: Removed Ignore attribute from several threading tests that
338           failed because of Thread.Abort.
340 2004-05-01  Nick Drochak <ndrochak@gol.com>
342         * ThreadTest.cs: Un-ignore some tests that seem to run pretty well
343         now.  Getting one failure from these, but at least they run without
344         crasing, or trowing some nasty _wapi exception thingy.
346 2004-04-27  Nick Drochak <ndrochak@ieee.org>
348         * ReaderWriterLockTest.cs: Remove compiler warnings.
350 2004-04-13  Lluis Sanchez Gual <lluis@ximian.com>
352         * ReaderWriterLockTest.cs: Added more tests for bugs 55911 and 55909.
354 2004-04-13  Sebastien Pouliot  <sebastien@ximian.com>
356         * ThreadTest.cs: Removed [Ignore] on WindowsPrincipal test. Adjusted
357         CurrentPrincipal tests to work on both Windows and Linux.
359 2004-04-09  Zoltan Varga  <vargaz@freemail.hu>
361         * TimerTest.cs: Beginnings of regression tests for the Timer class.
363 2004-04-07  Lluis Sanchez Gual <lluis@ximian.com>
365         * ReaderWriterLockTest.cs: Added one more test.
367 2004-04-06  Lluis Sanchez Gual <lluis@ximian.com>
369         * ReaderWriterLockTest.cs: New tests for System.Threading.ReaderWriterLock.
371 2004-03-19  David Sheldon <dave-mono@earth.li>
373   * ThreadTest.cs: Removed Ignore attributes from 
374       CurrentPrincipal_PrincipalPolicy_NoPrincipal and
375       CurrentPrincipal_PrincipalPolicy_UnauthenticatedPrincipal
376     Now that bug 54041 is fixed, and they wont livelock.
378 2004-02-05  Sebastien Pouliot  <sebastien@ximian.com>
380         * ThreadTest.cs: Added unit tests for CurrentPrincipal.
382 2003-01-28  Nick Drochak <ndrochak@gol.com>
384         * MutexTest.cs: Ignore tests that hang mono.
385         * ThreadTest.cs: Ignore tests that hang mono.
387 2003/01/23  Nick Drochak <ndrochak@gol.com>
389         * ThreadTest.cs: Test for alternate possibilities
391 2003-01-13  Nick Drochak  <ndrochak@gol.com>
393         * MutexTest.cs: Disable some tests that case unhandled exceptions
394         on MS.NET.
396 2002-12-21  Nick Drochak <ndrochak@gol.com>
398         * all: make tests build and run under nunit2
400 2002-11-29  Eduardo Garcia Cebollero <kiwnix@yahoo.es>
402         * MutexTest.cs : New suite for Mutex.
403         
404 2002-11-23  Eduardo Garcia Cebollero <kiwnix@yahoo.es>
406         * ThreadTest.cs : New suite for Thread.
407         * AllTests.cs : Add the new suite.