You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by an...@apache.org on 2008/04/18 01:57:57 UTC
svn commit: r649333 - in
/cocoon/branches/BRANCH_2_1_X/src/blocks/javaflow/test/org/apache/cocoon/components/flow/java/test:
FlowTest.java InheritanceFlowTest.java
Author: anathaniel
Date: Thu Apr 17 16:57:56 2008
New Revision: 649333
URL: http://svn.apache.org/viewvc?rev=649333&view=rev
Log:
Fix compile errors
Modified:
cocoon/branches/BRANCH_2_1_X/src/blocks/javaflow/test/org/apache/cocoon/components/flow/java/test/FlowTest.java
cocoon/branches/BRANCH_2_1_X/src/blocks/javaflow/test/org/apache/cocoon/components/flow/java/test/InheritanceFlowTest.java
Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/javaflow/test/org/apache/cocoon/components/flow/java/test/FlowTest.java
URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/src/blocks/javaflow/test/org/apache/cocoon/components/flow/java/test/FlowTest.java?rev=649333&r1=649332&r2=649333&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/javaflow/test/org/apache/cocoon/components/flow/java/test/FlowTest.java (original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/javaflow/test/org/apache/cocoon/components/flow/java/test/FlowTest.java Thu Apr 17 16:57:56 2008
@@ -91,7 +91,7 @@
Method method = clazz.getMethod("run", new Class[0]);
- Continuation c = new Continuation(context);
+ Continuation c = new Continuation(method.getName(), context);
assertTrue(!c.isRestoring());
assertTrue(!c.isCapturing());
@@ -142,7 +142,7 @@
Method method = clazz.getMethod("testCatch", new Class[0]);
- Continuation c = new Continuation(context);
+ Continuation c = new Continuation(method.getName(), context);
assertTrue(!c.isRestoring());
assertTrue(!c.isCapturing());
@@ -281,7 +281,7 @@
Method method = clazz.getMethod("testAbstract", new Class[0]);
- Continuation c = new Continuation(context);
+ Continuation c = new Continuation(method.getName(), context);
assertTrue(!c.isRestoring());
assertTrue(!c.isCapturing());
@@ -307,7 +307,7 @@
Method method = clazz.getMethod("testDelegate", new Class[0]);
- Continuation c = new Continuation(context);
+ Continuation c = new Continuation(method.getName(), context);
assertTrue(!c.isRestoring());
assertTrue(!c.isCapturing());
Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/javaflow/test/org/apache/cocoon/components/flow/java/test/InheritanceFlowTest.java
URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/src/blocks/javaflow/test/org/apache/cocoon/components/flow/java/test/InheritanceFlowTest.java?rev=649333&r1=649332&r2=649333&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/javaflow/test/org/apache/cocoon/components/flow/java/test/InheritanceFlowTest.java (original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/javaflow/test/org/apache/cocoon/components/flow/java/test/InheritanceFlowTest.java Thu Apr 17 16:57:56 2008
@@ -43,7 +43,7 @@
public static void testSimpleContinuable() throws Exception {
ContinuationClassLoader cl = new ContinuationClassLoader(Thread
.currentThread().getContextClassLoader());
- Continuation continuation = new Continuation(null);
+ Continuation continuation = new Continuation("suspend", null);
continuation.registerThread();
Class clazz = cl.loadClass("org.apache.cocoon.components.flow.java.test.SimpleContinuable");
Object object = clazz.newInstance();
@@ -58,7 +58,7 @@
public static void testWrapperContinuable() throws Exception {
ContinuationClassLoader cl = new ContinuationClassLoader(Thread
.currentThread().getContextClassLoader());
- Continuation continuation = new Continuation(null);
+ Continuation continuation = new Continuation("test", null);
continuation.registerThread();
Class clazz = cl.loadClass("org.apache.cocoon.components.flow.java.test.WrapperContinuable");
Object object = clazz.newInstance();
@@ -73,7 +73,7 @@
public static void testExtendedContinuable() throws Exception {
ContinuationClassLoader cl = new ContinuationClassLoader(Thread
.currentThread().getContextClassLoader());
- Continuation continuation = new Continuation(null);
+ Continuation continuation = new Continuation("test", null);
continuation.registerThread();
Class clazz = cl.loadClass("org.apache.cocoon.components.flow.java.test.ExtendedContinuable");
Object object = clazz.newInstance();
Re: svn commit: r649333 - in /cocoon/branches/BRANCH_2_1_X/src/blocks/javaflow/test/org/apache/cocoon/components/flow/java/test:
FlowTest.java InheritanceFlowTest.java
Posted by Joerg Heinicke <jo...@gmx.de>.
On 17.04.2008 19:57, anathaniel@apache.org wrote:
> Author: anathaniel
> Date: Thu Apr 17 16:57:56 2008
> New Revision: 649333
>
> URL: http://svn.apache.org/viewvc?rev=649333&view=rev
> Log:
> Fix compile errors
>
> Modified:
> cocoon/branches/BRANCH_2_1_X/src/blocks/javaflow/test/org/apache/cocoon/components/flow/java/test/FlowTest.java
> cocoon/branches/BRANCH_2_1_X/src/blocks/javaflow/test/org/apache/cocoon/components/flow/java/test/InheritanceFlowTest.java
Sorry for the oversight and thanks for the fix.
Joerg