juergen     02/01/08 06:36:38

  Modified:    
testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor
                        TProcessors.java
  Log:
  Add SEARCH method
  
  Revision  Changes    Path
  1.3       +9 -4      
jakarta-slide/testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor/TProcessors.java
  
  Index: TProcessors.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor/TProcessors.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TProcessors.java  2 Jan 2002 15:20:07 -0000       1.2
  +++ TProcessors.java  8 Jan 2002 14:36:38 -0000       1.3
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-slide/testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor/TProcessors.java,v
 1.2 2002/01/02 15:20:07 juergen Exp $
  - * $Revision: 1.2 $
  - * $Date: 2002/01/02 15:20:07 $
  + * $Header: 
/home/cvs/jakarta-slide/testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor/TProcessors.java,v
 1.3 2002/01/08 14:36:38 juergen Exp $
  + * $Revision: 1.3 $
  + * $Date: 2002/01/08 14:36:38 $
    *
    * ====================================================================
    *
  @@ -83,7 +83,7 @@
    * Main class to performe a test case and check and report the results
    *
    * @author Software AG
  - * @version $Revision: 1.2 $
  + * @version $Revision: 1.3 $
    */
   public class TProcessors {
       
  @@ -1129,6 +1129,8 @@
           ResponseBodyAssert result = null;
           if(m instanceof PropFindMethod){
               result = new PropfindAssert((XMLResponseMethodBase) m, 
expectedResponseAsDOM(expectedResponse), xdavConfiguration, xmlresult);
  +        } else if (m instanceof SearchMethod){
  +            result = new SearchAssert((XMLResponseMethodBase) m, 
expectedResponseAsDOM(expectedResponse), xdavConfiguration, xmlresult);
           } else if (m instanceof LockMethod){
               result = new LockAssert((XMLResponseMethodBase) m, 
expectedResponseAsDOM(expectedResponse), xdavConfiguration, xmlresult);
           } else if (m instanceof PropPatchMethod){
  @@ -1197,6 +1199,9 @@
           }
           else if(methodName.equalsIgnoreCase("PROPFIND")){
               result = new PropFindMethod();
  +        }
  +        else if(methodName.equalsIgnoreCase("SEARCH")){
  +            result = new SearchMethod();
           }
           else if(methodName.equalsIgnoreCase("PROPPATCH")){
               result = new PropPatchMethod();
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to