You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ar...@hyperreal.org on 1999/11/12 01:24:42 UTC

cvs commit: jakarta-tomcat/src/tests/share/tests/request Get.java Post.java get.properties

arun        99/11/11 16:24:36

  Modified:    src/tests/share/tests/request Tag: TOMCAT_J2EE_10F_102199
                        Get.java Post.java get.properties
  Log:
  Cosmetic changes.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.2.2.3   +3 -1      jakarta-tomcat/src/tests/share/tests/request/Get.java
  
  Index: Get.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/tests/share/tests/request/Get.java,v
  retrieving revision 1.2.2.2
  retrieving revision 1.2.2.3
  diff -u -r1.2.2.2 -r1.2.2.3
  --- Get.java	1999/10/27 00:45:02	1.2.2.2
  +++ Get.java	1999/11/12 00:24:13	1.2.2.3
  @@ -1,6 +1,6 @@
   
   /*
  - * $Id: Get.java,v 1.2.2.2 1999/10/27 00:45:02 arun Exp $
  + * $Id: Get.java,v 1.2.2.3 1999/11/12 00:24:13 arun Exp $
    */
   
   /**
  @@ -174,6 +174,8 @@
   	if( testCondition!=responseStatus) {
   	    System.out.println("Get.test: unexpected result ");
   	    System.out.println("Request: " + request );
  +        if (testCondition != true) 
  +            System.out.print("Not ");
   	    System.out.println("Expecting: " + responseKey );
   	    System.out.println("Got: " + response);
   	    
  
  
  
  1.2.2.3   +3 -1      jakarta-tomcat/src/tests/share/tests/request/Post.java
  
  Index: Post.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/tests/share/tests/request/Post.java,v
  retrieving revision 1.2.2.2
  retrieving revision 1.2.2.3
  diff -u -r1.2.2.2 -r1.2.2.3
  --- Post.java	1999/10/27 00:45:03	1.2.2.2
  +++ Post.java	1999/11/12 00:24:18	1.2.2.3
  @@ -1,6 +1,6 @@
   
   /*
  - * $Id: Post.java,v 1.2.2.2 1999/10/27 00:45:03 arun Exp $
  + * $Id: Post.java,v 1.2.2.3 1999/11/12 00:24:18 arun Exp $
    */
   
   /**
  @@ -100,6 +100,8 @@
   	
   	if( testCondition!=responseStatus) {
   	    System.out.println("POST error in " + testId );
  +        if (testCondition != true) 
  +            System.out.print("Not ");
   	    System.out.println("Expecting: " + responseKey);
   	    System.out.println("Response: " + response);
   	}
  
  
  
  1.2.2.3   +5 -1      jakarta-tomcat/src/tests/share/tests/request/get.properties
  
  Index: get.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/tests/share/tests/request/get.properties,v
  retrieving revision 1.2.2.2
  retrieving revision 1.2.2.3
  diff -u -r1.2.2.2 -r1.2.2.3
  --- get.properties	1999/10/25 22:46:45	1.2.2.2
  +++ get.properties	1999/11/12 00:24:25	1.2.2.3
  @@ -6,7 +6,7 @@
   
   Debug:false
   
  -tests:1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20
  +tests:1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21
   
   test.1.description:/request/uri/does/not/exist : 0.9 : 404
   test.1.request:GET /request/uri/does/not/exist
  @@ -108,3 +108,7 @@
   test.20.response:HTTP/1.0 404 Not Found
   test.20.magnitude:true
   
  +test.21.description:/servlet/jsp : 1.0 : 404
  +test.21.request:GET /servlet/jsp HTTP/1.0
  +test.21.response:HTTP/1.0 200 OK
  +test.21.magnitude:false
  \ No newline at end of file