[corlib] Improve CancellationTokenSource test
[mono.git] / mcs / class / corlib / Test / System.Threading / ChangeLog
1 2010-03-24  Jérémie Laval  <jeremie.laval@gmail.com>
2
3         * SpinLockTests.cs: Add a correctness check unit test
4
5 2010-03-08  Jérémie Laval  <jeremie.laval@gmail.com>
6
7         * SpinLockTests.cs: Added unit tests for SpinLock
8
9 2010-02-08  Zoltan Varga  <vargaz@gmail.com>
10
11         * WaitHandleTest.cs: Add a test for #576039.
12
13 2010-02-02  Jérémie Laval  <jeremie.laval@gmail.com>
14
15         * CancellationTokenTests.cs:
16         * LazyInitTests.cs:
17         * ThreadLazyTests.cs: Update namespace and tested methods
18
19 2009-12-09  Jb Evain  <jbevain@novell.com>
20
21         * ThreadTest.cs: add a test for a null callback passed to
22         ThreadPool.QueueUserWorkItem.
23
24 2009-11-02  Jérémie Laval  <jeremie.laval@gmail.com>
25
26         * ParallelTests.cs: Added unit test for Bug #536919, cleaned up.
27
28 2009-10-26  Sebastien Pouliot  <sebastien@ximian.com>
29
30         * InterlockedTest.cs: Add test case for generic methods
31         ComapreExchange and Exchange
32
33 2009-10-25  Sebastien Pouliot  <sebastien@ximian.com>
34
35         * ThreadTest.cs: Add test cases for Current[UI]Culture (not 
36         working), Name, Join, Sleep and SpinWait
37
38 2009-10-22  Sebastien Pouliot  <sebastien@ximian.com>
39
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.
45
46 2009-10-21  Sebastien Pouliot  <sebastien@ximian.com>
47
48         * WaitHandleTest.cs: New. Add test cases for Wait[One|All|Any]
49         methods overloads (at least the one present in Silverlight 2)
50
51 2009-10-20  Sebastien Pouliot  <sebastien@ximian.com>
52
53         * TimerTest.cs: Add more validation tests
54
55 2009-08-11  Jérémie Laval  <jeremie.laval@gmail.com>
56
57         * ParallelTests.cs: Remove While test case.
58         * AggregateExceptionTests.cs: Moved file.
59
60 2009-07-30 Jérémie Laval  <jeremie.laval@gmail.com>
61
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
83
84 2009-06-20  Zoltan Varga  <vargaz@gmail.com>
85
86         * *.cs: Convert all tests to new-style nunit classes/methods.
87
88 2009-01-05  Zoltan Varga  <vargaz@gmail.com>
89
90         * ExecutionContextTest.cs (Copy_FromThread): Disable this test, it doesn't
91         seem to work after the nunit upgrade.
92
93 2008-10-11  Zoltan Varga  <vargaz@gmail.com>
94
95         * TimerTest.cs (TestChange): Modify a constant to avoid a random assert.
96
97 2008-07-07  Bill Holmes  <billholmes54@gmail.com>
98
99         * ThreadTest.cs : Tests added for Thread.Interrupt.
100
101         Code is contributed under MIT/X11 license.
102
103 2008-06-13  Zoltan Varga  <vargaz@gmail.com>
104
105         * MutexTest.cs: Reenable some mutex tests which seem to work now.
106
107 2008-06-13  Gert Driesen  <drieseng@users.sourceforge.net>
108
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.
114
115 2008-06-04  Zoltan Varga  <vargaz@gmail.com>
116
117         * TimerTest.cs (Callback): Use Interlocked Increment to increase the
118         counter.
119
120 2007-12-28  Atsushi Enomoto  <atsushi@ximian.com>
121
122         * ThreadTest.cs : made couple of tests fail under Windows and made
123           corlib tests run without timtout.
124
125 2007-12-28  Atsushi Enomoto  <atsushi@ximian.com>
126
127         * ThreadTest.cs : marked TestStart() as NotDotNet. It hangs.
128
129 2007-10-21  Gert Driesen  <drieseng@users.sourceforge.net>
130
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.
133
134 2007-10-20  Raja R Harinath  <harinath@gmail.com>
135
136         * TimerTest.cs (TestHeavyCreationLoad): Don't shadow a variable name.
137
138 2007-10-19  Dick Porter  <dick@ximian.com>
139
140         * ThreadTest.cs: Re-enable ManagedThreadId test too
141
142 2007-10-19  Dick Porter  <dick@ximian.com>
143
144         * ThreadTest.cs: Re-enable GetHashCodeTest
145
146 2007-10-05  Dick Porter  <dick@ximian.com>
147
148         * ThreadTest.cs: Disable GetHashCodeTest while I figure out why
149         GetHashCode sometimes returns 0.
150
151 2007-09-25  Dick Porter  <dick@ximian.com>
152
153         * ThreadTest.cs: Enable GetHashCodeTest
154
155 2007-09-18  Gert Driesen  <drieseng@users.sourceforge.net>
156
157         * ThreadTest.cs: Added GetHashCode test for bug #325566.
158
159 2007-09-05  Gert Driesen  <drieseng@users.sourceforge.net>
160
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.
164
165 2007-08-10  Gert Driesen  <drieseng@users.sourceforge.net>
166
167         * ThreadTest.cs: Enabled test for bug #81658, and uncommented code
168         that relies on that fix.
169
170 2007-07-22  Gert Driesen  <drieseng@users.sourceforge.net>
171
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.
176
177 2007-07-21  Miguel de Icaza  <miguel@novell.com>
178
179         * AutoResetEventTest.cs: Integrated test based on Gert's email
180         (only the first chunk).
181
182 2007-07-08  Gert Driesen  <drieseng@users.sourceforge.net>
183
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).
187
188 2007-06-24  Gert Driesen  <drieseng@users.sourceforge.net>
189
190         * ThreadTest.cs: Added tests for bug #81930.
191
192 2007-06-08  Gert Driesen  <drieseng@users.sourceforge.net>
193
194         * ThreadTest.cs: Enabled test for bug #81720.
195
196 2007-05-23  Gert Driesen  <drieseng@users.sourceforge.net>
197
198         * ThreadTest.cs: Added test for bug #81720. Improved test for
199         bug #81658. Added test for changing ApartmentState on background
200         thread.
201
202 2007-05-17  Gert Driesen  <drieseng@users.sourceforge.net>
203
204         * ThreadTest.cs: Use Assert instead of deprecated Assertion class.
205         Code formatting. Added test for bug #81658.
206
207 2007-05-16  Gert Driesen  <drieseng@users.sourceoforge.net>
208
209         * ThreadTest.cs: Fix build using csc 1.x.
210
211 2007-05-09  Jonathan Chambers  <joncham@gmail.com>
212
213         * ThreadTest.cs: Add ApartmentState related tests.
214
215 2007-04-03  Gert Driesen  <drieseng@users.sourceforge.net>
216
217         * MutexTest.cs: Enabled test for bug #79358.
218
219 2006-12-13  Gert Driesen  <drieseng@users.sourceforge.net>
220
221         * MutexTest.cs: Added test for bug #79358. Code formatting, no longer
222         derive from (deprecated) TestCase.
223
224 2006-06-14  Sebastien Pouliot  <sebastien@ximian.com>
225
226         * ExecutionContextTest.cs: Changed Run test to execute only under
227         CAS until bug #78306 (CompressedStack) is fixed.
228
229 2006-06-04  Zoltan Varga  <vargaz@gmail.com>
230
231         * InterlockedTest.cs: Fix Interlocked.Add tests.
232
233 2006-04-30  Gert Driesen  <drieseng@users.sourceforge.net>
234
235         * TimerTest.cs: Added test for bug #78208. Marked individual tests
236         NotWorking instead of the test class to enable test for bug #78208. 
237
238 2006-01-18  Atsushi Enomoto  <atsushi@ximian.com>
239
240         * ThreadTest.cs : mark not-working tests as [Ignore] since it blocks
241           run-test-ondotnet under 2.0 profile.
242
243 2006-01-18  Atsushi Enomoto  <atsushi@ximian.com>
244
245         * MutexTest.cs : Marked TestWaitAndFoget1 as [Ignore]. Under
246           .NET 2.0 it breaks nunit-console (breaks its own AppDomain).
247
248 2005-10-06  Sebastien Pouliot  <sebastien@ximian.com>
249
250         * ThreadTest.cs: Added regression test for #76332 when an IPrincipal
251         instance should be copied in any new thread created.
252
253 2005-06-30  Ben Maurer  <bmaurer@ximian.com>
254
255         * MutexTest.cs: Redisable. They didn't work so well ;-(.
256
257 2005-06-28  Ben Maurer  <bmaurer@ximian.com>
258
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.
261
262 2005-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
263
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.
267
268 2005-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
269
270         * MonitorTest.cs: a pair of tests for Monitor.
271
272 2005-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
273
274         * AutoResetEventTest.cs: test for AutoResetEvent.
275
276 2005-03-28  Sebastien Pouliot  <sebastien@ximian.com>
277
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.
282
283 2005-03-24  Sebastien Pouliot  <sebastien@ximian.com>
284
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.
288
289 2005-02-20  Zoltan Varga  <vargaz@freemail.hu>
290
291         * InterlockedTest.cs: Enable 2.0 tests.
292         
293         * InterlockedTest.cs: New file. Tests from 
294         Luca Barbieri (luca.barbieri@gmail.com).
295
296 2005-02-16  Ben Maurer  <bmaurer@ximian.com>
297
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.
301
302 2005-01-31  Nick Drochak <ndrochak@ieee.com>
303
304         * ThreadTest.cs: SuspendAbort is not working it seems.
305
306 2005-01-18  Nick Drochak <ndrochak@ieee.com>
307
308         * ThreadTest.cs: Thread.Priority is a MonoTODO. Ignore Test.
309
310 2004-09-22  Lluis Sanchez Gual <lluis@novell.com>
311
312         * ThreadTest.cs, MutexTest.cs: Don't leave any thread alive, even if the
313         thread fails. Added a timeout to active waits.
314
315 2004-08-25  Nick Drochak <ndrochak@ieee.com>
316
317         * ThreadTest.cs: Some tests hang on MS.NET so ignore them.
318
319 2004-06-22  Dick Porter <dick@ximian.com>
320
321         * MutexTest.cs: No need to ignore these tests now
322
323         * ThreadTest.cs: You can't Start() a thread that's been aborted.
324         Improve state tests.
325
326 2004-06-17  Lluis Sanchez Gual <lluis@ximian.com>
327
328         * ThreadTest.cs: Improved test.
329
330 2004-06-15  Lluis Sanchez Gual <lluis@ximian.com>
331
332         * TimerTest.cs: Added more tests.
333         * ThreadTest.cs: Added new tests for Thread.Suspend.
334
335 2004-06-10  Lluis Sanchez Gual <lluis@ximian.com>
336
337         * ThreadTest.cs: Removed Ignore attribute from several threading tests that
338           failed because of Thread.Abort.
339
340 2004-05-01  Nick Drochak <ndrochak@gol.com>
341
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.
345
346 2004-04-27  Nick Drochak <ndrochak@ieee.org>
347
348         * ReaderWriterLockTest.cs: Remove compiler warnings.
349
350 2004-04-13  Lluis Sanchez Gual <lluis@ximian.com>
351
352         * ReaderWriterLockTest.cs: Added more tests for bugs 55911 and 55909.
353
354 2004-04-13  Sebastien Pouliot  <sebastien@ximian.com>
355
356         * ThreadTest.cs: Removed [Ignore] on WindowsPrincipal test. Adjusted
357         CurrentPrincipal tests to work on both Windows and Linux.
358
359 2004-04-09  Zoltan Varga  <vargaz@freemail.hu>
360
361         * TimerTest.cs: Beginnings of regression tests for the Timer class.
362
363 2004-04-07  Lluis Sanchez Gual <lluis@ximian.com>
364
365         * ReaderWriterLockTest.cs: Added one more test.
366
367 2004-04-06  Lluis Sanchez Gual <lluis@ximian.com>
368
369         * ReaderWriterLockTest.cs: New tests for System.Threading.ReaderWriterLock.
370
371 2004-03-19  David Sheldon <dave-mono@earth.li>
372
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.
377
378 2004-02-05  Sebastien Pouliot  <sebastien@ximian.com>
379
380         * ThreadTest.cs: Added unit tests for CurrentPrincipal.
381
382 2003-01-28  Nick Drochak <ndrochak@gol.com>
383
384         * MutexTest.cs: Ignore tests that hang mono.
385         * ThreadTest.cs: Ignore tests that hang mono.
386
387 2003/01/23  Nick Drochak <ndrochak@gol.com>
388
389         * ThreadTest.cs: Test for alternate possibilities
390
391 2003-01-13  Nick Drochak  <ndrochak@gol.com>
392
393         * MutexTest.cs: Disable some tests that case unhandled exceptions
394         on MS.NET.
395
396 2002-12-21  Nick Drochak <ndrochak@gol.com>
397
398         * all: make tests build and run under nunit2
399
400 2002-11-29  Eduardo Garcia Cebollero <kiwnix@yahoo.es>
401
402         * MutexTest.cs : New suite for Mutex.
403         
404 2002-11-23  Eduardo Garcia Cebollero <kiwnix@yahoo.es>
405
406         * ThreadTest.cs : New suite for Thread.
407         * AllTests.cs : Add the new suite.