lzunit-$2.lzx
<canvas debug="true" width="100%">
<debug y="150"/>
<include href="lzunit"/>
<script>
asynchronousTests = false
</script>
<class name="syncrun" extends="TestCase">
<attribute name="counter" value="1
" when="once"/>
<method name="testfirst">
assertEquals(1, counter++)
</method>
<method name="testsecond">
assertEquals(2, counter++)
</method>
<method name="testthird">
assertEquals(3, counter++)
</method>
<method name="addTests">
this.addTest("testfirst");
this.addTest("testsecond");
this.addTest("testthird");
</method>
</class>
<TestSuite>
<syncrun/>
</TestSuite>
</canvas>
Cross References
Includes
Classes
- <class name="syncrun" extends="TestCase">