--- old/modules/base/src/test/java/javafx/beans/property/ReadOnlyObjectWrapperTest.java 2015-08-04 14:45:21.239986300 +0300 +++ new/modules/base/src/test/java/javafx/beans/property/ReadOnlyObjectWrapperTest.java 2015-08-04 14:45:20.934968800 +0300 @@ -154,7 +154,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); @@ -171,7 +171,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); } @@ -184,7 +184,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 @@ -199,7 +199,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()); } @@ -238,7 +238,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); @@ -255,7 +255,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); } @@ -268,7 +268,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 @@ -283,7 +283,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()); } @@ -330,7 +330,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); @@ -338,7 +338,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); @@ -347,7 +347,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); @@ -356,7 +356,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); } @@ -370,14 +370,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 @@ -385,7 +385,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 @@ -393,7 +393,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()); } @@ -442,7 +442,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); @@ -450,7 +450,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); @@ -459,7 +459,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); @@ -468,7 +468,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); } @@ -482,14 +482,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 @@ -497,7 +497,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 @@ -505,7 +505,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()); } @@ -567,7 +567,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); @@ -575,7 +575,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); @@ -622,7 +622,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); } @@ -640,7 +640,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); @@ -656,7 +656,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);