You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sc...@apache.org on 2003/07/26 16:36:00 UTC

cvs commit: jakarta-commons/lang/src/test/org/apache/commons/lang/exception NestableDelegateTestCase.java

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