Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 119533

Summary: [JUnit] Misleading green bar in JUnit view
Product: [Eclipse Project] JDT Reporter: Bjorn Freeman-Benson <bjorn.freeman-benson>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: ward.cunningham
Version: 3.2   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Screenshot none

Description Bjorn Freeman-Benson CLA 2005-12-06 19:35:50 EST
After running a set of JUnit tests, the bar stays green. If one then modifies and saves one of the test files, the green bar remains green even though that green may no longer correctly reflect the state of the tests. Instead the bar should turn gray when I change any test source file that was included in the last JUnit run.
Comment 1 Martin Aeschlimann CLA 2005-12-07 06:38:01 EST
There is already a 'dirty' indicator ('*') in the view's icon signaling that modifications have been performed in the workspace.
Comment 2 Ward Cunningham CLA 2005-12-07 13:07:21 EST
Are you talking about the * in the file tab that says the file is dirty? That gets cleared when I save, which is exactly when the green bar is out of date.

Hey, I wonder if I could write a script that does this? If I get one working I will attach it to this bug.
Comment 3 Martin Aeschlimann CLA 2005-12-09 08:52:08 EST
Created attachment 31465 [details]
Screenshot

Not the editor tab, but the JUnit view icon, see screenshot.
Comment 4 Bjorn Freeman-Benson CLA 2006-04-06 00:49:49 EDT
Verifying and/or closing.