Name: kbR10066 Date: 09/26/2003
The following JCov Data File Browser GUI bugs have been revealed
(see description below).
======================================================================
Name: kbR10066 Date: 09/26/2003
JCov-Browser-024
----------------
======================================================================
Name: kbR10066 Date: 09/26/2003
| JCov-Browser-024
| ----------------
|
| From the Data File Browser GUI Code Coverage Report Window, filter some of the classes in the
| table, then click on the last row (it will be highlighted),
| then click View -> Method statistics. The following stacktrace will then appear:
|
| java.lang.NullPointerException
| at ...share.BrowserLib.getMethodsOfSelectedClasses(BrowserLib.java:172)
| at ...swing.ClassTableFrame.showMethodTableFrame(ClassTableFrame.java:192)
| at ...swing.ClassTableFrame.showMethodTableFrame(ClassTableFrame.java:187)
| at ...swing.ClassTableFrame$1.actionPerformed(ClassTableFrame.java:56)
| at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
| . . .
|
| JCov-Browser-078
| JCov-Browser-088
| ----------------
|
| "No tests cover this line" message does not appear when trying to view a list
| of tests for uncovered item in the Browser GUI Source Code Window.
|
| JCov-Browser-118
| JCov-Browser-119
| JCov-Browser-120
| ----------------
|
| View->Filter submenu is empty in the Data File Browser GUI Sources Window.
| It should not appear in the View menu at all then.
|
| JCov-Browser-158
| ----------------
|
| When the Data File Browser GUI is invoked with the -testlist option and the -scale option
| is not specified, the GUI does not report any error upon loading. Instead, a stack trace
| is printed in the console:
|
| java.lang.Exception: Number of tests in ./demo/testlist.txt (3)
| is different from the test scale size read from java.jcov (0)
| at ...share.BrowserLib.loadTestList(BrowserLib.java:154)
| . . .
|
| The error handling should be improved here.
|
| JCov-Browser-160
| JCov-Browser-161
| JCov-Browser-162
| ----------------
|
| When invoked with an invalid/unreadable/non-existent JCov data file the Data
| File Browser GUI does not report any error upon loading. Instead, a stack trace
| is printed in the console, for example:
|
| *** Error : malformed jcov file (../color.vim) : "JCOV-DATA-FILE-VERSION:" expected, line 1
| java.lang.NullPointerException
| at ...share.BrowserLib.loadTestList(BrowserLib.java:153)
| at ...share.BrowserLib.tryToLoadTestList(BrowserLib.java:135)
| at ...swing.ClassTableFrame.open(ClassTableFrame.java:161)
| at com.sun.tdk.jcov.gui.Browser.main(Browser.java:102)
| . . .
|
| The error handling should be improved here.
======================================================================