< prev index next >

modules/graphics/src/test/java/test/javafx/animation/AnimationSetRateTest.java

Print this page

        

*** 76,86 **** // toggling back animation.setRate(1.5); assertAnimation(1.5, 1.5, Status.RUNNING, true); // changing the rate of a animation playing in reverse ! animation.impl_setCurrentRate(-1.5); animation.setRate(2.2); assertAnimation(2.2, -2.2, Status.RUNNING, true); // toggling a animation playing in reverse animation.setRate(-1.8); --- 76,86 ---- // toggling back animation.setRate(1.5); assertAnimation(1.5, 1.5, Status.RUNNING, true); // changing the rate of a animation playing in reverse ! animation.setCurrentRate(-1.5); animation.setRate(2.2); assertAnimation(2.2, -2.2, Status.RUNNING, true); // toggling a animation playing in reverse animation.setRate(-1.8);
*** 200,210 **** assertAnimation(0.0, 0.0, Status.RUNNING, false); animation.setRate(1.5); assertAnimation(1.5, 1.5, Status.RUNNING, true); // changing the rate of a animation playing in reverse ! animation.impl_setCurrentRate(-1.5); animation.setRate(0.0); assertAnimation(0.0, 0.0, Status.RUNNING, false); animation.setRate(2.2); assertAnimation(2.2, -2.2, Status.RUNNING, true); --- 200,210 ---- assertAnimation(0.0, 0.0, Status.RUNNING, false); animation.setRate(1.5); assertAnimation(1.5, 1.5, Status.RUNNING, true); // changing the rate of a animation playing in reverse ! animation.setCurrentRate(-1.5); animation.setRate(0.0); assertAnimation(0.0, 0.0, Status.RUNNING, false); animation.setRate(2.2); assertAnimation(2.2, -2.2, Status.RUNNING, true);
*** 257,267 **** assertAnimation(1.5, 0.0, Status.PAUSED, false); animation.play(); assertAnimation(1.5, 1.5, Status.RUNNING, true); // changing the rate of a paused animation pointing in reverse ! animation.impl_setCurrentRate(-1.5); animation.pause(); animation.setRate(2.2); assertAnimation(2.2, 0.0, Status.PAUSED, false); animation.play(); assertAnimation(2.2, -2.2, Status.RUNNING, true); --- 257,267 ---- assertAnimation(1.5, 0.0, Status.PAUSED, false); animation.play(); assertAnimation(1.5, 1.5, Status.RUNNING, true); // changing the rate of a paused animation pointing in reverse ! animation.setCurrentRate(-1.5); animation.pause(); animation.setRate(2.2); assertAnimation(2.2, 0.0, Status.PAUSED, false); animation.play(); assertAnimation(2.2, -2.2, Status.RUNNING, true);
*** 333,343 **** assertAnimation(1.5, 0.0, Status.PAUSED, false); animation.play(); assertAnimation(1.5, 1.5, Status.RUNNING, true); // changing the rate of a paused animation pointing in reverse ! animation.impl_setCurrentRate(-1.5); animation.pause(); animation.setRate(0.0); assertAnimation(0.0, 0.0, Status.PAUSED, false); animation.setRate(2.2); assertAnimation(2.2, 0.0, Status.PAUSED, false); --- 333,343 ---- assertAnimation(1.5, 0.0, Status.PAUSED, false); animation.play(); assertAnimation(1.5, 1.5, Status.RUNNING, true); // changing the rate of a paused animation pointing in reverse ! animation.setCurrentRate(-1.5); animation.pause(); animation.setRate(0.0); assertAnimation(0.0, 0.0, Status.PAUSED, false); animation.setRate(2.2); assertAnimation(2.2, 0.0, Status.PAUSED, false);
< prev index next >