If you look in SignupAction.java, you can see how to programmatically
login a user. Use http://source.appfuse.org if you want to look at the
source in SVN. Either that, or the Maven reports on
http://static.appfuse.org.

Matt

On Thu, Sep 11, 2008 at 1:57 AM, Risto Virtanen <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> I'm using Struts2 and trying to create a test case which needs information
> about the currently logged user. Is there some handy way to set currently
> logged user in a action test case?
> --
> View this message in context: 
> http://www.nabble.com/AppFuse-Struts%3AUser-in-a-test-case-tp19429713s2369p19429713.html
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to