Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 242166 - [DataBinding] Add StaleEventTracker class to conformance tests
Summary: [DataBinding] Add StaleEventTracker class to conformance tests
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.4   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.5 M1   Edit
Assignee: Boris Bokowski CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-27 15:44 EDT by Ovidio Mallo CLA
Modified: 2008-09-17 17:41 EDT (History)
0 users

See Also:


Attachments
patch (just a copy of ChangeEventTracker) (2.35 KB, patch)
2008-07-27 15:44 EDT, Ovidio Mallo CLA
bokowski: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ovidio Mallo CLA 2008-07-27 15:44:18 EDT
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.
Comment 1 Boris Bokowski CLA 2008-07-31 15:28:57 EDT
Released to HEAD. Thanks!
Comment 2 Boris Bokowski CLA 2008-09-16 14:23:37 EDT
Ovidio, this class is not being used yet. Did you have anything in mind?
Comment 3 Ovidio Mallo CLA 2008-09-16 17:41:26 EDT
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.
Comment 4 Ovidio Mallo CLA 2008-09-17 17:41:36 EDT
I have filed bug #247741 and attached a patch which replaces those custom listeners I could find by the standard *EventTracker classes whenever possible.