baseedittext-test.lzx

<canvas>

<include href="lzunit"/>
<include href="incubator/baseedittext.lzx"/>

<baseedittext id="gbet" width="200" height="100"/>

<class name="TextTestCase" extends="TestCase">
    <method name="setUp">
        gbet.clearText();
    </method>
</class>
<TestSuite>
    <TextTestCase>
        <method name="testSimple">
            assertNotNull(gbet); 
        </method>
        <method name="testInitialConditions">
            assertEquals("", gbet.getValue()); 
            assertFalse(gbet.multiline); 
            assertEquals(gbet.getValue(), gbet.text); 
        </method>
    </TextTestCase>
</TestSuite>

</canvas>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
* Copyright 2007-2011 Laszlo Systems, Inc. All Rights Reserved.                    *
* Use is subject to license terms.                                            *
* X_LZ_COPYRIGHT_END ****************************************************** -->
<!-- @LZX_VERSION@                                                         -->

Cross References

Includes

Classes

Named Instances