Menu

#32 Unit test problems with Timers

None
closed
Runtime (19)
5
2012-09-26
2006-08-24
No

While doing unit tests using ColdFrame.Project.Events.Standard.Inspection, it wasn't possible to simulate the firing of a Timer where the actions result in the Timer getting set again (for example, when sending a regular message) by getting the event using Event_Of and invoking its Handler, because the Timer was still set.

ColdFrame bug #0361.

Discussion

  • Simon Wright

    Simon Wright - 2007-07-01

    Logged In: YES
    user_id=917025
    Originator: YES

    Added new procedure Inspection.Fire.

     
  • Simon Wright

    Simon Wright - 2012-09-26
    • labels: --> Runtime
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,9 +1,3 @@
    -While doing unit tests
    -using ColdFrame.Project.Events.Standard.Inspection, it wasn't
    -possible to simulate the firing of a Timer where the actions
    -result in the Timer getting set again (for example, when
    -sending a regular message) by getting the event
    -using Event_Of and invoking its Handler, because
    -the Timer was still set.
    +While doing unit tests using ColdFrame.Project.Events.Standard.Inspection, it wasn't possible to simulate the firing of a Timer where the actions result in the Timer getting set again (for example, when sending a regular message) by getting the event using Event_Of and invoking its Handler, because the Timer was still set.
    
     ColdFrame bug #0361.
    
    • milestone: -->
     

Log in to post a comment.

MongoDB Logo MongoDB