You can set the values of all the injectable things by using tapestrys
"Creator" class.

http://jakarta.apache.org/tapestry/tapestry/apidocs/org/apache/tapestry/test/Creator.html

I should really add this to the wiki....

On 2/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Well, the idea is that you can provide your own mock objects instead of
> the real
> services that the registry provides. This way you can have pure unit tests
> for
> the page.
>
> From Rolf Strijdhorst <[EMAIL PROTECTED]>:
>
> > Hi,
> >
> > is there a way to test the injection of a hivmind service into a page?
> >
> > because the creator does not provide a full blown registry and stuff.
> >
> > thanx
> > Rolf
> >
>
>
> --
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to