Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 24465 invoked from network); 26 Jul 2003 14:36:03 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 26 Jul 2003 14:36:03 -0000 Received: (qmail 22510 invoked by uid 97); 26 Jul 2003 14:38:36 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@nagoya.betaversion.org Received: (qmail 22503 invoked from network); 26 Jul 2003 14:38:36 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 26 Jul 2003 14:38:36 -0000 Received: (qmail 24197 invoked by uid 500); 26 Jul 2003 14:36:00 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 24186 invoked by uid 500); 26 Jul 2003 14:36:00 -0000 Received: (qmail 24183 invoked from network); 26 Jul 2003 14:36:00 -0000 Received: from icarus.apache.org (208.185.179.13) by daedalus.apache.org with SMTP; 26 Jul 2003 14:36:00 -0000 Received: (qmail 87156 invoked by uid 1529); 26 Jul 2003 14:36:00 -0000 Date: 26 Jul 2003 14:36:00 -0000 Message-ID: <20030726143600.87155.qmail@icarus.apache.org> From: scolebourne@apache.org To: jakarta-commons-cvs@apache.org Subject: cvs commit: jakarta-commons/lang/src/test/org/apache/commons/lang/exception NestableDelegateTestCase.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N scolebourne 2003/07/26 07:36:00 Modified: lang/src/test/org/apache/commons/lang/exception NestableDelegateTestCase.java Log: Comment out unreliable test based on stack trace Revision Changes Path 1.6 +4 -3 jakarta-commons/lang/src/test/org/apache/commons/lang/exception/NestableDelegateTestCase.java Index: NestableDelegateTestCase.java =================================================================== RCS file: /home/cvs/jakarta-commons/lang/src/test/org/apache/commons/lang/exception/NestableDelegateTestCase.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- NestableDelegateTestCase.java 21 May 2003 23:49:14 -0000 1.5 +++ NestableDelegateTestCase.java 26 Jul 2003 14:36:00 -0000 1.6 @@ -573,8 +573,9 @@ int actCount = countLines(stack1); assertTrue("topDown: "+topDown+", trimStackFrames: "+trimStackFrames+" startsWith", stack1.startsWith(startsWith)); - assertEquals("topDown: "+topDown+", trimStackFrames: "+trimStackFrames+" lineCount", - expCount, actCount); + // test is unreliable, as count varies depending on JUnit version/where main method is +// assertEquals("topDown: "+topDown+", trimStackFrames: "+trimStackFrames+" lineCount", +// expCount, actCount); } private int countLines(String s) { if (s == null) return 0; --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org