[Seaside] Seaside Testing Framework with Seaside 2.7

Martin Beck martin.beck at hpi.uni-potsdam.de
Thu Nov 16 15:31:51 UTC 2006


David Shaffer schrieb:
> Berger Stefan wrote:
>> Hi all,
>>
>> I tried to test a seaside application with Seaside2.7a1-mb.115 and
>> SeasideTesting-R1.4-cds.1
>>
>> The WACounterTest and all other applications failed, because the Session
>> could not get initialized.
>>
>> I figured that in SCBrowserSimulator>>httpGetRequestStreamFor:url a
>> readStream was given. But later on in the HttpRequest>>initRemoteAddress
>> will try to access a socket from the stream. Unfortunately the
>> readStream doesn't support a socket.
>>
>> Does anyone know the problem and does anyone have a conclusion to solve
>> it? I tried to change the readStream to a socketStream but more problems
>> awake after that ;)
>>
>> Thanks for your help!
>> Stefan
>> _______________________________________________
>> Seaside mailing list
>> Seaside at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>   
> Attached is a Kom patch.  I was hoping to get this fixed in the Kom base 
> but it looks like I will include it as an override in the next release 
> of SeasideTesting.
> 
> David
> 

Thanks for the patch. This error went away. But another problem is, that 
SCTestRunner and SCTestCaseViewer use the old Seaside Rendering API 
(WAHtmlRenderer) and not the new WARenderCanvas. If we change the 
rendererClass manually, it seems to work... Do you plan a new version or 
a patch?

Regards,
Martin


More information about the Seaside mailing list