< prev index next >

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

Print this page

        

@@ -51,11 +51,11 @@
         animation = new AnimationMock(timer, Duration.INDEFINITE, 1.0, 1, false);
     }
 
     @After
     public void tearDown() {
-        animation.impl_stop();
+        animation.doStop();
     }
 
     @Test
     public void testPlay_DefaultResolution() {
         // start animatiom

@@ -70,15 +70,15 @@
         // another pulse
         animation.shim_pulseReceiver().timePulse(16 * DEFAULT_RESOLUTION);
         assertEquals(13 * DEFAULT_RESOLUTION, animation.getLastTimePulse());
 
         // stop animation
-        animation.impl_stop();
+        animation.doStop();
         assertFalse(timer.containsPulseReceiver(animation.shim_pulseReceiver()));
 
         // stop again
-        animation.impl_stop();
+        animation.doStop();
         assertFalse(timer.containsPulseReceiver(animation.shim_pulseReceiver()));
 
         // start again
         timer.setNanos(Math.round(30 * DEFAULT_RESOLUTION * TICKS_2_NANOS));
         animation.startReceiver(0);
< prev index next >