use of com.taobao.weex.ui.component.TestComponent in project weex-example by KalicyZhou.
the class WXAnimationModuleTest method testStartAnimation.
@Test
public void testStartAnimation() throws Exception {
module.startAnimation(module.mWXSDKInstance, null, null, null);
TestComponent comp = new TestComponent(module.mWXSDKInstance, new TestDomObject(), null);
module.startAnimation(module.mWXSDKInstance, comp, null, null);
WXAnimationBean animation = new WXAnimationBean();
module.startAnimation(module.mWXSDKInstance, comp, animation, null);
animation.styles = new WXAnimationBean.Style();
module.startAnimation(module.mWXSDKInstance, comp, animation, null);
}
Aggregations