Bug 195318 - [tests] Need to add unit tests for CountingRequestMonitor
Summary: [tests] Need to add unit tests for CountingRequestMonitor
Status: ASSIGNED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-dsf (show other bugs)
Version: 6.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 211490
  Show dependency tree
 
Reported: 2007-07-03 18:40 EDT by Pawel Piech CLA
Modified: 2020-09-04 15:24 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pawel Piech CLA 2007-07-03 18:40:29 EDT
I created CountingRequestMonitor to be a simpler version of MultiRequestMonitor.  But it looks like I forgot a couple of clean-up tasks:

1) Comment still shows the MultiRequestMontior usage
2) There is no junit test for this class
3) Looks like CountingRequestMonitor should override setStatus with following
setStatus(IStatus status) {
    ((MultiStatus)getStatus()).add(status);
}
Comment 1 Pawel Piech CLA 2007-11-30 15:44:04 EST
1 and 3 have been completed, still need a unit test though.