[Laszlo-dev] fixing the smoketest in swf9
Henry Minsky
hminsky at laszlosystems.com
Wed Oct 22 09:11:17 PDT 2008
I'm currently working on another smokecheck swf9 bug, in the
testSettersOnView test
[Fault] exception, information=TypeError: Error #1010: A term is undefined
and has no properties.
Fault, LzView.as:1429
1429 var ss_$5 = bobj_$4[xory_$3] + bobj_$4[axis_$2];
(fdb) bt
#0 this = [Object 533108817,
class='$lzc$class_ViewTest'].LzView/__LZcheckSize(sview_$1=[Object
533109801, class='LzView'], axis_$2="width", xory_$3="x") at LzView.as:1429
#1 this = [Object 533108817,
class='$lzc$class_ViewTest'].LzView/__LZcheckwidthFunction(sview_$1=[Object
533109801, class='LzView']) at LzView.as:1452
#2 this = [Object 533109801,
class='LzView'].LzView/$lzc$set_rotation(v_$1=1 (0x1)) at LzView.as:701
#3 this = [Object 533109801,
class='LzView'].LzEventable/setAttribute(prop_$1="rotation", val_$2=1 (0x1),
ifchanged_$3=null) at LzEventable.as:52
#4 this = [Object 533108817,
class='$lzc$class_ViewTest'].$lzc$class_ViewTest/testSettersOnView() at
$lzc$class_ViewTest.as:10
(fdb)
On Wed, Oct 22, 2008 at 11:26 AM, Henry Minsky <hminsky at laszlosystems.com>wrote:
> There's a couple of tests failing in smokecheck for swf9.
> Most of them are of the form:
>
> TestFailure: >>> testTextFormat failed: Equals: expected ' {one: 1, two:
> too, 3: three}' got ' {two: too, 3: three, one: 1}'
>
> where obviously the order of iteration is not deterministic.
>
> Is there some easy way we can write this object formatting test that
> doesn't depend on the ordering of the elements? Maybe
> I could just write this test as three separate tests on {one: 1}, {two:
> 'two'}, and {3: 'three'} ? Or else I guess we could make the object
> formatter sort the elements when printing them...
>
>
>
>
>
>
>
> --
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com
>
>
>
--
Henry Minsky
Software Architect
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20081022/12c2559f/attachment.html
More information about the Laszlo-dev
mailing list