You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by ju...@apache.org on 2002/01/21 19:27:43 UTC
cvs commit: jakarta-slide/testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor LockAssert.java
juergen 02/01/21 10:27:43
Modified: testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor
LockAssert.java
Log:
a 200 response code delievers a body, so check it.
Revision Changes Path
1.2 +4 -5 jakarta-slide/testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor/LockAssert.java
Index: LockAssert.java
===================================================================
RCS file: /home/cvs/jakarta-slide/testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor/LockAssert.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- LockAssert.java 20 Nov 2001 14:35:31 -0000 1.1
+++ LockAssert.java 21 Jan 2002 18:27:43 -0000 1.2
@@ -1,7 +1,7 @@
/*
- * $Header: /home/cvs/jakarta-slide/testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor/LockAssert.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/LockAssert.java,v 1.2 2002/01/21 18:27:43 juergen Exp $
+ * $Revision: 1.2 $
+ * $Date: 2002/01/21 18:27:43 $
*
* ====================================================================
*
@@ -75,7 +75,7 @@
* Perform the necessary checks for the received and expected Lock body
*
* @author Software AG
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
*/
public class LockAssert extends XMLResponseBodyAssert {
@@ -93,7 +93,6 @@
public boolean assert(){
if (method.getStatusCode() == 423 ||
- method.getStatusCode() == 200 ||
method.getStatusCode() == 412 ){
return true;
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>