Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7900468

Browser GUI bugs revealed by QA (part I)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: jcov_1.1
    • Fix Version/s: jcov_1.1
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      1.1
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description



      Name: kbR10066 Date: 07/31/2003


      Here is the list of bugs:

      bug1.
      ----
      Click Tools->Instrumenter, in the Instrumenter window click Tools->Browser, then try to open any jcov data file
      in the new Data Browser window. An empty error window will appear, the selected data file won't be loaded.

      bug2.
      ----
      Open the jcov data file, then open a test list file such that the number of tests in this file is different from the test
      scale size read from jcov data file. An error window will appear - close it. The cursor will remain in "busy" state.

      bug3.
      ----
      Class/method coverage window columns containing "N/A" are sorted incorrectly.

      bug4.
      ----
      Load a data file, turn off the "Class" column via the View->Show columns... menu item. Then press
      the right mouse button and select "sort by->branch coverage". Sorting will not be performed and
      the stack trace will appear:
      java.lang.ArrayIndexOutOfBoundsException
              at com.sun.tdk.jcov.gui.browser.swing.TableFrame.actionPerformed(TableFrame.java:454)
              at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
      . . .

      bug5.
      ----
      After entering a filter in the Vew->filter->Class dialog and clicking "OK" class view is not updated.

      bug6.
      ----
      Entering invalid pattern (for example [\8``^ ) causes GUI freeze and the following stack trace:
      java.lang.StringIndexOutOfBoundsException: String index out of range: 6
              at java.lang.String.charAt(String.java:455)
              at com.sun.tdk.jcov.tools.WildCardStringFilter.match(com/sun/tdk/jcov/tools/WildCardStringFilter.java:175)
      . . .

      bug7.
      ----
      Specifying unredable or non-existent file in the command line to the browser causes a stack
      trace to appear. This behavior seems inappropriate, simple error message should be output
      instead.
      ======================================================================

        Attachments

          Activity

            People

            Assignee:
            afedorch Alexey Fedorchenko (Inactive)
            Reporter:
            klooney Kevin Looney (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: