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 5712 invoked from network); 9 Aug 2003 20:55:39 -0000 Received: from nan-smtp-11.noos.net (HELO smtp.noos.fr) (212.198.2.82) by daedalus.apache.org with SMTP; 9 Aug 2003 20:55:39 -0000 Received: (qmail 125570736 invoked by uid 0); 9 Aug 2003 20:55:44 -0000 Received: from unknown (HELO vma) ([195.132.245.145]) (envelope-sender ) by 212.198.2.82 (qmail-ldap-1.03) with SMTP for ; 9 Aug 2003 20:55:44 -0000 From: "Vincent Massol" To: "'Cactus Users List'" Subject: RE: Error in Cactus Date: Sat, 9 Aug 2003 22:55:40 +0200 Message-ID: <000a01c35eb8$976ccff0$2602a8c0@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 Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi Vishal, It seems to me that you are using JUnit 3.7 and that you have a Test class called ShrinkReportUtilTest that extends ServletTestCase (and hence JUnit's TestCase) but that doesn't have a constructor with a String parameter. With JUnit 3.7 you must provide a constructor like: public MyTestClass(String testName) { super(testName); } This is not required with JUnit 3.8+ Hope it helps, -Vincent > -----Original Message----- > From: vishal.kelkar@accenture.com [mailto:vishal.kelkar@accenture.com] > Sent: 24 July 2003 15:34 > To: cactus-user@jakarta.apache.org > Subject: Error in Cactus > > Hi there > I am trying to create a cactus test. But while running I get exceptions > > > junit.framework.AssertionFailedError: Exception in constructor: > testGetParameterSet (java.lang.NoSuchMethodError: > junit.framework.TestCase: > method name()Ljava/lang/String; not found > at > org.apache.cactus.AbstractTestCase.(AbstractTestCase.java:116) > at > org.apache.cactus.ServletTestCase.(ServletTestCase.java:120) > at > walgreens.mwb.shrink.architecture.utils.ShrinkReportUtilTest.(Shri nk > ReportUtilTest.java:24) > at java.lang.reflect.Constructor.newInstance(Native Method) > at junit.framework.TestSuite.createTest(TestSuite.java:135) > at junit.framework.TestSuite.addTestMethod(TestSuite.java:114) > at junit.framework.TestSuite.(TestSuite.java:75) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.getTest(RemoteTes tR > unner.java:270) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTe st > Runner.java:307) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRun ne > r.java:218) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRu nn > er.java:151) > ) > at junit.framework.Assert.fail(Assert.java:47) > at junit.framework.TestSuite$1.runTest(TestSuite.java:263) > at junit.framework.TestCase.runBare(TestCase.java:127) > at junit.framework.TestResult$1.protect(TestResult.java:106) > at junit.framework.TestResult.runProtected(TestResult.java:124) > at junit.framework.TestResult.run(TestResult.java:109) > at junit.framework.TestCase.run(TestCase.java:118) > at junit.framework.TestSuite.runTest(TestSuite.java:208) > at junit.framework.TestSuite.run(TestSuite.java:203) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTe st > Runner.java:329) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRun ne > r.java:218) > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRu nn > er.java:151) > > > My configuration is > I am using cactus 1.2 under IBM WSAD 5 . > > Please help. > Thanks > Vishal Kelkar > > Accenture IDC Mumbai > Voice - +91-22-55984001 > AIM : vishalkelkar > > > This message is for the designated recipient only and may contain > privileged, proprietary, or otherwise private information. If you have > received it in error, please notify the sender immediately and delete the > original. Any other use of the email by you is prohibited. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: cactus-user-help@jakarta.apache.org