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 tree display hard to use (possibly breaks navigation too) | ||
---|---|---|---|
Product: | java | Reporter: | emi <emi> |
Component: | JUnit | Assignee: | Victor Vasilyev <vvg> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | Macintosh | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 172772 | ||
Bug Blocks: |
Description
emi
2009-10-26 14:51:16 UTC
emi, thank you for bringing up this issue. > No matter how *wide* my junit window is, apparently there is some limit to how many chars a method length may have. A cause for such "strange" behavior of the JUnit test result window is the Issue 172772 . Now, lengths of all messages are limited up to 80 characters. > the navigation seems to be broken. A cause of this is a bug reported in the Issue 171050. It is fixed in build *200910221401* Please, use the following workaround for now: - download and use a latest build ( http://bits.netbeans.org/dev/nightly/ ) to have correct navigation from the JUnit test result window to the source code. - set a desired and appropriated length limit for the messages displayed in the JUnit test result window. Default message length can be changed via a system property, e.g. use the option "-J-Dtestrunner.max.msg.line.length=150" for the netbeans command to set the message length to 150. How I plan to fix this issue? 1. Increasing of a limit of the messages length up to 320 characters. 2. Avoiding of cutting off a message tail if a notification message (e.g. "...(13 chars omitted)") is longer. I hope, after my clarification you'll agree that this issue can be considered as P3. Fixed in the main trunk http://hg.netbeans.org/main/rev/81b30d6cc217 Thanks for the quick reply. Indeed, your fix seems to resolve this report partially. I haven't actually tested that new build so I'll just wait for the navigation be be live in the next beta. I'll comment some more about the JUnit solution in the other bug reports. For the "n chars omitted" see bug 268472. |