return "com.google.gwt.animation.Animation";
}
public void testCancel() {
delayTestFinish(TEST_TIMEOUT);
AnimationHandle handle = scheduler.requestAnimationFrame(new AnimationCallback() {
@Override
public void execute(double timestamp) {
fail("The animation frame was cancelled and should not execute.");
}
}, null);
// Cancel the animation frame.
handle.cancel();
// Wait to make sure it doesn't execute.
new Timer() {
@Override
public void run() {