Hi Stefan,

To understand a cactus test lifecycle, see
http://jakarta.apache.org/cactus/how_it_works.html

beginXXX is executed on the client side and setUp on the server side.

-Vincent

> -----Original Message-----
> From: Stefan Groschupf [mailto:[EMAIL PROTECTED]
> Sent: 07 August 2003 02:26
> To: Cactus Users List
> Subject: beginXXX
> 
> Hi,
> 
> it looks like the beginXXX method is invoked before the setup method.
In
> my
> testcase I have to create some test data in my middleware container. I
> want
> to use in the beginXXX method, but my container login fails. Since I
still
> try to get an file upload running.
> 
> LoginContext loginContext =
> LoginManager.getLoginContext(ITestDatabaseEntries.CONTENT_ADMIN,
"pw");
> loginContext.login();
> Run fine in the setup and in my test method but i get login exception
> until
> I try use this line code in my beginXXX method.
> Someone has an idea how I can work around this problem?
> 
> Thanks
> Stefan
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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