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