
|
If you were logged in you would be able to see more operations.
|
|
|
| Severity: |
Minor
|
| Fixed in Change#: |
5,560
|
| Runtime: |
N/A
|
| Fix in hand: |
False
|
|
If you run smokecheck.lzx in DHTML, one of the tests appears to cause the progress bar and test status to be erased. When the suite is done, you can't tell if it passed or failed.
|
|
Description
|
If you run smokecheck.lzx in DHTML, one of the tests appears to cause the progress bar and test status to be erased. When the suite is done, you can't tell if it passed or failed. |
Show » |
|
<canvas debug="true">
<!-- Debugger parameters, if invoked with debug=true -->
<debug height="50%" y="50%" width="100%" x="0"/>
<include href="lzunit" />
<class name="bug_1062" extends="TestCase">
<view name="view1"/>
<view name="view2"
onfocus="trace = trace.concat('onfocus')"
onblur="trace = trace.concat('onblur')">
<attribute name="trace" value="[]"/>
</view>
<method name="assertArrayEquals" args="a, b">
if (a.length != b.length) return false;
for (var i in a)
if (a[i] != b[i])
return false;
return true;
</method>
<method name="testNode">
LzFocus.setFocus(view1)
LzFocus.setFocus(view2)
LzFocus.setFocus(view2)
LzFocus.setFocus(view2)
LzFocus.setFocus(view1)
assertArrayEquals(['onfocus', 'onblur'], view2.trace)
</method>
</class>
<dataset name="bug1314" nsprefix='false'>
<root>some text</root>
</dataset>
<class name="bug_1314" extends="TestCase">
<inputtext id="dv" datapath="bug1314:/root/text()"/>
<method name="testDMap">
dv.updateData();
assertEquals(41 , bug1314.getPointer().serialize().length);
</method>
</class>
<TestSuite>
<!-- these two bugs together cause the canvas to shift so that the test view is not visible -->
<bug_1062/>
<bug_1314/>
</TestSuite>
</canvas>