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

javafx-beans not being tested

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 8
    • javafx
    • None

      When javafx-beans was open sourced, it was removed from rt-closed/build.xml section on testing. As a result, it is not being tested on hudson. In the last month, a regression has occurred (?) such that javafx-beans tests do not pass. Below are some of the tests that are failing (all in ListPropertyBaseTest):

          [junit] Testsuite: javafx.beans.property.ListPropertyBaseTest
          [junit] Tests run: 24, Failures: 4, Errors: 0, Time elapsed: 0.119 sec
          [junit]
          [junit] Testcase: testBind_ListChange(javafx.beans.property.ListPropertyBaseTest): FAILED
          [junit] expected:<ListProperty [bound, value: []]> but was:<[]>
          [junit] junit.framework.AssertionFailedError: expected:<ListProperty [bound, value: []]> but was:<[]>
          [junit] at javafx.collections.MockListObserver.checkAddRemove(MockListObserver.java:102)
          [junit] at javafx.collections.MockListObserver.check1AddRemove(MockListObserver.java:90)
          [junit] at javafx.beans.property.ListPropertyBaseTest.testBind_ListChange(ListPropertyBaseTest.java:556)
          [junit]
          [junit]
          [junit] Testcase: testListChangeListener(javafx.beans.property.ListPropertyBaseTest): FAILED
          [junit] expected:<ListProperty [value: [java.lang.Object@cf768c, java.lang.Object@1f95c5d]]> but was:<[java.lang.Object@cf768c, java.lang.Object@1f95c5d]>
          [junit] junit.framework.AssertionFailedError: expected:<ListProperty [value: [java.lang.Object@cf768c, java.lang.Object@1f95c5d]]> but was:<[java.lang.Object@cf768c, java.lang.Object@1f95c5d]>
          [junit] at javafx.collections.MockListObserver.checkAddRemove(MockListObserver.java:102)
          [junit] at javafx.collections.MockListObserver.check1AddRemove(MockListObserver.java:90)
          [junit] at javafx.beans.property.ListPropertyBaseTest.testListChangeListener(ListPropertyBaseTest.java:150)
          [junit]
          [junit]
          [junit] Testcase: testSet_ListChange(javafx.beans.property.ListPropertyBaseTest): FAILED
          [junit] expected:<ListProperty [value: [java.lang.Object@cf768c, java.lang.Object@1f95c5d]]> but was:<[java.lang.Object@cf768c, java.lang.Object@1f95c5d]>
          [junit] junit.framework.AssertionFailedError: expected:<ListProperty [value: [java.lang.Object@cf768c, java.lang.Object@1f95c5d]]> but was:<[java.lang.Object@cf768c, java.lang.Object@1f95c5d]>
          [junit] at javafx.collections.MockListObserver.checkAddRemove(MockListObserver.java:102)
          [junit] at javafx.collections.MockListObserver.check1AddRemove(MockListObserver.java:90)
          [junit] at javafx.beans.property.ListPropertyBaseTest.testSet_ListChange(ListPropertyBaseTest.java:384)
          [junit]
          [junit]
          [junit] Testcase: testSetValue_ListChange(javafx.beans.property.ListPropertyBaseTest): FAILED
          [junit] expected:<ListProperty [value: [java.lang.Object@cf768c, java.lang.Object@1f95c5d]]> but was:<[java.lang.Object@cf768c, java.lang.Object@1f95c5d]>
          [junit] junit.framework.AssertionFailedError: expected:<ListProperty [value: [java.lang.Object@cf768c, java.lang.Object@1f95c5d]]> but was:<[java.lang.Object@cf768c, java.lang.Object@1f95c5d]>
          [junit] at javafx.collections.MockListObserver.checkAddRemove(MockListObserver.java:102)
          [junit] at javafx.collections.MockListObserver.check1AddRemove(MockListObserver.java:90)
          [junit] at javafx.beans.property.ListPropertyBaseTest.testSetValue_ListChange(ListPropertyBaseTest.java:458)
          [junit]

            rbair Richard Bair (Inactive)
            rbair Richard Bair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: