[Laszlo-dev] Fwd: Errors with runlzunit in clean trunk

Henry Minsky henry.minsky at gmail.com
Wed Feb 13 08:21:53 PST 2008


---------- Forwarded message ----------
From: Henry Minsky <henry.minsky at gmail.com>
Date: Wed, Feb 13, 2008 at 11:21 AM
Subject: Re: [Laszlo-dev] Errors with runlzunit in clean trunk
To: Donald Anderson <dda at ddanderson.com>


I think that might be an error in the test itself, which I fixed in
devildog. Try running it again, there was a bug
whereby the delay the first time the .jsp's compile caused some sort of
timing error.

I'll look and see if the changes to the test suite I made in devildog can be
backported.

On Wed, Feb 13, 2008 at 10:41 AM, Donald Anderson <dda at ddanderson.com>
wrote:

> Running ant runlzunit in a clean, up to date trunk:
>
>   http://localhost:8080/trunk/test/lfc/data/alldata.lzx?lzr=swf7
>
> gives:
>    TestFailure: TestClientCacheBreaker >>> test1 failed: False:
> expected false got true
>
> The complete debug window follows.  Should I care?
> Just wanted to establish a base for regression testing for my current
> work.
> Thanks.
>
> - Don
>
>
> testheaderresponse: dpready = true
> sending edata request
> testsetheaders.lzx sending edata
> sending edata_solo request
> testsetheaders.lzx sending edata_solo
> testcase got ds4 ondata
> testcase got edata ondata
> testcase got edata_solo ondata
> testcase got prdataput ondata
> running async test for loaded data (datapointer.lzx)
> ERROR @datapointer.lzx#21: <data><record a="1"> some Text </
> record><record a="2"><a/><b> fdksjhf</b><c/></record><foo a="11"> some
> Text </foo><match2><aa/><bb first="true"/><bb> some </bb><cc/></
> match2><match2><ee/><ff/><bb> otherbb </bb><bb last="true"/></match2></
> data> matched 2 nodes
> INFO @datapointer.lzx#21: <match2><ee/><ff/><bb> otherbb </bb><bb
> last="true"/></match2>.getNodeOffset is deprecated.  Use XPath
> `position()` operator instead.
> ERROR @datapointer.lzx#18: <data><record a="1"> some Text </
> record><record a="2"><a/><b> fdksjhf</b><c/></record><foo a="11"> some
> Text </foo><match2><aa/><bb first="true"/><bb> some </bb><cc/></
> match2><match2><ee/><ff/><bb> otherbb </bb><bb last="true"/></match2></
> data> matched 2 nodes
> INFO @datapointer.lzx#18: <match2><ee/><ff/><bb> otherbb </bb><bb
> last="true"/></match2>.getNodeOffset is deprecated.  Use XPath
> `position()` operator instead.
> running async test for loaded data (datapointerServerless.lzx)
> |some Text|
> ERROR @datapointerServerless.lzx#14: <data><record a="1">some Text</
> record><record a="2"><a/><b>fdksjhf</b><c/></record><foo a="11">some
> Text</foo><match2><aa/><bb first="true"/><bb>some</bb><cc/></
> match2><match2><ee/><ff/><bb>otherbb</bb><bb last="true"/></match2></
> data> matched 2 nodes
> «¡LzDataElement!#9| <match2><ee/><ff/><bb>otherbb</bb><bb last="true"/
>  ></match2>»
> INFO @datapointerServerless.lzx#14: <match2><ee/><ff/><bb>otherbb</
> bb><bb last="true"/></match2>.getNodeOffset is deprecated.  Use XPath
> `position()` operator instead.
> INFO: setNodeName: p is null in Datapath for dataEventReporter  name:
> etc1
> undefined
> ERROR: <record>first<a foo="car"/><b/></record> matched 4 nodes
> running async test for loaded data (namespace.lzx)
> type of dataset http
> dp «lz.datapointer#16| <persons secret="secret.names"
> foo="foo.bar"><person color="you blew it foo" name="bret"
> id="1"><firstName>Dan</firstName><lastName>McGowan</
> lastName><modifyDate>3/25/05</modifyDate><address code="ML"
> id="1"><line1>2210 North 184th Street</line1><line2/...»
> dpns «lz.datapointer#17| <persons xmlns:foo="foo.bar"
> xmlns:secret="secret.names"><foo:person id="1" name="jonny"
> secret:name="bret" secret:color="you blew it" foo:color="you blew it
> foo"><firstName>Dan</firstName><lastName>McGowan</
> lastName><modifyDate>3/25/05</modifyDate><add...»
> localds «lz.dataset#18| <localds><persons secret="secret.names"
> foo="foo.bar"><person color="you blew it foo" name="bret"
> id="1"><firstName>Dan</firstName><lastName>McGowan</
> lastName><modifyDate>3/25/05</modifyDate><address code="ML"
> id="1"><line1>2210 North 184th Street</line...»
> running async test for loaded data (namespace-solo.lzx)
> type of dataset http
> dpns «lz.datapointer#19| <persons xmlns:foo="foo.bar"
> xmlns:secret="secret.names"><foo:person id="1" name="jonny"
> secret:name="bret" secret:color="you blew it" foo:color="you blew it
> foo"><firstName>Dan</firstName><lastName>McGowan</
> lastName><modifyDate>3/25/05</modifyDate><add...»
> running async test for loaded data (whitespace.lzx)
> dpp «lz.datapointer#20| <persons><person id="2"><firstName>Barry</
> firstName><lastName>Bonds</lastName><modifyDate>3/25/05</modifyDate></
> person><person id="3"><firstName>Jeff &quot;The Jeffster&quot;
> Rodger Morton Tanith</firstName><lastName>Beck</
> lastName><modifyDate>3/25/0...»
> dps «lz.datapointer#21| <persons><person id="2"><firstName>Barry</
> firstName><lastName>Bonds</lastName><modifyDate>3/25/05</modifyDate></
> person><person id="3"><firstName>Jeff &quot;The Jeffster&quot;
> Rodger Morton Tanith</firstName><lastName>Beck</
> lastName><modifyDate>3/25/0...»
> running async test for loaded data (sendheaders.lzx)
> type of dataset http
> dp «lz.datapointer#22| <data><record a="1"> some Text </record><record
> a="2"><a/><b> fdksjhf</b><c/></record><foo a="11"> some Text </
> foo><match2><aa/><bb first="true"/><bb> some </bb><cc/></
> match2><match2><ee/><ff/><bb> otherbb </bb><bb last="true"/></match2></
> data>»
> this.dpready =  true
> running testsetheaders test on loaded data
> /echo/headers/text()=
>
>     Header: user-agent : Mozilla/5.0 (Macintosh; U; Intel Mac OS X;
> en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
>     Header: accept : text/xml,application/xml,application/xhtml
> +xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
>     Header: accept-language : en-us,en;q=0.5
>     Header: accept-charset : ISO-8859-1,utf-8;q=0.7,*;q=0.7
>     Header: keep-alive : 300
>     Header: cookie : JSESSIONID=0F83C93E4937000E8FFF4218FF824937
>     Header: referer :
> http://localhost:8080/trunk-review/test/lfc/data/alldata.lzx?lzt=swf&lzr=swf7
>     Header: content-type : pink-elephants/xml
>     Header: host : localhost:8080
>     Header: content-length : 17
> running testsetheaders test on loaded data
> /echo/headers/text()=
>
>     Header: host : localhost:8080
>     Header: user-agent : Mozilla/5.0 (Macintosh; U; Intel Mac OS X;
> en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
>     Header: accept : text/xml,application/xml,application/xhtml
> +xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
>     Header: accept-language : en-us,en;q=0.5
>     Header: accept-encoding : gzip,deflate
>     Header: accept-charset : ISO-8859-1,utf-8;q=0.7,*;q=0.7
>     Header: keep-alive : 300
>     Header: connection : keep-alive
>     Header: cookie : JSESSIONID=0F83C93E4937000E8FFF4218FF824937
>     Header: referer :
> http://localhost:8080/trunk-review/test/lfc/data/alldata.lzx?lzt=swf&lzr=swf7
>     Header: content-type : pink-elephants/xml
>     Header: my-other-personal-header : milk chocolate with almonds
>     Header: my-personal-header : vanilla/with-chocolate-syrup
>     Header: content-length : 23
> running async test for loaded data (testrawpost.lzx)
> running async test for loaded data testput) «lz.datapointer#23|
> LzDatapointer  name: dp »
> running async test for loaded data (testheaderresponse.lzx)
> hdrs= «lz.params#24| Server=Apache-Coyote/1.1&Date=Wed, 13 Feb 2008
> 15:35:46 GMT&ETag=W/"604-1193188782000"»
> running async test for loaded data (testclientcachebreaker.lzx)
> «lz.datapointer#25| LzDatapointer  name: dp »
> ERROR: False:  expected false got true
> WARNING: Sent extra global mouse event
>
>
>
> --
>
> Don Anderson
> Java/C/C++, Berkeley DB, systems consultant
>
> voice: 617-547-7881
> email: dda at ddanderson.com
> www: http://www.ddanderson.com
>
>
>
>
>
>


-- 
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/20080213/4240abcb/attachment-0001.html


More information about the Laszlo-dev mailing list