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

JCK1.4a-runtime interactive BorderFactoryTests failed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.4.2
    • client-libs



      Name: vtR10009 Date: 01/23/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.4.2-b13,14
      JCK : JCK1.4a-runtime
      Platform[s] : Solaris 8,9 sparc
      switch/Mode : -Xint
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Falling test[s]: api/javax_swing/interactive/BorderFactoryTests.html#BorderFactory
      [BorderFactoryTest0003]

      JCK1.4a-runtime
      api/javax_swing/interactive/BorderFactoryTests.html#BorderFactory
      test fails on JDK1.4.2-b13 for sol-sparc since the constructed
      label does not look as specified in description.

      Please, compile and run this test with JDK1.4.2-b13.
      For lowered label border, outershadow is blue, instead of the expected red!

      Click the button and create lowered label.

      The test behavior for jdk1.4.1-b21 hopper is the same.


      Test source location:
      =====================
      /net/jtgb4u4c/export/sail16/JCK/jck14a/JCK-runtime-14a/tests/api/javax_swing/interactive/Bord
      erFactoryTests.java

      jtr file location:
      ==================
      /net/jtgb4u4c/export/sail15/results/mantis/b13/jck14a/sparc/s8_client_int_jtg-s115/workDir/ap
      i/javax_swing/interactive/BorderFactoryTests_BorderFactory.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change its variables)
       
      --- script start ---
      #!/bin/bash

      JCK="/net/jtgb4u4c/export/sail16/JCK/jck14a/JCK-runtime-14a"
      JDK="/java/re/jdk/1.4.2/promoted/beta/b13/binaries/solaris-sparc"
      switches=""
      CLASSPATH="$JCK/classes:$JCK/lib/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:
      ============

      ----------ref:(23/2410)----------
      BorderFactoryTest0001: Passed. BorderFactory..createBevelBorder(type) works as expected.
      BorderFactoryTest0002: Passed. BorderFactory.createBevelBorder(type,highlight,shadow) works
      as expected.
      BorderFactoryTest0003: Failed.
      BorderFactorycreateBevelBorder(type,highlightOuter,highlightInner,shadowOuter,shadowInner)
      does not work as expected. For lowered border, outershadow is blue, instead of the expected
      red!
      BorderFactoryTest0004: Passed. BorderFactory.createCompoundBorder() works as expected.
      BorderFactoryTest0005: Passed. BorderFactory.createCompoundBorder(outsideBorder,insideBorder)
      works as expected.
      BorderFactoryTest0006: Passed. BorderFactory.createEmptyBorder() works as expected.
      BorderFactoryTest0007: Passed. BorderFactory.createEmptyBorder(top,left,bottom,right) works
      as expected.
      BorderFactoryTest0008: Passed. BorderFactory.createEtchedBorder() works as expected.
      BorderFactoryTest0009: Passed. BorderFactory.createEtchedBorder(highlight,shadow) works as
      expected.
      BorderFactoryTest0010: Passed. BorderFactory.createEtchedBorder(type) works as expected.
      BorderFactoryTest0011: Passed. BorderFactory.createEtchedBorder(type,highlight,shadow) works
      as expected.
      BorderFactoryTest0012: Passed. BorderFactory.createLineBorder(Color) works as expected.
      BorderFactoryTest0013: Passed. BorderFactory.createLineBorder(Color,thickness) works as
      expected.
      BorderFactoryTest0014: Passed. BorderFactory.createLoweredBevelBorder() works as expected.
      BorderFactoryTest0015: Passed. BorderFactory.createMatteBorder(top,left,bottom,right,Color)
      works as expected.
      BorderFactoryTest0016: Passed.
      BorderFactory.createMatteBorder(top,left,bottom,right,tileIcon) works as expected.
      BorderFactoryTest0017: Passed. BorderFactory.createRaisedBevelBorder() works as expected.
      BorderFactoryTest0018: Passed. BorderFactory.createTitledBorder(Border) works as expected.
      BorderFactoryTest0019: Passed. BorderFactory.createTitledBorder(Border,Title) works as
      expected.
      BorderFactoryTest0020: Passed. BorderFactory.createTitledBorder(Title,Justification,Position)
      works as expected.
      BorderFactoryTest0021: Passed.
      BorderFactory.createTitledBorder(Title,Justification,Position,Font) works as expected.
      BorderFactoryTest0022: Passed.
      BorderFactory.createTitledBorder(Title,Justification,Position,Font,Color) works as expected.
      BorderFactoryTest0023: Passed. BorderFactory.createTitledBorder("Title") works as expected.


      Specific machine info:
      ======================
      SunOS jtg-s115 5.8 Generic_108528-16 sun4u sparc SUNW,Ultra-60


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

            shickeysunw Shannon Hickey (Inactive)
            vitcsunw Vitc Vitc (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: