[BACK] Return to TestServlets.java CVS log [TXT] [DIR] Up to [XP_Developer] / xtc

Diff for /xtc/TestServlets.java between version 1.1.1.2 and 1.1.1.3

version 1.1.1.2, 1999/09/09 16:30:15 version 1.1.1.3, 1999/09/09 16:32:32
Line 96 
Line 96 
                         assert("General exceptions should not occur.",false);                          assert("General exceptions should not occur.",false);
                 }                  }
         }          }
           /**
           * Exercise the PageSaver
           * Send a request and check the response contains the expected String.
           */
           public void testSaving()
           {
   
                   try {
                           String result = "Myknowninput";
                           
                           String servletName = PageSaver.class.getName();
                           getServerResponse("http://127.0.0.1:"+PORT_STRING+"/servlet/"+servletName+"?save="+result);
                           
                           String actualResponse = getServerResponse("http://127.0.0.1:"+PORT_STRING+"/servlet/"+servletName);
                           assert(actualResponse.equals(result));
                   }
                   catch (Exception exception) {
                           exception.printStackTrace();
                           assert("General exceptions should not occur.",false);
                   }
           }
 }  }


Legend:
Removed from v.1.1.1.2  
changed lines
  Added in v.1.1.1.3
https://casino-brain.com/