[Laszlo-dev] Re: For Review: Change 35233 Summary:Add a few unit
tests for LzNode.
P T Withington
ptw at laszlosystems.com
Tue Nov 29 14:37:25 PST 2005
On 29 Nov 2005, at 15:45, Jim Grandy wrote:
> On Nov 29, 2005, at 12:33 PM, P T Withington wrote:
>> It's not clear to me that LzNode.subnodes is guaranteed to be in
>> any particular order, but in lzunit-node.lzx you are testing that.
> Really? Shouldn't lexical order map into subnodes order? Otherwise,
> how would things like layout or list work predictably?
Good point. Since the API spec is the documentation, perhaps the
documentation should state that.
>> Do you need a more complex structure to test the difference
>> between normal and immediate? They seem to have the same result.
> I'm happy to take suggestions. The description of this initstage
> doesn't distinguish itself enough for me, so I'm not clear what the
> difference should be.
I hope Adam will clarify :)
More information about the Laszlo-dev