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

TEST_BUG: Reg-test java/awt/CheckboxGroup/CheckboxGroupSelectCurrentTest.java fa

    Details

    • Subcomponent:
    • Resolved In Build:
      b45
    • CPU:
      generic, x86
    • OS:
      generic, windows_xp

      Description

      Name: mmR10223 Date: 04/23/2004


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b48
      Testbase : Regression-test
      Platform[s] : all
      switch/Mode : default
      Falling test[s]:
              java/awt/CheckboxGroup/CheckboxGroupSelectCurrentTest.java

      Description says:

      Click mouse button one in the currently selected checkBox.
      If stateChange=DESELECTED is output on the terminal window,
      then click Fail, else click Pass.
      ...
      But this test has no terminal window. The test output is written in the jtr file only.


      Test source location:
      =====================
      /java/re/jdk/1.5.0/promoted/all/b45/ws/j2se/test/java/awt/CheckboxGroup/CheckboxGroupSelectCurrentTest.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b45/regtest/win32/Windows_2003_Opteron_sqe12/workDir/test-manual/java/awt/CheckboxGroup/CheckboxGroupSelectCurrentTest.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change its variables)
       
      --- script start ---
      #!/bin/sh
      RESULT_DIR=`pwd`
      WORK_DIR=$RESULT_DIR/workDir/test
      REPORT_DIR=$RESULT_DIR/reportDir

      #Paths in Java Software:
      JT_HOME="/java/re/jct-tools/3.1.2/archive/fcs/binaries"
      JEMMY_JAR="/net/jdk.sfbay/export/jpse04/Jemmy/jemmy.jar"
      JAVA_HOME="/java/re/jdk/1.5.0/promoted/all/b47/binaries/solaris-sparc"
      TEST_BASE_PATH="/java/re/jdk/1.5.0/promoted/all/b47/ws/j2se/test"

      #Alternative paths outside Java Software
      #JT_HOME="/net/koori.sfbay/onestop/jct-tools/3.1.2/archive/fcs/binaries"
      #JEMMY_JAR="/net/jdk.sfbay/export/jpse04/Jemmy/jemmy.jar"
      #JAVA_HOME="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b47/binaries/solaris-sparc"
      #TEST_BASE_PATH="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b47/ws/j2se/test"

      TESTVMOPTS="-client"
      CLASSPATH="$JT_HOME/classes:$JT_HOME/lib/javatest.jar:$JT_HOME/lib/jtreg.jar"

      TEST="java/awt/Focus/HiddenTraversalTest/HiddenTraversalTest.html"

      mkdir -p $WORK_DIR/scratch 2>&1
      mkdir -p $WORK_DIR/jtData 2>&1
      mkdir -p $REPORT_DIR 2>&1

      #rm $WORK_DIR/jtData/ResultCache.jtw 2>&1

      cd $WORK_DIR/scratch

      $JAVA_HOME/bin/java -showversion -server -cp $CLASSPATH -DenvVars=TESTJAVAHOME=$JAVA_HOME,TESTVMOPTS=$TESTVMOPTS,DISPLAY=$DISPLAY,HOME=$HOME/.regtest,PATH=/bin:/usr/bin,CPAPPEND=$JEMMY_JAR,TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= -DDISPLAY=$DISPLAY -DlocalHost=`uname -n` -Dprogram=jtreg com.sun.javatest.regtest.Main -v default -batch -params -keywords manual -w "$WORK_DIR" -r "$REPORT_DIR" -t "$TEST_BASE_PATH" "$TEST_BASE_PATH/$TEST"
      --- script end ---

      Script output:
      ==============

      Test output (jtr part):
      =======================
      ----------System.out:(0/0)----------
      ----------System.err:(2/190)*----------
      Note: h:\\java\\regtest.tiger\\test\\java\\awt\\CheckboxGroup\\CheckboxGroupSelectCurrentTest.java uses or overrides a deprecated API.
      Note: Recompile with -Xlint:deprecation for details.
      result: Passed. Compilation successful

      #section:main
      ----------messages:(3/158)----------
      command: main CheckboxGroupSelectCurrentTest
      reason: User specified action: run main/manual CheckboxGroupSelectCurrentTest
      elapsed time (seconds): 63.266
      ----------System.out:(6/204)----------
      ItemEvent:
          ITEM_STATE_CHANGED,item=Box2,stateChange=SELECTED
      ItemEvent:
          ITEM_STATE_CHANGED,item=Box1,stateChange=SELECTED
      ItemEvent:
          ITEM_STATE_CHANGED,item=Box2,stateChange=SELECTED
      ----------System.err:(14/805)----------
      Fail.
      java.lang.Exception: CheckboxGroupSelectCurrentTest failed.
      at CheckboxGroupSelectCurrentTest.main(CheckboxGroupSelectCurrentTest.java:27)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:495)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:82)
      at java.lang.Thread.run(Thread.java:570)

      JavaTest Message: Test threw exception: java.lang.Exception: CheckboxGroupSelectCurrentTest failed.
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.Exception: CheckboxGroupSelectCurrentTest failed.
      result: Failed. Execution failed: `main' threw exception: java.lang.Exception: CheckboxGroupSelectCurrentTest failed.


      test result: Failed. Execution failed: `main' threw exception: java.lang.Exception: CheckboxGroupSelectCurrentTest failed.

      Specific machine info:
      ======================
      Hostname: sqe12
      OS: Windows 2003 Opteron

      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                art Artem Ananiev
                Reporter:
                mmvsunw Mmv Mmv (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: