cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Ziegeler <cziege...@apache.org>
Subject Re: How to register MockProcessInfoProvider?
Date Tue, 24 Jul 2007 16:31:35 GMT
Grzegorz Kossakowski wrote:
> Carsten Ziegeler pisze:
> 
>> Hmm, or the other way round - if the tests would create httpservlet
>> classes first, perhaps the current cocoon environment wrappers could
>> just be used to wrap them.
> 
> Hmmm, something worth trying. Do you think that changing
> o.a.c.environment.* classes (like MockRequest) so they implement Servlet
> interfaces and wrapping them in AbstractTestCase won't break anything?
Hmm, it *should* not :) But I fear we'll only know afterwards..

> I'm not sure if I understand you fully. Do you want to say that we
> should leave our environment interfaces untouched in general but I'm
> free to mess in AbstractTestCase or do you suggest to leave everything
> untouched?
Ah, sorry, yes, I meant to leave the environment abstraction untouched
but change the AbstractTestCase.

Carsten

-- 
Carsten Ziegeler
cziegeler@apache.org

Mime
View raw message