Author: max
Date: 2007-08-22 16:19:41 -0700 (Wed, 22 Aug 2007)
New Revision: 6194
Modified:
openlaszlo/branches/wafflecone/test/components/base/lzunit-basedatacombobox.lzx
Log:
+ this fixes the testcase (per comments in LPP-4523 and LPP-4524)
Modified:
openlaszlo/branches/wafflecone/test/components/base/lzunit-basedatacombobox.lzx
===================================================================
---
openlaszlo/branches/wafflecone/test/components/base/lzunit-basedatacombobox.lzx
2007-08-22 21:34:34 UTC (rev 6193)
+++
openlaszlo/branches/wafflecone/test/components/base/lzunit-basedatacombobox.lzx
2007-08-22 23:19:41 UTC (rev 6194)
@@ -38,7 +38,7 @@
<item value="3" text="C"/>
</dataset>
- <simplecombobox x="100" id="scbox" itemdatapath="ds1:/"/>
+ <simplecombobox x="100" id="scbox" itemdatapath="ds1:/item"/>
<TestSuite>
@@ -50,7 +50,7 @@
<method name="testBadSelectionIndex">
scbox.setValue(2);
assertEquals( 2, scbox.getValue() );
- scbox._updateSelectionByIndex( -1, true, false);
+ scbox._updateSelectionByIndex( -1, false, false);
// Changing the selection to -1 should make the value become
undefined, or null,
// but it shouldn't just keep the same value as before.
assertFalse( 2 == scbox.getValue() );
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins