cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Stevens <at...@hotmail.com>
Subject RE: Unit testing readers
Date Mon, 03 Sep 2007 14:35:59 GMT

> Date: Mon, 3 Sep 2007 16:25:37 +0200
> From: gkossakowski@apache.org
>
> Andrew Stevens pisze:
>> What's the easiest way to unit test a reader (and associated service
>> components & configuration)? I've been using SitemapComponentTestCase
>> no problems with other components types (actions, transformers, selectors)
>> but it doesn't appear to contain a read() method.
>
> Is your reader a Spring bean? Do you develop with C2.2 or 2.1?

Sorry - forgot to say.  This is for 2.1.X, so it's Avalon components not Spring beans.


Andrew.
-- 
http://pseudoq.sourceforge.net/  Open source java Sudoku application

_________________________________________________________________
Celeb spotting – Play CelebMashup and win cool prizes
https://www.celebmashup.com
Mime
View raw message