cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reinh...@apache.org
Subject svn commit: r638788 - /cocoon/trunk/core/cocoon-webapp/src/test/java/org/apache/cocoon/it/sitemap/ErrorHandlingTest.java
Date Wed, 19 Mar 2008 11:13:52 GMT
Author: reinhard
Date: Wed Mar 19 04:13:45 2008
New Revision: 638788

URL: http://svn.apache.org/viewvc?rev=638788&view=rev
Log:
add a failing test case for COCOON-2179

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=638788&r1=638787&r2=638788&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
Wed Mar 19 04:13:45 2008
@@ -57,4 +57,15 @@
         assertTrue(this.response.getContentAsString().indexOf("Error 501 (Cocoon Integration
Tests)") > 0);
     }
 
+    /*
+     * 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);
+        }
+    }
+
 }



Mime
View raw message