You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by ju...@apache.org on 2001/11/21 17:29:23 UTC

cvs commit: jakarta-slide/testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor TErrorsReport.java

juergen     01/11/21 08:29:23

  Modified:    testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor
                        TErrorsReport.java
  Log:
  Testcase name now starts at testsuite+File.separator+junit
  
  Revision  Changes    Path
  1.2       +5 -5      jakarta-slide/testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor/TErrorsReport.java
  
  Index: TErrorsReport.java
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor/TErrorsReport.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TErrorsReport.java	2001/11/20 14:35:31	1.1
  +++ TErrorsReport.java	2001/11/21 16:29:23	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-slide/testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor/TErrorsReport.java,v 1.1 2001/11/20 14:35:31 juergen Exp $
  - * $Revision: 1.1 $
  - * $Date: 2001/11/20 14:35:31 $
  + * $Header: /home/cvs/jakarta-slide/testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor/TErrorsReport.java,v 1.2 2001/11/21 16:29:23 juergen Exp $
  + * $Revision: 1.2 $
  + * $Date: 2001/11/21 16:29:23 $
    *
    * ====================================================================
    *
  @@ -161,8 +161,8 @@
                   }
                   if( error ) {
                       String l = tc.getChild("fileName").getText();
  -                    int i = l.indexOf("testsuite");
  -                    l = l.substring(i).trim();
  +                    int i = l.indexOf("testsuite"+File.separator+"junit");
  +                    l = l.substring( i ).trim();
                       out.println("Testcase: "+l);
                       out.println(cause);
                   }
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>