https://bugzilla.novell.com/show_bug.cgi?id=340212

           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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]
          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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to