Community
Participate
Working Groups
Created attachment 108507 [details] patch (just a copy of ChangeEventTracker) While there are various utility classes for tracking the individual change events on observables, an equivalent class is missing for stale events. I'd suggest to add such a StaleEventTracker as API.
Released to HEAD. Thanks!
Ovidio, this class is not being used yet. Did you have anything in mind?
Nothing particularly special but since I have found myself writing this kind of StaleEvent counter several times in the unit tests, I thought that it could be added to the conformance tests API, just like the other event tracker classes. Probably, it would be good to clean-up the tests a little bit and use those tracker classes whenever possible. Actually, I could have a look at it.
I have filed bug #247741 and attached a patch which replaces those custom listeners I could find by the standard *EventTracker classes whenever possible.