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

Print this page
rev 9250 : 8134762: Refactor Javafx graphics module tests for clear separation of tests
Reviewed-by:

*** 21,45 **** * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ ! package javafx.animation; import com.sun.scenario.animation.AbstractMasterTimer; import com.sun.scenario.animation.shared.ClipEnvelope; ! public class AnimationImpl extends Animation { public AnimationImpl(AbstractMasterTimer timer, ClipEnvelope clipEnvelope, int resolution) { super(timer, clipEnvelope, resolution); } public AnimationImpl() { super(); } @Override public void impl_playTo(long currentTicks, long cycleTicks) { } --- 21,49 ---- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ ! package test.javafx.animation; import com.sun.scenario.animation.AbstractMasterTimer; import com.sun.scenario.animation.shared.ClipEnvelope; + import javafx.animation.AnimationShim; ! public class AnimationImpl extends AnimationShim { public AnimationImpl(AbstractMasterTimer timer, ClipEnvelope clipEnvelope, int resolution) { super(timer, clipEnvelope, resolution); } public AnimationImpl() { super(); } + public AnimationImpl(AbstractMasterTimer timer) { + super(timer); + } @Override public void impl_playTo(long currentTicks, long cycleTicks) { }