lzunit-$3.lzx
<canvas debug="true" width="100%">
<debug x="100" y="150"/>
<include href="lzunit"/>
<TestSuite>
<TestCase>
<view name="redbox" bgcolor="red" width="50" height="50">
<animator name="anm" attribute="y" from="200" to="-400" duration="1000" start="false" relative="false" onstop="parent.parent.checkStatus()"/>
</view>
<method name="testanim">
redbox.anm.doStart()
</method>
<method name="checkStatus">
assertEquals(-400, redbox.y)
</method>
<method name="addTests">
this.addTest("testanim");
</method>
</TestCase>
</TestSuite>
</canvas>
Cross References
Includes