--- old/modules/base/src/test/java/javafx/beans/property/ReadOnlyListWrapperTest.java 2015-08-04 14:45:12.982329800 +0300 +++ new/modules/base/src/test/java/javafx/beans/property/ReadOnlyListWrapperTest.java 2015-08-04 14:45:12.621294300 +0300 @@ -153,7 +153,7 @@ property.set(VALUE_1); assertEquals(VALUE_1, property.get()); property.check(1); - internalInvalidationListener.check(readOnlyProperty, 1); + internalInvalidationListener.check(property, 1); assertEquals(VALUE_1, readOnlyProperty.get()); publicInvalidationListener.check(readOnlyProperty, 1); @@ -170,7 +170,7 @@ property.set(VALUE_1); assertEquals(VALUE_1, property.get()); property.check(1); - internalInvalidationListener.check(readOnlyProperty, 1); + internalInvalidationListener.check(property, 1); assertEquals(VALUE_1, readOnlyProperty.get()); publicInvalidationListener.check(readOnlyProperty, 1); } @@ -183,7 +183,7 @@ property.set(VALUE_1); assertEquals(VALUE_1, property.get()); property.check(1); - internalChangeListener.check(readOnlyProperty, DEFAULT, VALUE_1, 1); + internalChangeListener.check(property, DEFAULT, VALUE_1, 1); assertEquals(VALUE_1, readOnlyProperty.get()); // set same value again @@ -198,7 +198,7 @@ property.set(VALUE_1); assertEquals(VALUE_1, property.get()); property.check(2); - internalChangeListener.check(readOnlyProperty, VALUE_2, VALUE_1, 2); + internalChangeListener.check(property, VALUE_2, VALUE_1, 2); assertEquals(VALUE_1, readOnlyProperty.get()); } @@ -237,7 +237,7 @@ property.setValue(VALUE_1); assertEquals(VALUE_1, property.get()); property.check(1); - internalInvalidationListener.check(readOnlyProperty, 1); + internalInvalidationListener.check(property, 1); assertEquals(VALUE_1, readOnlyProperty.get()); publicInvalidationListener.check(readOnlyProperty, 1); @@ -254,7 +254,7 @@ property.setValue(VALUE_1); assertEquals(VALUE_1, property.get()); property.check(1); - internalInvalidationListener.check(readOnlyProperty, 1); + internalInvalidationListener.check(property, 1); assertEquals(VALUE_1, readOnlyProperty.get()); publicInvalidationListener.check(readOnlyProperty, 1); } @@ -267,7 +267,7 @@ property.setValue(VALUE_1); assertEquals(VALUE_1, property.get()); property.check(1); - internalChangeListener.check(readOnlyProperty, DEFAULT, VALUE_1, 1); + internalChangeListener.check(property, DEFAULT, VALUE_1, 1); assertEquals(VALUE_1, readOnlyProperty.get()); // set same value again @@ -282,7 +282,7 @@ property.setValue(VALUE_1); assertEquals(VALUE_1, property.get()); property.check(2); - internalChangeListener.check(readOnlyProperty, VALUE_2, VALUE_1, 2); + internalChangeListener.check(property, VALUE_2, VALUE_1, 2); assertEquals(VALUE_1, readOnlyProperty.get()); } @@ -329,7 +329,7 @@ assertEquals(VALUE_1, property.get()); assertTrue(property.isBound()); property.check(1); - internalInvalidationListener.check(readOnlyProperty, 1); + internalInvalidationListener.check(property, 1); assertEquals(VALUE_1, readOnlyProperty.get()); publicInvalidationListener.check(readOnlyProperty, 1); @@ -337,7 +337,7 @@ v.set(VALUE_2); assertEquals(VALUE_2, property.get()); property.check(1); - internalInvalidationListener.check(readOnlyProperty, 1); + internalInvalidationListener.check(property, 1); assertEquals(VALUE_2, readOnlyProperty.get()); publicInvalidationListener.check(readOnlyProperty, 1); @@ -346,7 +346,7 @@ v.set(VALUE_2); assertEquals(VALUE_2, property.get()); property.check(1); - internalInvalidationListener.check(readOnlyProperty, 1); + internalInvalidationListener.check(property, 1); assertEquals(VALUE_2, readOnlyProperty.get()); publicInvalidationListener.check(readOnlyProperty, 1); @@ -355,7 +355,7 @@ v.set(VALUE_1); assertEquals(VALUE_1, property.get()); property.check(1); - internalInvalidationListener.check(readOnlyProperty, 1); + internalInvalidationListener.check(property, 1); assertEquals(VALUE_1, readOnlyProperty.get()); publicInvalidationListener.check(readOnlyProperty, 1); } @@ -369,14 +369,14 @@ assertEquals(VALUE_1, property.get()); assertTrue(property.isBound()); property.check(1); - internalChangeListener.check(readOnlyProperty, DEFAULT, VALUE_1, 1); + internalChangeListener.check(property, DEFAULT, VALUE_1, 1); assertEquals(VALUE_1, readOnlyProperty.get()); // change binding once v.set(VALUE_2); assertEquals(VALUE_2, property.get()); property.check(1); - internalChangeListener.check(readOnlyProperty, VALUE_1, VALUE_2, 1); + internalChangeListener.check(property, VALUE_1, VALUE_2, 1); assertEquals(VALUE_2, readOnlyProperty.get()); // change binding twice without reading @@ -384,7 +384,7 @@ v.set(VALUE_2); assertEquals(VALUE_2, property.get()); property.check(2); - internalChangeListener.check(readOnlyProperty, VALUE_1, VALUE_2, 2); + internalChangeListener.check(property, VALUE_1, VALUE_2, 2); assertEquals(VALUE_2, readOnlyProperty.get()); // change binding twice to same value @@ -392,7 +392,7 @@ v.set(VALUE_1); assertEquals(VALUE_1, property.get()); property.check(2); - internalChangeListener.check(readOnlyProperty, VALUE_2, VALUE_1, 1); + internalChangeListener.check(property, VALUE_2, VALUE_1, 1); assertEquals(VALUE_1, readOnlyProperty.get()); } @@ -441,7 +441,7 @@ assertEquals(VALUE_1, property.get()); assertTrue(property.isBound()); property.check(1); - internalInvalidationListener.check(readOnlyProperty, 1); + internalInvalidationListener.check(property, 1); assertEquals(VALUE_1, readOnlyProperty.get()); publicInvalidationListener.check(readOnlyProperty, 1); @@ -449,7 +449,7 @@ v.set(VALUE_2); assertEquals(VALUE_2, property.get()); property.check(1); - internalInvalidationListener.check(readOnlyProperty, 1); + internalInvalidationListener.check(property, 1); assertEquals(VALUE_2, readOnlyProperty.get()); publicInvalidationListener.check(readOnlyProperty, 1); @@ -458,7 +458,7 @@ v.set(VALUE_2); assertEquals(VALUE_2, property.get()); property.check(1); - internalInvalidationListener.check(readOnlyProperty, 1); + internalInvalidationListener.check(property, 1); assertEquals(VALUE_2, readOnlyProperty.get()); publicInvalidationListener.check(readOnlyProperty, 1); @@ -467,7 +467,7 @@ v.set(VALUE_1); assertEquals(VALUE_1, property.get()); property.check(1); - internalInvalidationListener.check(readOnlyProperty, 1); + internalInvalidationListener.check(property, 1); assertEquals(VALUE_1, readOnlyProperty.get()); publicInvalidationListener.check(readOnlyProperty, 1); } @@ -481,14 +481,14 @@ assertEquals(VALUE_1, property.get()); assertTrue(property.isBound()); property.check(1); - internalChangeListener.check(readOnlyProperty, DEFAULT, VALUE_1, 1); + internalChangeListener.check(property, DEFAULT, VALUE_1, 1); assertEquals(VALUE_1, readOnlyProperty.get()); // change binding once v.set(VALUE_2); assertEquals(VALUE_2, property.get()); property.check(1); - internalChangeListener.check(readOnlyProperty, VALUE_1, VALUE_2, 1); + internalChangeListener.check(property, VALUE_1, VALUE_2, 1); assertEquals(VALUE_2, readOnlyProperty.get()); // change binding twice without reading @@ -496,7 +496,7 @@ v.set(VALUE_2); assertEquals(VALUE_2, property.get()); property.check(2); - internalChangeListener.check(readOnlyProperty, VALUE_1, VALUE_2, 2); + internalChangeListener.check(property, VALUE_1, VALUE_2, 2); assertEquals(VALUE_2, readOnlyProperty.get()); // change binding twice to same value @@ -504,7 +504,7 @@ v.set(VALUE_1); assertEquals(VALUE_1, property.get()); property.check(2); - internalChangeListener.check(readOnlyProperty, VALUE_2, VALUE_1, 1); + internalChangeListener.check(property, VALUE_2, VALUE_1, 1); assertEquals(VALUE_1, readOnlyProperty.get()); } @@ -566,7 +566,7 @@ assertEquals(VALUE_2, property.get()); assertTrue(property.isBound()); property.check(1); - internalInvalidationListener.check(readOnlyProperty, 1); + internalInvalidationListener.check(property, 1); assertEquals(VALUE_2, readOnlyProperty.get()); publicInvalidationListener.check(readOnlyProperty, 1); @@ -574,7 +574,7 @@ v2.set(VALUE_1); assertEquals(VALUE_1, property.get()); property.check(1); - internalInvalidationListener.check(readOnlyProperty, 1); + internalInvalidationListener.check(property, 1); assertEquals(VALUE_1, readOnlyProperty.get()); publicInvalidationListener.check(readOnlyProperty, 1); @@ -621,7 +621,7 @@ property.set(VALUE_2); assertEquals(VALUE_2, property.get()); property.check(1); - internalInvalidationListener.check(readOnlyProperty, 1); + internalInvalidationListener.check(property, 1); assertEquals(VALUE_2, readOnlyProperty.get()); publicInvalidationListener.check(readOnlyProperty, 1); } @@ -639,7 +639,7 @@ property.addListener(internalListener2); internalListener2.reset(); property.set(VALUE_2); - internalListener2.check(readOnlyProperty, 1); + internalListener2.check(property, 1); // setting the property, checking public property.set(VALUE_1); @@ -655,7 +655,7 @@ v.get(); internalListener3.reset(); v.set(VALUE_1); - internalListener3.check(readOnlyProperty, 1); + internalListener3.check(property, 1); // binding the property, checking public property.bind(v);