Here is the example program from the <TestSuite> reference page. When
you run it you get a compilation warning:
testsuite.lzx:1:23: required attributes missing
Any idea where that's coming from?
Thanks,
jrs
<canvas debug="true">
<debug y="275"/>
<include href="lzunit"/>
<class name="Tautologies" extends="TestCase">
<method name="testSuccess">
assertTrue(true);
assertFalse(false);
assertEquals(null, undefined);
assertWithin(0, .001, .01);
assertSame(null, null);
assertNotSame(null, undefined);
assertNull(null);
assertNotNull(undefined);
assertUndefined(undefined);
assertNotUndefined(null);
</method>
</class>
<class name="IntentionalBugs" extends="TestCase">
<method name="testFailure">
fail("This is an intentional failure");
</method>
<method name="testError">
error("This is an intentional error");
</method>
</class>
<TestSuite>
<Tautologies/>
<IntentionalBugs/>
</TestSuite>
</canvas>
_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev