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

JCK14 api/javax_swing/interactive/JButtonTests, b75 ,C1, C2,6 tests

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86, sparc
    • OS:
      generic

      Description

      Bug Description:
      ================
      The "OriginalText" Button Size is enlarged from Normal.


      JDK : 1.4.0-beta_refresh-b75
      JCK : JCK1.4 & JCK13a
      Platform[s] : Solaris (Sparc & x86)
      switch/Mode : C1 & C2
      JCK test owner : http://javaweb.eng/jct/sqe/JCK-tck/usr/owners.jto
      Failing Test [s] : 6 tests
       
      1) api/javax_swing/interactive/JToggleButtonTests.html#JToggleButton
                                                   [JToggleButtonTest0007]
      2) api/javax_swing/interactive/JButtonTests.html#JButton [JButtonTest0008]
      3) api/javax_swing/interactive/JCheckBoxTests.html#JCheckBox
                                             [JCheckBoxTest0003, JCheckBoxTest0007]
      4) api/javax_swing/interactive/JRadioButtonTests.html#JRadioButton
                                                  [JRadioButtonTest0007]
      5) api/javax_swing/interactive/JWindowTests.html#JWindow
                            [JWindowTest0002, JWindowTest0003]
      6) api/javax_swing/interactive/JSplitPaneTests.html#JSplitPane [JplitPaneTest0019]

      Test source location:
      =====================
               1)file:/net/jtgb4u4c/export/sail16/JCK/jck14/JCK-runtime-14/tests/api/javax_swing/interactive/JButtonTests.java
            
      2)file:/net/jtgb4u4c/export/sail16/JCK/jck14/JCK-runtime-14/tests/api/javax_swing/interactive/JToggleButtonTests.java

      3)file:/net/jtgb4u4c/export/sail16/JCK/jck14/JCK-runtime-14/tests/api/javax_swing/interactive/JCheckBoxTests.java

      4)file:/net/jtgb4u4c/export/sail16/JCK/jck14/JCK-runtime-14/tests/api/javax_swing/interactive/JRadioButtonTests.java

      5)file:/net/jtgb4u4c/export/sail16/JCK/jck14/JCK-runtime-14/tests/api/javax_swing/interactive/JWindowTests.java


      jtr file location:
      ==================
                  
      1)/net/jtgb4u4c/export/sail15/results/merlin/b76/jck14/i386/s8_client_jtg-i112/workDir/api-interactive/javax_swing/interactive/JToggleButtonTests_JToggleButton.jtr

      2)/net/jtgb4u4c/export/sail15/results/merlin/b76/jck14/i386/s8_client_jtg-i112/workDir/api-interactive/javax_swing/interactive/JButtonTests_JButton.jtr

      3)/net/jtgb4u4c.eng/export/sail15/results/merlin/b76/jck14/i386/s8_client_jtg-i112/workDir/api-interactive/javax_swing/interactive/JCheckBoxTests_JCheckBox.jtr

      4)/net/jtgb4u4c.eng/export/sail15/results/merlin/b76/jck14/i386/s8_client_jtg-i112/workDir/api-interactive/javax_swing/interactive/JRadioButtonTests_JRadioButton.jtr

      5)/net/jtgb4u4c.eng/export/sail15/results/merlin/b76/jck14/i386/s8_client_jtg-i112/workDir/api-interactive/javax_swing/interactive/JWindowTests_JWindow.jtr

      How to reproduce:
      ===================

      JCheckBox.ksh

      ----------------Script Start-------------------------------
      #!/bin/ksh
      SWITCH=${1+$@}

      JDK=/net/jdk/export/disk8/local.java/jdk1.4.0
      TESTBASE=/net/jtgb4u4c.eng/export/sail16/JCK/jck14
      JCK=${TESTBASE}/JCK-runtime-14

      executeClass="javasoft.sqe.tests.api.javax.swing.interactive.JCheckBox.JCheckBoxTests"
      excludeCmd=
      executeClassArgs="-TestCaseID ALL"
      executeTestURL=
      executeContextArgs="-TestDirURL file:///net/jtgb4u4c.eng/export/sail16/JCK/jck14/JCK-runtime-14/tests/a
      pi/javax_swing/interactive/JCheckBoxTests.html#JCheckBox"

      case `uname -s` in
        SunOS)
         ARCH=`uname -p`
         case $ARCH in
          sparc)
            sharedJDK=$JDK/solsparc
            ;;
          i386)
            sharedJDK=$JDK/solx86
            ;;
         esac
         ;;
        Linux)
         sharedJDK=$JDK/linux-i386
         ARCH=linux
         ;;
      esac

      CLASSPATH=${JCK}/classes:${JCK}/javatest.jar
      DISPLAY=${DISPLAY-$HOST:0.0}

      if `echo $SWITCH|grep "\-d64" >/dev/null`; then
        LD_LIBRARY_PATH=${JCK}/lib/sparcv9
      else
        LD_LIBRARY_PATH=${JCK}/lib/${ARCH}
      fi


      PATH=$JDK/bin:$sharedJDK/bin:$PATH

      export PATH CLASSPATH DISPLAY LD_LIBRARY_PATH


      echo
      java ${SWITCH} -version
      echo
      java ${SWITCH} -verify -Xfuture -Djava.security.policy=${JCK}/lib/jck.policy -Djava.security.policy=${JCK}/lib/jck.auth.login.config ${executeClass} ${excludeCmd} ${executeClassArgs} ${executeContextArgs} ${executeTestURL}
      ---------------Script End---------------------------------



      Test output:
      =============
      1) JToggleButtonTest0007: Failed. setText() method does not work as expected.
         STATUS:Failed.tests: 1; failed: 1; first test case failure: JToggleButtonTest0007

      2) JButtonTest0008: Failed. setText(String s) method does not work as expected.
         STATUS:Failed.tests: 12; passed: 11; failed: 1; first test case failure: JButtonTest0008

      3) JCheckBoxTest0007: Failed. setText() method does not work as expected
         STATUS:Failed.tests: 8; passed: 7; failed: 1; first test case failure: JCheckBoxTest0007

      4) JRadioButtonTest0007: Failed. setText(String) method does not work as expected.
         STATUS:Failed.tests: 8; passed: 7; failed: 1; first test case failure: JRadioButtonTest0007

      5) JWindowTest0002: Failed. JWindow(Frame owner) does not behave as expected.
         JWindowTest0003: Failed. JWindow setFocusableWindowState() does not behave as expected.

         STATUS:Failed.tests: 4; passed: 2; failed: 2; first test case failure: JWindowTest0002

      6) JSplitPaneTest0019: Failed. remove(Component) method does not work as expected. Right button still clickable after right component removed.

         result: Failed. tests: 24; passed: 23; failed: 1; first test case failure: JSplitPaneTest0019




      Specific Machine Info:
      =====================
      jtg-s122>uname -a
      SunOS jtg-s122 5.8 Generic_108528-01 sun4u sparc SUNW,Ultra-2

      jtg-i104>uname -a
      SunOS jtg-i104 5.6 Generic_105182-25 i86pc i386 i86pc

      ###@###.### 2001-08-16

        Attachments

          Activity

            People

            Assignee:
            mdavidsosunw Mark Davidson (Inactive)
            Reporter:
            ssubramasunw Suresh Subramaniam (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: