This is likely a bug, and when I get down to it (a day or two), I'll commit
a fix.

On Wed, Sep 24, 2008 at 2:49 PM, Jamie Fraser <[EMAIL PROTECTED]>wrote:

>
> Yes - just to reiterate what Jan is saying;
>
> Our controller works fine - our issue is the previously mentioned
> NullReferenceException when using *any* kind of Viewcomponent within a
> mail "template" (or mail "view" if that is a better name).
>
> The above test case highlights that this isn't working. Is it a known
> bug, and if so is there a workaround?
>
> On Wed, Sep 24, 2008 at 12:44 PM, Jan Limpens <[EMAIL PROTECTED]>
> wrote:
> >
> > The problem is, that the controller, when called in web context is
> > working correctly. What is failing, is the view (as far as I can
> > tell). And it only fails in a mail context. I have no idea how to
> > simulate this.
> >
> > On Wed, Sep 24, 2008 at 8:25 AM, Patrick Steele
> > <[EMAIL PROTECTED]> wrote:
> >>
> >> Unit testing a controller is really quite easy.  I was doing some
> >> documentation patches for MonoRail a few weeks ago and was suprised
> >> how simple the unit testing of a controller can be (I always knew I
> >> should be doing unit testing but never took the time to research it).
> >> See the docs at:
> >>
> >>
> http://www.castleproject.org/monorail/documentation/trunk/usersguide/testing.html
> >>
> >> --
> >> Patrick Steele
> >> http://weblogs.asp.net/psteele
> >>
> >> On Tue, Sep 23, 2008 at 11:20 PM, Jan Limpens <[EMAIL PROTECTED]>
> wrote:
> >>> Hi Ayende,
> >>>
> >>> my test skills are quite mediocre, I did not find out how to create a
> >>> unit test for this. (and could not inspire myself on the castle
> >>> sourcecode from where I am now)
> >>
> >> >
> >>
> >
> >
> >
> > --
> > Jan
> > ___________________
> > [EMAIL PROTECTED]
> > www.limpens.com
> > +55 (11) 3082-1087
> > +55 (11) 3097-8339
> >
> > >
> >
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to