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

JCK1.4,interactive: api/javax_swing/interactive/BorderFactoryTests.html#BorderFa

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      tiger
    • CPU:
      generic, x86, sparc
    • OS:
      generic, linux, windows_2000
    • Verification:
      Verified

      Description

      See 4668513 for a clear description of the problem. The fix to this bug should be a doc change.
      ###@###.### 2003-01-27


      Original description:
      ---------------------

      Name: asR10013 Date: 04/08/2002


      Filed By : J2SE-SQA [###@###.###
      JDK : jdk1.4.1-b07
      JCK : jck1.4-b17
      Platform[s] : Windows 2000 pro
      switch/Mode : -client -Xmixed -Xfuture
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Falling test[s]:
      api/javax_swing/interactive/BorderFactoryTests.html#BorderFactory
      [BorderFactoryTest0003]
       
      Shadow borders created with BorderFactory.createBevelBorder(raisedInt,
      Color.WHITE, Color.BLACK, Color.red, Color.blue)
      interchange their shadowInner and shadowOuter colors depending whether
      they are raised or not.
       
      Test source location:
      =====================
      /net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/javax_swing/BorderFactoryTests.java
       
      jtr file location:
      ==================
      /net/jtgb4u4c.eng/export/sail15/results/hopper/b07/jck14/win32/win2000_client_linux-2/workDir/api/javax_swing/BorderFactoryTests_BorderFactory.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change JCK and JDK variables)
       
      The test window appears and you are provided with instructions to
      complete the test.
      Notice that
      when the "Raised" checkbox is checked then
         shadowInner=blue and shadowOuter=red
      while when the "Raised" checkbox is NOT checked
      then
         shadowInner=red and shadowOuter=blue.

      highlightInner and highlightOuter are treated correctly.

      --- script start ---
      #!/bin/sh

      # change variables as needed

      JCK="c:/jck1.4/JCK-runtime-14"
      JDK="c:/jdk1.4.1"
      switches="-client -Xmixed -Xfuture"
      CLASSPATH="${JCK}/classes:${JCK}/javatest.jar"

      $JDK/bin/java $switches -cp $CLASSPATH javasoft.sqe.tests.api.javax.swing.interactive.BorderFactory.BorderFactoryTests
      -TestCaseID BorderFactoryTest0003 -TestDirURL file:///${JCK}/tests/api/javax_swing/interactive/BorderFactoryTests.html#BorderFactory
       
      --- script end ---

      Test output:
      ============

      BorderFactoryTest0003: Failed.
      BorderFactorycreateBevelBorder(type,highlightOuter,highlightInner,shadowOuter,shadowInner)
      does not work as expected.

      STATUS:Failed.tests: 1; failed: 1; first test case failure:
      BorderFactoryTest0003


      Specific Machine Info:
      ======================
      Hostname: linux-2
      OS: Windows 2000 pro



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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sharonz Sharon Zakhour (Inactive)
              Reporter:
              alssunw Als Als (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: