|
|
|
[
Permlink
| « Hide
]
Benjamin Shine - 20/Aug/07 10:24 AM
The smoke test is failing, so I'm making this a P1.
I fixed the tests in r6194. Now there are no errors, but there are still warnings:
WARNING: __LZgetNodes: p is null in LzDatapointer WARNING: __LZgetNodes: p is null in LzDatapointer WARNING: __LZgetNodes: p is null in LzDatapointer WARNING: __LZgetNodes: p is null in LzDatapointer 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 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 Laszlo-checkins@openlaszlo.org http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins Tested in r6938. Windows IE7.
No errors are returned on running of test, however warnings are returned which Max accounts for. The following warnings are returned: INFO: __LZgetNodes: p is null in LzDatapointer INFO: __LZgetNodes: p is null in LzDatapointer INFO: __LZgetNodes: p is null in LzDatapointer INFO: __LZgetNodes: p is null in LzDatapointer WARNING: LzLoadQueue.XMLOnDataHandler load failed from URL 'http://localhost:8080/lps-4.1.x/test/lzunit/Logger.jsp?logfile=lzunit%2Elog&msg=finish%5Ftestsuite%3A%20my%2Dapps%2FLPP%2D4530%2Flzunit%2Dbasedatacombobox%2Elzx%20failures%3A%200%0A', no data received. WARNING: Failure to load data in serverless apps may be caused by Flash player security policies. Check your data server crossdomain.xml file |
||||||||||||||||||||||||||||||||||||||||||||||||||||