cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gkossakow...@apache.org
Subject svn commit: r639688 - /cocoon/trunk/core/cocoon-webapp/src/test/java/org/apache/cocoon/it/sitemap/ErrorHandlingTest.java
Date Fri, 21 Mar 2008 16:00:55 GMT
Author: gkossakowski
Date: Fri Mar 21 09:00:51 2008
New Revision: 639688

URL: http://svn.apache.org/viewvc?rev=639688&view=rev
Log:
Enabled again a test that was failing due to bug in pooling mechanism. It passes now just
fine.

Modified:
    cocoon/trunk/core/cocoon-webapp/src/test/java/org/apache/cocoon/it/sitemap/ErrorHandlingTest.java

Modified: cocoon/trunk/core/cocoon-webapp/src/test/java/org/apache/cocoon/it/sitemap/ErrorHandlingTest.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-webapp/src/test/java/org/apache/cocoon/it/sitemap/ErrorHandlingTest.java?rev=639688&r1=639687&r2=639688&view=diff
==============================================================================
--- cocoon/trunk/core/cocoon-webapp/src/test/java/org/apache/cocoon/it/sitemap/ErrorHandlingTest.java
(original)
+++ cocoon/trunk/core/cocoon-webapp/src/test/java/org/apache/cocoon/it/sitemap/ErrorHandlingTest.java
Fri Mar 21 09:00:51 2008
@@ -60,12 +60,12 @@
     /*
      * Doesn't work. See https://issues.apache.org/jira/browse/COCOON-2179
      */
-//    public void testExceptionGenerator() throws Exception {
-//        for(int i = 0; i < 5; i++) {
-//            this.loadResponse("/cocoon-it/error-handling/another-custom-error");
-//            int statusCode = this.response.getStatusCode();
-//            assertTrue(statusCode == 506);
-//        }
-//    }
+    public void testExceptionGenerator() throws Exception {
+        for(int i = 0; i < 5; i++) {
+            this.loadResponse("/cocoon-it/error-handling/another-custom-error");
+            int statusCode = this.response.getStatusCode();
+            assertTrue(statusCode == 506);
+        }
+    }
 
 }



Mime
View raw message