Author: cziegeler
Date: Thu Nov 4 01:19:03 2004
New Revision: 56579
Modified:
cocoon/trunk/src/blocks/javaflow/test/org/apache/cocoon/components/flow/java/test/FooException.java
cocoon/trunk/src/blocks/javaflow/test/org/apache/cocoon/components/flow/java/test/InnerContinuable.java
cocoon/trunk/src/blocks/javaflow/test/org/apache/cocoon/components/flow/java/test/JavaFlowTestCase.java
cocoon/trunk/src/blocks/javaflow/test/org/apache/cocoon/components/flow/java/test/LinkerContinuable.java
cocoon/trunk/src/blocks/javaflow/test/org/apache/cocoon/components/flow/javascript/JavaScriptFlowTestCase.java
Log:
Add licence header, make test cases compile again
Modified:
cocoon/trunk/src/blocks/javaflow/test/org/apache/cocoon/components/flow/java/test/FooException.java
==============================================================================
---
cocoon/trunk/src/blocks/javaflow/test/org/apache/cocoon/components/flow/java/test/FooException.java
(original)
+++
cocoon/trunk/src/blocks/javaflow/test/org/apache/cocoon/components/flow/java/test/FooException.java
Thu Nov 4 01:19:03 2004
@@ -13,7 +13,6 @@
* License for the specific language governing permissions and limitations
under
* the License.
*/
-
package org.apache.cocoon.components.flow.java.test;
public class FooException extends java.lang.Exception {
Modified:
cocoon/trunk/src/blocks/javaflow/test/org/apache/cocoon/components/flow/java/test/InnerContinuable.java
==============================================================================
---
cocoon/trunk/src/blocks/javaflow/test/org/apache/cocoon/components/flow/java/test/InnerContinuable.java
(original)
+++
cocoon/trunk/src/blocks/javaflow/test/org/apache/cocoon/components/flow/java/test/InnerContinuable.java
Thu Nov 4 01:19:03 2004
@@ -1,3 +1,18 @@
+/*
+ * Copyright 1999-2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.cocoon.components.flow.java.test;
import org.apache.cocoon.components.flow.java.ContinuationHelper;
Modified:
cocoon/trunk/src/blocks/javaflow/test/org/apache/cocoon/components/flow/java/test/JavaFlowTestCase.java
==============================================================================
---
cocoon/trunk/src/blocks/javaflow/test/org/apache/cocoon/components/flow/java/test/JavaFlowTestCase.java
(original)
+++
cocoon/trunk/src/blocks/javaflow/test/org/apache/cocoon/components/flow/java/test/JavaFlowTestCase.java
Thu Nov 4 01:19:03 2004
@@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.apache.cocoon.components.flow.java.test;
import java.util.HashMap;
Modified:
cocoon/trunk/src/blocks/javaflow/test/org/apache/cocoon/components/flow/java/test/LinkerContinuable.java
==============================================================================
---
cocoon/trunk/src/blocks/javaflow/test/org/apache/cocoon/components/flow/java/test/LinkerContinuable.java
(original)
+++
cocoon/trunk/src/blocks/javaflow/test/org/apache/cocoon/components/flow/java/test/LinkerContinuable.java
Thu Nov 4 01:19:03 2004
@@ -1,14 +1,23 @@
/*
- * Created on 27.06.2004
+ * Copyright 1999-2004 The Apache Software Foundation.
*
- * TODO To change the template for this generated file go to
- * Window - Preferences - Java - Code Generation - Code and Comments
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
package org.apache.cocoon.components.flow.java.test;
import org.mozilla.javascript.Context;
-import org.mozilla.javascript.IdFunction;
-import org.mozilla.javascript.IdFunctionMaster;
+//import org.mozilla.javascript.IdFunction;
+//import org.mozilla.javascript.IdFunctionMaster;
import org.mozilla.javascript.JavaScriptException;
import org.mozilla.javascript.Scriptable;
@@ -19,17 +28,17 @@
* TODO To change the template for this generated type comment go to
* Window - Preferences - Java - Code Generation - Code and Comments
*/
-public class LinkerContinuable extends IdFunction {
+public class LinkerContinuable { //extends IdFunction {
/**
* @param master
* @param name
* @param id
- */
public LinkerContinuable(IdFunctionMaster master, String name, int id) {
super(master, name, id);
// TODO Auto-generated constructor stub
}
+ */
public static void init(Context cx, Scriptable scope, boolean sealed) {
@@ -37,11 +46,11 @@
/* (non-Javadoc)
* @see org.mozilla.javascript.IdFunctionMaster#execMethod(int,
org.mozilla.javascript.IdFunction, org.mozilla.javascript.Context,
org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable,
java.lang.Object[])
- */
public Object execMethod(int methodId, IdFunction function, Context cx,
Scriptable scope, Scriptable thisObj, Object[] args) throws JavaScriptException
{
// TODO Auto-generated method stub
return null;
}
+ */
/* (non-Javadoc)
* @see org.mozilla.javascript.IdFunctionMaster#methodArity(int)
Modified:
cocoon/trunk/src/blocks/javaflow/test/org/apache/cocoon/components/flow/javascript/JavaScriptFlowTestCase.java
==============================================================================
---
cocoon/trunk/src/blocks/javaflow/test/org/apache/cocoon/components/flow/javascript/JavaScriptFlowTestCase.java
(original)
+++
cocoon/trunk/src/blocks/javaflow/test/org/apache/cocoon/components/flow/javascript/JavaScriptFlowTestCase.java
Thu Nov 4 01:19:03 2004
@@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.apache.cocoon.components.flow.javascript;
import java.util.HashMap;