jakarta-watchdog-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rlu...@apache.org
Subject cvs commit: jakarta-watchdog-4.0/src/tools/org/apache/tomcat/task GTest.java
Date Fri, 04 Jan 2002 21:19:37 GMT
rlubke      02/01/04 13:19:37

  Modified:    src/tools/org/apache/tomcat/task GTest.java
  Log:
   - Added debug statements to indicate if a token match or byte match is
     being performed against the server response and goldenfiles.
  
  Revision  Changes    Path
  1.9       +6 -0      jakarta-watchdog-4.0/src/tools/org/apache/tomcat/task/GTest.java
  
  Index: GTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog-4.0/src/tools/org/apache/tomcat/task/GTest.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- GTest.java	30 Dec 2001 03:42:22 -0000	1.8
  +++ GTest.java	4 Jan 2002 21:19:37 -0000	1.9
  @@ -724,8 +724,14 @@
           boolean cmp = true;
   
           if ( exactMatch ) {
  +            if ( debug > 0 ) {
  +                System.out.println( " Performing exact match of server response and goldenfile"
);
  +            }
               cmp = compare( responseBody, expResult );
   	} else {
  +            if ( debug > 0 ) {
  +                System.out.println( " Performing token match of server response and goldenfile"
);
  +            }
               cmp = compareWeak( responseBody, expResult );
   	}
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:watchdog-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:watchdog-dev-help@jakarta.apache.org>


Mime
View raw message