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