You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by vm...@apache.org on 2003/12/06 18:58:25 UTC

cvs commit: jakarta-cactus/framework/src/java/share/org/apache/cactus/internal/client WebClientTestCaseDelegate.java

vmassol     2003/12/06 09:58:25

  Modified:    framework/src/java/share/org/apache/cactus/internal/client
                        WebClientTestCaseDelegate.java
  Log:
  Tighten API
  
  Revision  Changes    Path
  1.6       +4 -3      jakarta-cactus/framework/src/java/share/org/apache/cactus/internal/client/WebClientTestCaseDelegate.java
  
  Index: WebClientTestCaseDelegate.java
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/framework/src/java/share/org/apache/cactus/internal/client/WebClientTestCaseDelegate.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- WebClientTestCaseDelegate.java	6 Dec 2003 17:33:42 -0000	1.5
  +++ WebClientTestCaseDelegate.java	6 Dec 2003 17:58:25 -0000	1.6
  @@ -113,7 +113,7 @@
        * @exception Throwable any error that occurred when calling the test method
        *            for the current test case.
        */
  -    protected void runGenericTest(DefaultHttpClient theHttpClient)
  +    private void runGenericTest(DefaultHttpClient theHttpClient)
           throws Throwable
       {
           WebRequest request = new WebRequestImpl(
  @@ -135,7 +135,7 @@
               response);
   
           // Close the input stream (just in the case the user has not done it
  -        // in it's endXXX method (or if he has no endXXX method) ....
  +        // in it's endXXX method (or if it has no endXXX method) ....
           connection.getInputStream().close();
       }
   
  @@ -167,6 +167,7 @@
           {
                 directives.setWrappedTestName(getWrappedTestName());
           }
  +
           // Add the simulated URL (if one has been defined)
           if (theRequest.getURL() != null)
           {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org