Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7037338

closed/javax/swing/JPopupMenu/PopupTest/PopupTester.java failed.

XMLWordPrintable

        bash-3.2# uname -a
        SunOS agc119 5.11 snv_111a sun4u sparc SUNW,Sun-Blade-1500
        bash-3.2# ./java -version
        java version "1.7.0-ea"
        Java(TM) SE Runtime Environment (build 1.7.0-ea-b138)
        Java HotSpot(TM) Client VM (build 21.0-b08, mixed mode, sharing)

        Attached PopupTester.jtr for reference.

        ----------System.out:(0/0)----------
        ----------System.err:(1436/37901)----------
        $$ focus changed from: NULL
        $$ focus changed to: javax.swing.JFrame
        Testing started
        *** Setting environment: Heavyweight popups inside JFrame
        --- Running tcArrowsInMenu
        $$ focus changed from: javax.swing.JFrame
        $$ focus changed to: NULL
        $$ focus changed from: NULL
        $$ focus changed to: javax.swing.plaf.metal.MetalComboBoxEditor$1
        > mouse moved to button
        > mouse click
        $$ focus changed from: javax.swing.plaf.metal.MetalComboBoxEditor$1
        $$ focus changed to: NULL
        $$ focus changed from: NULL
        $$ focus changed to: javax.swing.JButton
        > hit key F10
        $$ focus changed from: javax.swing.JButton
        $$ focus changed to: NULL
        $$ focus changed from: NULL
        $$ focus changed to: javax.swing.JRootPane
        > hit key Down
        > hit key Down
        > hit key Down
        > hit key Down
        > hit key Down
        > hit key Down
        > hit key Down
        > hit key Up
        > hit key Up
        > hit key Up
        > hit key Up
        > hit key Up
        > hit key Up
        > hit key Up
        > hit key Space
        > hit key Down

        ......
        $$ focus changed to: javax.swing.JRootPane
        ERROR: Test failed with TestFailedException: item 5 hasn't been activated at
        --- Running tcMouseInMenu
        > mouse moved to button
        ......
        Testing finished
        The following testcases failed:
        In environment: Heavyweight popups inside JFrame
          tcMnemonicsInMenu
        In environment: Lightweight popups inside JFrame
          tcMnemonicsInMenu
        In environment: Heavyweight popups inside JInternalFrame
          tcMnemonicsInMenu
        In environment: Lightweight popups inside JInternalFrame
          tcMnemonicsInMenu
        To rerun failed testcases, run:
        java PopupTester -ohw tcMnemonicsInMenu -olw tcMnemonicsInMenu -ihw tcMnemonicsInMenu -ilw tcMnemonicsInMenu
        To rerun failed testcases, run:
        java PopupTester -ohw tcMnemonicsInMenu -olw tcMnemonicsInMenu -ihw tcMnemonicsInMenu -ilw tcMnemonicsInMenu
        java.lang.RuntimeException: Some test cases failed
            at PopupTester.report(PopupTester.java:963)
            at PopupTester.test(PopupTester.java:831)
            at PopupTester.main(PopupTester.java:969)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:598)
            at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:78)
            at java.lang.Thread.run(Thread.java:722)

        JavaTest Message: Test threw exception: java.lang.RuntimeException: Some test cases failed
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Some test cases failed
        result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Some test cases failed


        test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Some test cases failed

              honkar Harshitha Onkar
              psun Peng Sun (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Imported:
                Indexed: