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

Investigate failing tests after JDK-8268849

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 8u311, openjfx18
    • Fix Version/s: openjfx18
    • Component/s: javafx
    • Labels:
    • Subcomponent:
      web

      Description

      Following test failures are observed after JDK-8268849
      The failures should be investigated, if the tests have become invalid then they should be removed.
      These will be commented out as part of JDK-8268849.

      Exception in thread "JavaFX Application Thread" eb.HistoryTest
      test.javafx.scene.web.HistoryTest > test FAILED
          java.lang.AssertionError: title not changed from JS
              at org.junit.Assert.fail(Assert.java:91)
              at test.javafx.scene.web.HistoryTest.ensureValueChanged(HistoryTest.java:275)
              at test.javafx.scene.web.HistoryTest.test(HistoryTest.java:111)

      test.javafx.scene.web.HistoryTest > test FAILED
          java.lang.AssertionError: entries: title is wrong expected:<1> but was:<null>
              at org.junit.Assert.fail(Assert.java:91)
              at org.junit.Assert.failNotEquals(Assert.java:645)
              at org.junit.Assert.assertEquals(Assert.java:126)
              at test.javafx.scene.web.HistoryTest.check(HistoryTest.java:272)
              at test.javafx.scene.web.HistoryTest.checkLoad(HistoryTest.java:265)
              at test.javafx.scene.web.HistoryTest.test(HistoryTest.java:75)

      test.javafx.scene.web.LoadNotificationsTest > testSuccessfulLoad FAILED
          java.lang.AssertionError: WebEngine.title should be set
              at org.junit.Assert.fail(Assert.java:91)
              at org.junit.Assert.assertTrue(Assert.java:43)
              at org.junit.Assert.assertNotNull(Assert.java:524)
              at test.javafx.scene.web.LoadNotificationsTest.checkState(LoadNotificationsTest.java:153)
              at test.javafx.scene.web.LoadNotificationsTest.changed(LoadNotificationsTest.java:81)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              arapte Ambarish Rapte
              Reporter:
              arapte Ambarish Rapte
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: