juergen 02/01/02 07:20:07
Modified:
testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor
TProcessors.java
Log:
first version of the delta-v prototype (testsuite part). Enable the new methods.
Revision Changes Path
1.2 +34 -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.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- TProcessors.java 20 Nov 2001 14:35:31 -0000 1.1
+++ TProcessors.java 2 Jan 2002 15:20:07 -0000 1.2
@@ -1,7 +1,7 @@
/*
- * $Header:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor/TProcessors.java,v
1.1 2001/11/20 14:35:31 juergen Exp $
- * $Revision: 1.1 $
- * $Date: 2001/11/20 14:35:31 $
+ * $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 $
*
* ====================================================================
*
@@ -83,7 +83,7 @@
* Main class to performe a test case and check and report the results
*
* @author Software AG
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
*/
public class TProcessors {
@@ -1141,6 +1141,18 @@
result = new CopyAssert ((XMLResponseMethodBase) m,
expectedResponseAsDOM(expectedResponse), xdavConfiguration, xmlresult);
} else if (m instanceof AclMethod){
result = new AclAssert ((XMLResponseMethodBase) m,
expectedResponseAsDOM(expectedResponse), xdavConfiguration, xmlresult);
+ } else if (m instanceof CheckinMethod){
+ result = new CheckinAssert ((XMLResponseMethodBase) m,
expectedResponseAsDOM(expectedResponse), xdavConfiguration, xmlresult);
+ } else if (m instanceof CheckoutMethod){
+ result = new CheckoutAssert ((XMLResponseMethodBase) m,
expectedResponseAsDOM(expectedResponse), xdavConfiguration, xmlresult);
+ } else if (m instanceof MkWorkspaceMethod){
+ result = new MkWorkspaceAssert ((XMLResponseMethodBase) m,
expectedResponseAsDOM(expectedResponse), xdavConfiguration, xmlresult);
+ } else if (m instanceof ReportMethod){
+ result = new ReportAssert ((XMLResponseMethodBase) m,
expectedResponseAsDOM(expectedResponse), xdavConfiguration, xmlresult);
+ } else if (m instanceof UncheckoutMethod){
+ result = new UncheckoutAssert ((XMLResponseMethodBase) m,
expectedResponseAsDOM(expectedResponse), xdavConfiguration, xmlresult);
+ } else if (m instanceof VersionControlMethod){
+ result = new VersionControlAssert ((XMLResponseMethodBase) m,
expectedResponseAsDOM(expectedResponse), xdavConfiguration, xmlresult);
} else if (m instanceof GetMethod){
result = new GetAssert ( m, expectedResponseAsStream(expectedResponse),
xdavConfiguration, xmlresult);
}
@@ -1200,6 +1212,24 @@
}
else if(methodName.equalsIgnoreCase("ACL")){
result = new AclMethod();
+ }
+ else if(methodName.equalsIgnoreCase("CHECKIN")){
+ result = new CheckinMethod();
+ }
+ else if(methodName.equalsIgnoreCase("CHECKOUT")){
+ result = new CheckoutMethod();
+ }
+ else if(methodName.equalsIgnoreCase("MKWORKSPACE")){
+ result = new MkWorkspaceMethod();
+ }
+ else if(methodName.equalsIgnoreCase("REPORT")){
+ result = new ReportMethod();
+ }
+ else if(methodName.equalsIgnoreCase("UNCHECKOUT")){
+ result = new UncheckoutMethod();
+ }
+ else if(methodName.equalsIgnoreCase("VERSIONCONTROL")){
+ result = new VersionControlMethod();
}
return result;
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>