Hi Romain,

In article <[EMAIL PROTECTED]>,
Wed, 03 Aug 2005 14:56:57 +0200,
Romain Thouvenin <[EMAIL PROTECTED]> wrote: 
rthouvenin> I tried this morning, but it still have the same 
NullPointerException. 
rthouvenin> It seems that the begin method is called after the setUp method 
rthouvenin> (messages printed in the begin method never appear in the console). 
I 
rthouvenin> believed it is the contrary, isn't it ?

At server-side, begin method will never be called.
The execution sequence of a test method is roughly as follows:
        client-side JVM                 server-side JVM
        --------------------------------------------------------------
        begin(WebRequest)
        beginXXX(WebRequest)
                -- send HTTP request -->
                                        XXXTestCase(String) :construct
                                        setUp()
                                        testXXX()
                                        tearDown()
                <-- return HTTP response --
        endXXX(WebResponse)
        end(WebResponse)
# Though it's not accurate...

Is this helps you?
----
Kazuhito SUGURI

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

Reply via email to