[Seaside] Anyone using SeasideTesting with any newer versions of Seaside (2.6+) on VisualWorks?

Rick Flower rickf at ca-flower.com
Fri Jun 16 05:02:33 UTC 2006


David Shaffer wrote:
> I have sent various users patches to make ST work with the most recent
> Seaside.  Unfortunately my memory is fuzzy so if you send me a walkback
> I'll have better luck tracking down the patch.  It isn't big...one or
> two methods maybe.
>   
David,

I've had a chance to try things out and found and fixed one of the 
problems :

in SCComponentTestCase>>newApplicationWithRootClass:

change the following line (care of an email I found from Avi I believe 
late last year) :

        addAncestor: WARenderLoopConfiguration localConfiguration.
to
        addAncestor: WARenderLoopConfiguration new.

Also, do the same to the block version of the same method 
(SCComponent>>newApplicationWithRootClass initializeWith)

Now... Once I re-run my test, I get the following :

Unhandled exception: Some XML content was expected

This may be a problem with my test case.. I'll try playing around some 
more on this one,
but I'm including a shallow stack dump in case you're interested or if 
it jogs your memory
for anything..

Thanks!

-- Rick

Unhandled exception: Some XML content was expected
XML.DOM_SAXDriver(XML.SAXDriver)>>fatalError:
Seaside.XMLDOMParser(XML.XMLParser)>>malformed:
optimized [] in XML.XMLParser>>scanDocument
BlockClosure>>ensure:
Seaside.XMLDOMParser(XML.XMLParser)>>scanDocument
Seaside.XMLDOMParser>>scanDocument
Seaside.XMLDOMParser class>>parseDocumentFrom:
Seaside.SCSeasideResponse>>initializeFromResponse:
Seaside.SCSeasideResponse class>>fromResponse:
Seaside.SCBrowserSimulator>>issueRequestUntilNotMoved:
Seaside.SCBrowserSimulator>>establishSessionAtBase:
Seaside.MyScripTest(Seaside.SCComponentTestCase)>>establishSession
Seaside.MyScripTest>>testComponent1
Seaside.MyScripTest(TestCase)>>performTest



More information about the Seaside mailing list