This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | JUnit Results window gets activated at the end of tests | ||
---|---|---|---|
Product: | java | Reporter: | Marian Petras <mpetras> |
Component: | JUnit | Assignee: | Marian Petras <mpetras> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | jskrivanek |
Priority: | P3 | Keywords: | FOCUS, TEST, UI |
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Marian Petras
2005-12-11 18:15:42 UTC
Will be fixed. Fixed (in the trunk). The cause was that I had unregistered (forgot) a JUnit Ant session before I sent the last message to the results window. When the results window got the last message, it probed the registry and found that the session is not registered - and it was not. So the result window thought it was the _first_ message obtained from the session and got activated. A fixed this simply by moving the unregistration routine after the call that sends the last message. Modified file: junit/src/org/netbeans/modules/junit/output/Manager.java (1.8) Diff: http://junit.netbeans.org/source/browse/junit/src/org/netbeans/modules/junit/output/Manager.java?r1=1.7&r2=1.8&diff_format=u Verified. Thanks. |