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

TEST_BUG: Two manual Regression java/awt/Frame tests fail

XMLWordPrintable

    • b47
    • generic
    • generic
    • Verified



      Name: iaR10016 Date: 03/31/2004


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b44
      Testbase : Regression-test
      Platform[s] : all
      Falling test[s]:
               java/awt/Frame/FrameIconTest/FrameIconTest.html
               java/awt/Frame/DefaultFrameIconTest/DefaultFrameIconTest.html

      Two manual Regression api/java/awt/Frame tests fail with JDK1.5.0-b44 when running under Javatest.

      These tests use some gif-files (located in the test directory) as tested frame icons. However,
      when the test starts (using Javatest), tested frame has no icon at all.

      The cause of the failures is that when the tests run under jtreg, working directory is "test/scratch", not the
      directory where the tests were originally located. So, necessary gif-file needs to be copied to the "scratch"
      directory (for example, using shell script) before the test starting.

      The tests work fine and pass if I compile and run them by hand in the original test directory.

      Test source location:
      =====================
      /java/re/jdk/1.5.0/promoted/all/b44/ws/j2se/test/java/awt/Frame/FrameIconTest/FrameIconTest.html
      /java/re/jdk/1.5.0/promoted/all/b44/ws/j2se/test/java/awt/Frame/DefaultFrameIconTest/DefaultFrameIconTest.html

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b44/regtest/linux/QuickSilver_linux-17/workDir/test-manual/java/awt/Frame/FrameIconTest/FrameIconTest.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b44/regtest/linux/QuickSilver_linux-17/workDir/test-manual/java/awt/Frame/DefaultFrameIconTest/DefaultFrameIconTest.jtr

      How to reproduce:
      =================
      Run java/awt/Frame/FrameIconTest/FrameIconTest.html, java/awt/Frame/DefaultFrameIconTest/DefaultFrameIconTest.html
      tests from Javatest.

      Specific machine info:
      ======================
      Hostname: linux-17
      OS: QuickSilver

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

            son Oleg Sukhodolsky (Inactive)
            irasunw Ira Ira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: