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.

Bug 65486 - [A11Y] .junit.output.ResultWindow is not accessible
Summary: [A11Y] .junit.output.ResultWindow is not accessible
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Marian Petras
URL:
Keywords: A11Y
Depends on:
Blocks:
 
Reported: 2005-09-30 08:34 UTC by Max Sauer
Modified: 2005-11-07 08:58 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Max Sauer 2005-09-30 08:34:21 UTC
----------------
With 'Statistics' pressed:
----------------

- No Accessible description :
org.netbeans.modules.junit.output.ResultWindow {  junit-test-results |  }

- Components with no mnemonic :
   Class: javax.swing.JToggleButton {  Output |  Show output from the test }
   Class: javax.swing.JToggleButton {  Statistics |  Show statistics from the test }

------------------
With 'Output' pressed:
------------------

No Accessible name :
   Class: javax.swing.JTextPane {  |  text/plain }

Components with no LABEL_FOR pointing to it :
   Class: javax.swing.JTextPane {  |  text/plain }


[5.0dev 200509281800, JDK 1.5.0_05, solaris 10/sparc]
Comment 1 Marian Petras 2005-10-19 13:39:38 UTC
Confirmed, accepted.
Comment 2 Marian Petras 2005-10-19 15:46:14 UTC
Steps to make this bug fixed:
 - add missing accessible names and descriptions
 - allow switching between Statistics and Output using shortcuts
   Alt-Shift-Left/Right
 - ensure that the tree is the default focused component in the Statistics view
   and the text pane is the default focused component in the Output view

Once the above is done, there is no need for settings mnemonics for the toggle
buttons (Statistics, Output) and for setting label-for for the text pane. This
is the result of my discussion with Jano Rojcek.
Comment 3 Marian Petras 2005-11-04 17:39:26 UTC
Fixed in the trunk.

The JUnit Results window now uses multiview component created using the
Multiview API.

Modified files:
    junit/nbproject/:
           project.xml   (1.9)
    junit/src/org/netbeans/modules/junit/output/:
                           ResultPanelTree.java   (1.4)
                           ResultDisplayHandler.java   (1.1 - initial revision)
                           Bundle.properties   (1.9)
                           ResultView.java   (deleted - last revision 1.11)
                           ResultWindow.java   (1.8)
                           ResultViewOutput.java   (1.1 - initial revision)
                           ResultViewTree.java   (1.1 - initial revision)
                           ResultPanelOutput.java   (1.3)
                           MultiviewPanel.java   (deleted - last revision 1.5)
                           ResultTreeView.java   (1.6)

Diffs:
http://junit.netbeans.org/source/browse/junit/nbproject/project.xml?r1=1.8&r2=1.9&diff_format=u
http://junit.netbeans.org/source/browse/junit/src/org/netbeans/modules/junit/output/ResultPanelTree.java?r1=1.3&r2=1.4&diff_format=u
http://junit.netbeans.org/source/browse/junit/src/org/netbeans/modules/junit/output/ResultDisplayHandler.java?rev=1.1&content-type=text/vnd.viewcvs-markup
http://junit.netbeans.org/source/browse/junit/src/org/netbeans/modules/junit/output/Bundle.properties?r1=1.8&r2=1.9&diff_format=u
http://junit.netbeans.org/source/browse/junit/src/org/netbeans/modules/junit/output/ResultWindow.java?r1=1.7&r2=1.8&diff_format=u
http://junit.netbeans.org/source/browse/junit/src/org/netbeans/modules/junit/output/ResultViewOutput.java?rev=1.1&content-type=text/vnd.viewcvs-markup
http://junit.netbeans.org/source/browse/junit/src/org/netbeans/modules/junit/output/ResultViewTree.java?rev=1.1&content-type=text/vnd.viewcvs-markup
http://junit.netbeans.org/source/browse/junit/src/org/netbeans/modules/junit/output/ResultPanelOutput.java?r1=1.2&r2=1.3&diff_format=u
http://junit.netbeans.org/source/browse/junit/src/org/netbeans/modules/junit/output/ResultTreeView.java?r1=1.5&r2=1.6&diff_format=u
Comment 4 Jesse Glick 2005-11-04 18:13:51 UTC
You broke the build - forget to update ide/golden/deps.txt. I will fix it (rev.
1.237).
Comment 5 Marian Petras 2005-11-04 20:22:33 UTC
Thank you very much. Somehow the continuous build passed on my machine (without
changing deps.txt).
Comment 6 Max Sauer 2005-11-07 08:58:25 UTC
Verified in 200511061900.