Re: The BeginXXX method is not getting called

Kazuhito SUGURI <[email protected]>
Newsgroups gmane.comp.jakarta.cactus.user
Message-ID <[email protected]>
Hi,

In article <[email protected]>,
Wed, 15 Mar 2006 10:53:40 -0500,
"Chris Allen" <[email protected]> wrote: 
mrchrisallen> You can always put a call to your method in setUp() .  Just override
mrchrisallen> that method and it is guaranteed to be called when the tests for this
mrchrisallen> class begins. You can create one that looks like this and it should
mrchrisallen> work fine:
mrchrisallen> 
mrchrisallen>         protected void setUp() throws Exception {
mrchrisallen> 		super.setUp();
mrchrisallen>                 //call your method here
mrchrisallen>                 beginXXX();
mrchrisallen> 	}

One should not do so in the Cactus world, I think.
setUp() and beginXXX() are having differnt role in test execution.

See: http://jakarta.apache.org/cactus/how_it_works.html
     http://jakarta.apache.org/cactus/how_it_works_uml.html

Regards,
----
Kazuhito SUGURI
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.