juergen 2003/07/16 05:20:08
Modified:
testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor
TProcessors.java
Log:
The wildcard * can now be used in all response bodies (propFind did not work before).
Revision Changes Path
1.60 +7 -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.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- TProcessors.java 15 Jul 2003 07:49:13 -0000 1.59
+++ TProcessors.java 16 Jul 2003 12:19:50 -0000 1.60
@@ -1572,6 +1572,9 @@
private ResponseBodyAssert assertFactory(HttpMethod m, Element
expectedResponseElement, List expectedResponseCodes) throws Exception {
+ // check for the wildcard
+ if (expectedResponseAsString(expectedResponseElement).equals("*")) return
null;
+
ResponseBodyAssert result = null;
if(m instanceof PropFindMethod){
result = new PropfindAssert((XMLResponseMethodBase) m,
expectedResponseAsDOM(expectedResponseElement), xdavConfiguration, xmlresult,
expectedResponseCodes);
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]