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 68012 invoked by uid 99); 2 Mar 2005 07:53:16 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from smtp.persistent.co.in (HELO smtp.pspl.co.in) (202.54.11.65) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 01 Mar 2005 23:53:15 -0800 Received: from ps2416 ([10.44.60.90]) (authenticated bits=0) by smtp.pspl.co.in (8.12.9/8.12.9) with ESMTP id j22874dK021771 for ; Wed, 2 Mar 2005 13:37:04 +0530 From: "Sameer Bhokare" To: Subject: cactus-juni problem Date: Wed, 2 Mar 2005 13:23:15 +0530 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal X-Brightmail-Tracker: AAAAAQAAAAQ= X-White-List-Member: TRUE X-Virus-Checked: Checked Hello, I have whole set of tests running on server. However some of them always fail giving me AssertionFailedError. The exact error it shows me as , junit.framework.AssertionFailedError at com.teradata.crm.taputil.finder.action.FinderAddTest.endFinderAddPage(Finder AddTest.java:72) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at org.apache.cactus.internal.client.ClientTestCaseCaller.callGenericEndMethod( ClientTestCaseCaller.java:441) at org.apache.cactus.internal.client.ClientTestCaseCaller.callEndMethod_aroundB ody2(ClientTestCaseCaller.java:208) at org.apache.cactus.internal.client.ClientTestCaseCaller.callEndMethod_aroundB ody3$advice(ClientTestCaseCaller.java:188) at org.apache.cactus.internal.client.ClientTestCaseCaller.callEndMethod(ClientT estCaseCaller.java) at org.apache.cactus.internal.client.ClientTestCaseCaller.runTest(ClientTestCas eCaller.java:148) at org.apache.cactus.internal.AbstractCactusTestCase.runBareClient(AbstractCact usTestCase.java:215) at org.apache.cactus.internal.AbstractCactusTestCase.runBare(AbstractCactusTest Case.java:133) where line 72 is String text=webResponse.getText(); System.out.println("text in endFinderAddPage "+text); assertTrue(text.indexOf("Object") > 0); I understand that the tests are failing because it could not find the "Object" String in the response. However when I run this test in isolcation (means only this test and not all of them) then these tests get passed sccessfully. I dont understand how is this possible? Also one thing I noticed , when I execute my tests in isolation it properly calls my ActionClass, but when I execute these test cased along with others then my ActionClass is not called atall. Can somebody please tell me whats wrong in here? Regards Sameer