Marek Safar
8aa250524c
Fix wrong time test
2014-08-20 09:01:57 +02:00
fengari
b3251b6248
Do not dispose the underlying Timer every time the Enabled is set to false, keep it around for as long as this Timer exists. Throw ObjectDisposedException on Enabled setter. ArgumentException throwing according to docs. Removed 'disposed' field. DueTime for underlying timer changes only if enabled (as per docs). Check for already disposed in Dispose(). Not firing Elapsed if disposed. Unit tests.
2014-08-19 11:21:52 +03:00
Zoltan Varga
b90ee8c262
2008-08-03 Zoltan Varga <[email protected] >
...
* TimerTest.cs: Simplify the EnabledInElapsed test to prevent various races.
svn path=/trunk/mcs/; revision=109506
2008-08-03 15:07:09 +00:00
Robert Jordan
14904e434f
In Test/System.Timers:
...
2007-10-30 Robert Jordan <[email protected] >
* TimerTest.cs: Enable test for bug #82701/#325368.
In System.Timers:
2007-10-30 Robert Jordan <[email protected] >
* Timer.cs (set_Enabled): Allow setting Enabled from within
the Elapsed event handler. Fixes #325368 .
svn path=/trunk/mcs/; revision=88437
2007-10-30 02:34:38 +00:00
Robert Jordan
ba60cc0878
2007-09-06 Robert Jordan <[email protected] >
...
* TimerTest.cs: Factored our more test cases from bug #82701 .
svn path=/trunk/mcs/; revision=85401
2007-09-06 10:30:35 +00:00
Gert Driesen
c2a5d53b5f
* TimerTest.cs: Added NotWorking test for bug #82701 . Added ctor
...
and trivial property tests.
svn path=/trunk/mcs/; revision=85358
2007-09-05 13:14:24 +00:00
Robert Jordan
b782480b93
Enable TestRaceCondition ().
...
svn path=/trunk/mcs/; revision=69728
2006-12-19 11:24:44 +00:00
Robert Jordan
95ce4d6ce1
2006-12-18 Robert Jordan <[email protected] >
...
* TimerTest.cs: Add NotWorking test case for bug #77847 .
svn path=/trunk/mcs/; revision=69639
2006-12-18 03:06:06 +00:00
Kornél Pál
546a1134d2
Converted source files to UTF-8 (without byte order mark). Use UTF-8 as the default encoding for compilers.
...
svn path=/trunk/mcs/; revision=64941
2006-09-05 13:54:12 +00:00
Kornél Pál
7ecdf0d611
Added TimerTest.cs
...
svn path=/trunk/mcs/; revision=45140
2005-05-28 15:29:56 +00:00