[Mono-bugs] [Bug 340212] New: System.Timer does not respect 0 period at construction

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Nov 8 10:01:55 EST 2007


           Summary: System.Timer does not respect 0 period at construction
           Product: Mono: Class Libraries
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: joncham at gmail.com
         QAContact: mono-bugs at ximian.com
          Found By: ---

Created an attachment (id=182641)
 --> (https://bugzilla.novell.com/attachment.cgi?id=182641)
Test case

>From msdn (http://msdn2.microsoft.com/en-us/library/2x96zfy7(VS.80).aspx):
If period is zero (0) or Infinite and dueTime is not Infinite, callback is
invoked once; the periodic behavior of the timer is disabled, but can be
re-enabled using the Change method.

Our timer respects an Infinite period, but behaves incorrectly if period is 0.
Attached test case is modification of TimerTest.TestDelayZeroPeriodZero.

Test case should output true (as .Net). Mono outputs false.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list