Return-Path: list-help: list-unsubscribe: List-Post: List-Id: Mailing-List: contact cactus-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list cactus-user@jakarta.apache.org Received: (qmail 25213 invoked from network); 14 Jan 2004 06:59:24 -0000 Received: from unknown (HELO smtp.noos.fr) (212.198.2.116) by daedalus.apache.org with SMTP; 14 Jan 2004 06:59:24 -0000 Received: (qmail 14980 invoked by uid 0); 14 Jan 2004 06:59:34 -0000 Received: from unknown (HELO vma) ([195.132.245.195]) (envelope-sender ) by 212.198.2.116 (qmail-ldap-1.03) with SMTP for ; 14 Jan 2004 06:59:34 -0000 From: "Vincent Massol" To: "'Cactus Users List'" Subject: RE: junit question Date: Wed, 14 Jan 2004 07:59:10 +0100 Message-ID: <114101c3da6b$f3bf6b30$2502a8c0@vma> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 In-Reply-To: <2897A4A5C5F65D4393388F884DCD95C201486821@phoenix.cbm.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi Ashis, The constructor is called for each test! :-) You need to wrap your test suite in a TestSetup. Check the JUnit FAQ for more details. Thanks -Vincent > -----Original Message----- > From: Pujari, Ashis [mailto:ashis.pujari@cbm.com] > Sent: 13 January 2004 23:48 > To: Cactus Users List > Subject: RE: junit question > > > > Sorry about that - I will just use the constructor. > > -----Original Message----- > From: Pujari, Ashis > Sent: Tuesday, January 13, 2004 5:40 PM > To: cactus-user@jakarta.apache.org > Subject: junit question > > Is there any method that gets called when the TestCase class is > instantiated. > Setup and teardown are called at every test case call. I want something > like an init method. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: cactus-user-help@jakarta.apache.org