cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reinh...@apache.org
Subject svn commit: r368126 [3/3] - in /cocoon/whiteboard/deployer: ./ .settings/ src/ src/main/ src/main/castor/ src/main/java/ src/main/java/org/ src/main/java/org/apache/ src/main/java/org/apache/cocoon/ src/main/java/org/apache/cocoon/deployer/ src/main/ja...
Date Wed, 11 Jan 2006 20:46:55 GMT
Added: cocoon/whiteboard/deployer/src/test/java/org/apache/cocoon/deployer/block/BlockFactoryTest.java
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/java/org/apache/cocoon/deployer/block/BlockFactoryTest.java?rev=368126&view=auto
==============================================================================
--- cocoon/whiteboard/deployer/src/test/java/org/apache/cocoon/deployer/block/BlockFactoryTest.java (added)
+++ cocoon/whiteboard/deployer/src/test/java/org/apache/cocoon/deployer/block/BlockFactoryTest.java Wed Jan 11 12:46:00 2006
@@ -0,0 +1,84 @@
+/*
+ * Copyright 2005 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.deployer.block;
+
+import java.io.File;
+
+import org.apache.cocoon.deployer.AbstractDeployerTestCase;
+
+public class BlockFactoryTest extends AbstractDeployerTestCase {
+	
+	private static final String VALID_BLOCK_01_JAR = "validBlock-01/valid-block-1.0.jar";
+	private static final String VALID_DEPLOY_01 = "validDeploy-01/deploy.xml";
+
+	/**
+	 * Test if the passed block is a file and not a directory
+	 */
+	public void testBlockIsFile() throws Exception {
+		File blockAsFile;
+		
+		// valid deployment descriptor
+		org.apache.cocoon.deployer.generated.deploy.x10.Block blockDeployDesc = 
+			this.getDeploy(VALID_DEPLOY_01).getBlock(0);
+		
+		
+		// valid block
+		blockAsFile = this.getMockArtefact(VALID_BLOCK_01_JAR);
+		BlockFactory.createBinaryBlock(blockAsFile, blockDeployDesc);
+		
+		// block exists
+		try {
+			blockAsFile = this.getMockArtefact("validBlock-01/valid-block-1.0.ja__");
+			BlockFactory.createBinaryBlock(blockAsFile, blockDeployDesc);
+			fail("block must exist");
+		} catch(IllegalArgumentException iae) {
+			// expected
+		}
+		
+		// block not null
+		try {
+			BlockFactory.createBinaryBlock(null, null);
+			fail("null block argument mustn't be allowed");
+		} catch(IllegalArgumentException iae) {
+			// expected
+		}	
+		
+		// deploydesc not null
+		blockAsFile = this.getMockArtefact(VALID_BLOCK_01_JAR);		
+		try {
+			BlockFactory.createBinaryBlock(blockAsFile, null);
+			fail("a block descriptor MUST be provided");
+		} catch(IllegalArgumentException iae) {
+			// excpected
+		}
+		
+	}
+	
+	public void testBlockCreation() throws Exception {
+		File blockAsFile = this.getMockArtefact(VALID_BLOCK_01_JAR);
+		BinaryBlock block = BlockFactory.createBinaryBlock(blockAsFile, this.getDeploy(VALID_DEPLOY_01).getBlock(0));
+		assertNotNull(block);
+		assertNotNull(block.getBlockDescriptor());
+		Object o = block.getBlockDescriptor();
+		org.apache.cocoon.deployer.generated.block.x10.Block b = (org.apache.cocoon.deployer.generated.block.x10.Block) o;
+		assertEquals(b.getId(), "http://cocoon.apache.org/blocks/anyblock/1.0");
+
+		assertNotNull(block.getInputStream());
+		assertEquals( Block.BLOCK_NS_10, block.getNamespace());
+		assertEquals("http://cocoon.apache.org/blocks/anyblock/1.0", block.getId());
+	}
+
+}

Propchange: cocoon/whiteboard/deployer/src/test/java/org/apache/cocoon/deployer/block/BlockFactoryTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/whiteboard/deployer/src/test/java/org/apache/cocoon/deployer/logger/ConsoleLogger.java
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/java/org/apache/cocoon/deployer/logger/ConsoleLogger.java?rev=368126&view=auto
==============================================================================
--- cocoon/whiteboard/deployer/src/test/java/org/apache/cocoon/deployer/logger/ConsoleLogger.java (added)
+++ cocoon/whiteboard/deployer/src/test/java/org/apache/cocoon/deployer/logger/ConsoleLogger.java Wed Jan 11 12:46:00 2006
@@ -0,0 +1,35 @@
+/*
+ * Copyright 2006 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.deployer.logger;
+
+/**
+ * A very simple logger that prints out all messages to the console using some prefixes.
+ */
+public class ConsoleLogger implements Logger {
+
+	public void verbose(String msg) {
+		System.out.println("[DEBUG] " + msg);
+	}
+
+	public void info(String msg) {
+		System.out.println("[INFO] " + msg);
+	}
+
+	public void error(String msg) {
+		System.err.println("[ERROR] " + msg);
+	}
+
+}

Propchange: cocoon/whiteboard/deployer/src/test/java/org/apache/cocoon/deployer/logger/ConsoleLogger.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/whiteboard/deployer/src/test/mocks/lib-01/lib-01.jar
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/mocks/lib-01/lib-01.jar?rev=368126&view=auto
==============================================================================
Binary file - no diff available.

Propchange: cocoon/whiteboard/deployer/src/test/mocks/lib-01/lib-01.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: cocoon/whiteboard/deployer/src/test/mocks/lib-01/root/content.txt
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/mocks/lib-01/root/content.txt?rev=368126&view=auto
==============================================================================
--- cocoon/whiteboard/deployer/src/test/mocks/lib-01/root/content.txt (added)
+++ cocoon/whiteboard/deployer/src/test/mocks/lib-01/root/content.txt Wed Jan 11 12:46:00 2006
@@ -0,0 +1,17 @@
+/*
+ * Copyright 2005 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.
+ */
+ 
+ just some content ...
\ No newline at end of file

Propchange: cocoon/whiteboard/deployer/src/test/mocks/lib-01/root/content.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/whiteboard/deployer/src/test/mocks/lib-02/lib-02.jar
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/mocks/lib-02/lib-02.jar?rev=368126&view=auto
==============================================================================
Binary file - no diff available.

Propchange: cocoon/whiteboard/deployer/src/test/mocks/lib-02/lib-02.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: cocoon/whiteboard/deployer/src/test/mocks/lib-02/root/content.txt
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/mocks/lib-02/root/content.txt?rev=368126&view=auto
==============================================================================
--- cocoon/whiteboard/deployer/src/test/mocks/lib-02/root/content.txt (added)
+++ cocoon/whiteboard/deployer/src/test/mocks/lib-02/root/content.txt Wed Jan 11 12:46:00 2006
@@ -0,0 +1,17 @@
+/*
+ * Copyright 2005 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.
+ */
+ 
+ just some content ...
\ No newline at end of file

Propchange: cocoon/whiteboard/deployer/src/test/mocks/lib-02/root/content.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/whiteboard/deployer/src/test/mocks/validBlock-01/blockRoot/META-INF/block.xml
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/mocks/validBlock-01/blockRoot/META-INF/block.xml?rev=368126&view=auto
==============================================================================
--- cocoon/whiteboard/deployer/src/test/mocks/validBlock-01/blockRoot/META-INF/block.xml (added)
+++ cocoon/whiteboard/deployer/src/test/mocks/validBlock-01/blockRoot/META-INF/block.xml Wed Jan 11 12:46:00 2006
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  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. 
+-->
+<block xmlns="http://apache.org/cocoon/blocks/cob/1.0"
+       id="http://cocoon.apache.org/blocks/anyblock/1.0">
+  <name>anyblock</name>
+  <description href="http://cocoon.apache.org/blocks/anyblock/1.0">
+    A test block
+  </description>
+  <state href="http://cocoon.apache.org/blocks/anyblock/1.0/state.html" 
+         community="committed" 
+         interfaces="unstable" 
+         implementation="stable"/>
+  <license href="http://www.apache.org/licenses/">Apache License 2.0</license>
+  <author href="http://cocoon.apache.org">Apache Cocoon community</author>
+  <sitemap src="block-sitemap.xmap"/>
+  
+</block>
\ No newline at end of file

Propchange: cocoon/whiteboard/deployer/src/test/mocks/validBlock-01/blockRoot/META-INF/block.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/whiteboard/deployer/src/test/mocks/validBlock-01/blockRoot/cocoon-app/block-sitemap.xmap
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/mocks/validBlock-01/blockRoot/cocoon-app/block-sitemap.xmap?rev=368126&view=auto
==============================================================================
--- cocoon/whiteboard/deployer/src/test/mocks/validBlock-01/blockRoot/cocoon-app/block-sitemap.xmap (added)
+++ cocoon/whiteboard/deployer/src/test/mocks/validBlock-01/blockRoot/cocoon-app/block-sitemap.xmap Wed Jan 11 12:46:00 2006
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2005 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.
+-->
+<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+  <map:pipelines>
+    <map:pipeline>
+      <map:match pattern="test">
+        <map:generate src="test.xml"/>
+        <map:serialize/>
+      </map:match>
+    </map:pipeline>
+  </map:pipelines>
+</map:sitemap>

Propchange: cocoon/whiteboard/deployer/src/test/mocks/validBlock-01/blockRoot/cocoon-app/block-sitemap.xmap
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/whiteboard/deployer/src/test/mocks/validBlock-01/blockRoot/cocoon-app/test.xml
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/mocks/validBlock-01/blockRoot/cocoon-app/test.xml?rev=368126&view=auto
==============================================================================
--- cocoon/whiteboard/deployer/src/test/mocks/validBlock-01/blockRoot/cocoon-app/test.xml (added)
+++ cocoon/whiteboard/deployer/src/test/mocks/validBlock-01/blockRoot/cocoon-app/test.xml Wed Jan 11 12:46:00 2006
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2005 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.
+-->
+<test/>
\ No newline at end of file

Propchange: cocoon/whiteboard/deployer/src/test/mocks/validBlock-01/blockRoot/cocoon-app/test.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/whiteboard/deployer/src/test/mocks/validBlock-01/valid-block-1.0.jar
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/mocks/validBlock-01/valid-block-1.0.jar?rev=368126&view=auto
==============================================================================
Binary file - no diff available.

Propchange: cocoon/whiteboard/deployer/src/test/mocks/validBlock-01/valid-block-1.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: cocoon/whiteboard/deployer/src/test/mocks/validBlock-02/blockRoot/META-INF/block.xml
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/mocks/validBlock-02/blockRoot/META-INF/block.xml?rev=368126&view=auto
==============================================================================
--- cocoon/whiteboard/deployer/src/test/mocks/validBlock-02/blockRoot/META-INF/block.xml (added)
+++ cocoon/whiteboard/deployer/src/test/mocks/validBlock-02/blockRoot/META-INF/block.xml Wed Jan 11 12:46:00 2006
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2005 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. 
+-->
+<block xmlns="http://apache.org/cocoon/blocks/cob/1.0"
+       id="http://cocoon.apache.org/blocks/anyblock-01/1.0">
+  <name>anyblock02</name>
+  <description href="http://cocoon.apache.org/blocks/anyblock/1.0">
+    A test block
+  </description>
+  <state href="http://cocoon.apache.org/blocks/anyblock/1.0/state.html" 
+         community="committed" 
+         interfaces="unstable" 
+         implementation="stable"/>
+  <license href="http://www.apache.org/licenses/">Apache License 2.0</license>
+  <author href="http://cocoon.apache.org">Apache Cocoon community</author>
+  <sitemap src="block-sitemap.xmap"/>
+  <properties>
+    <property name="prop1">
+      <default>defaultValue1</default>
+      <description>Property 1</description>
+    </property>
+    <property name="prop2">
+      <default>defaultValue2</default>
+      <description>Property2</description>
+    </property>
+  </properties>
+</block>
\ No newline at end of file

Added: cocoon/whiteboard/deployer/src/test/mocks/validBlock-02/blockRoot/cocoon-app/block-sitemap.xmap
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/mocks/validBlock-02/blockRoot/cocoon-app/block-sitemap.xmap?rev=368126&view=auto
==============================================================================
--- cocoon/whiteboard/deployer/src/test/mocks/validBlock-02/blockRoot/cocoon-app/block-sitemap.xmap (added)
+++ cocoon/whiteboard/deployer/src/test/mocks/validBlock-02/blockRoot/cocoon-app/block-sitemap.xmap Wed Jan 11 12:46:00 2006
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2005 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.
+-->
+<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+  <map:pipelines>
+    <map:pipeline>
+      <map:match pattern="test">
+        <map:generate src="test.xml"/>
+        <map:serialize/>
+      </map:match>
+    </map:pipeline>
+  </map:pipelines>
+</map:sitemap>

Propchange: cocoon/whiteboard/deployer/src/test/mocks/validBlock-02/blockRoot/cocoon-app/block-sitemap.xmap
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/whiteboard/deployer/src/test/mocks/validBlock-02/blockRoot/cocoon-app/test02.xml
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/mocks/validBlock-02/blockRoot/cocoon-app/test02.xml?rev=368126&view=auto
==============================================================================
--- cocoon/whiteboard/deployer/src/test/mocks/validBlock-02/blockRoot/cocoon-app/test02.xml (added)
+++ cocoon/whiteboard/deployer/src/test/mocks/validBlock-02/blockRoot/cocoon-app/test02.xml Wed Jan 11 12:46:00 2006
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2005 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.
+-->
+<test/>
\ No newline at end of file

Propchange: cocoon/whiteboard/deployer/src/test/mocks/validBlock-02/blockRoot/cocoon-app/test02.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/whiteboard/deployer/src/test/mocks/validBlock-02/valid-block-1.0.jar
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/mocks/validBlock-02/valid-block-1.0.jar?rev=368126&view=auto
==============================================================================
Binary file - no diff available.

Propchange: cocoon/whiteboard/deployer/src/test/mocks/validBlock-02/valid-block-1.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: cocoon/whiteboard/deployer/src/test/mocks/validBlock-03/blockRoot/META-INF/block.xml
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/mocks/validBlock-03/blockRoot/META-INF/block.xml?rev=368126&view=auto
==============================================================================
--- cocoon/whiteboard/deployer/src/test/mocks/validBlock-03/blockRoot/META-INF/block.xml (added)
+++ cocoon/whiteboard/deployer/src/test/mocks/validBlock-03/blockRoot/META-INF/block.xml Wed Jan 11 12:46:00 2006
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2005 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. 
+-->
+<block xmlns="http://apache.org/cocoon/blocks/cob/1.0"
+       id="http://cocoon.apache.org/blocks/anyblock-03/1.0">
+  <name>anyblock02</name>
+  <description href="http://cocoon.apache.org/blocks/anyblock/1.0">
+    A test block
+  </description>
+  <state href="http://cocoon.apache.org/blocks/anyblock/1.0/state.html" 
+         community="committed" 
+         interfaces="unstable" 
+         implementation="stable"/>
+  <license href="http://www.apache.org/licenses/">Apache License 2.0</license>
+  <author href="http://cocoon.apache.org">Apache Cocoon community</author>
+  <sitemap src="block-sitemap.xmap"/>
+  <properties>
+    <property name="prop1">
+      <default>defaultValue1</default>
+      <description>Property 1</description>
+    </property>
+  </properties>
+  <requirements>
+    <requires interface="db-interface01" name="db"/>
+  </requirements>
+</block>
\ No newline at end of file

Added: cocoon/whiteboard/deployer/src/test/mocks/validBlock-03/blockRoot/cocoon-app/block-sitemap.xmap
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/mocks/validBlock-03/blockRoot/cocoon-app/block-sitemap.xmap?rev=368126&view=auto
==============================================================================
--- cocoon/whiteboard/deployer/src/test/mocks/validBlock-03/blockRoot/cocoon-app/block-sitemap.xmap (added)
+++ cocoon/whiteboard/deployer/src/test/mocks/validBlock-03/blockRoot/cocoon-app/block-sitemap.xmap Wed Jan 11 12:46:00 2006
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2005 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.
+-->
+<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+  <map:pipelines>
+    <map:pipeline>
+      <map:match pattern="test">
+        <map:generate src="test.xml"/>
+        <map:serialize/>
+      </map:match>
+    </map:pipeline>
+  </map:pipelines>
+</map:sitemap>

Propchange: cocoon/whiteboard/deployer/src/test/mocks/validBlock-03/blockRoot/cocoon-app/block-sitemap.xmap
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/whiteboard/deployer/src/test/mocks/validBlock-03/blockRoot/cocoon-app/test03.xml
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/mocks/validBlock-03/blockRoot/cocoon-app/test03.xml?rev=368126&view=auto
==============================================================================
--- cocoon/whiteboard/deployer/src/test/mocks/validBlock-03/blockRoot/cocoon-app/test03.xml (added)
+++ cocoon/whiteboard/deployer/src/test/mocks/validBlock-03/blockRoot/cocoon-app/test03.xml Wed Jan 11 12:46:00 2006
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2005 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.
+-->
+<test/>
\ No newline at end of file

Propchange: cocoon/whiteboard/deployer/src/test/mocks/validBlock-03/blockRoot/cocoon-app/test03.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/whiteboard/deployer/src/test/mocks/validBlock-03/valid-block-1.0.jar
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/mocks/validBlock-03/valid-block-1.0.jar?rev=368126&view=auto
==============================================================================
Binary file - no diff available.

Propchange: cocoon/whiteboard/deployer/src/test/mocks/validBlock-03/valid-block-1.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: cocoon/whiteboard/deployer/src/test/mocks/validBlock-04/blockRoot/META-INF/block.xml
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/mocks/validBlock-04/blockRoot/META-INF/block.xml?rev=368126&view=auto
==============================================================================
--- cocoon/whiteboard/deployer/src/test/mocks/validBlock-04/blockRoot/META-INF/block.xml (added)
+++ cocoon/whiteboard/deployer/src/test/mocks/validBlock-04/blockRoot/META-INF/block.xml Wed Jan 11 12:46:00 2006
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2006 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. 
+-->
+<block xmlns="http://apache.org/cocoon/blocks/cob/1.0"
+  id="anyblock:anyblock-04:1.0">
+  <name>anyblock-07</name>
+  <description href="http://cocoon.apache.org/blocks/anyblock/1.0">
+    A test block for unit tests.
+  </description>
+  <state href="http://cocoon.apache.org/blocks/anyblock/1.0/state.html" 
+         community="committed" 
+         interfaces="unstable" 
+         implementation="stable"/>
+  <license href="http://www.apache.org/licenses/">Apache License 2.0</license>
+  <author href="http://cocoon.apache.org">Apache Cocoon community</author>
+  <sitemap src="block-sitemap.xmap"/>
+  
+  <implements>
+    <interface id="db-interface01"/>
+  </implements>
+  
+  <requirements>
+    <requires interface="interface-01" name="b01" default="anyblock:anyblock-05:1.0"/>
+    <requires interface="interface-02" name="b02" default="anyblock:anyblock-06:1.0"/>
+  </requirements>
+  
+</block>
\ No newline at end of file

Added: cocoon/whiteboard/deployer/src/test/mocks/validBlock-04/blockRoot/cocoon-app/block-sitemap.xmap
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/mocks/validBlock-04/blockRoot/cocoon-app/block-sitemap.xmap?rev=368126&view=auto
==============================================================================
--- cocoon/whiteboard/deployer/src/test/mocks/validBlock-04/blockRoot/cocoon-app/block-sitemap.xmap (added)
+++ cocoon/whiteboard/deployer/src/test/mocks/validBlock-04/blockRoot/cocoon-app/block-sitemap.xmap Wed Jan 11 12:46:00 2006
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2005 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.
+-->
+<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+  <map:pipelines>
+    <map:pipeline>
+      <map:match pattern="test">
+        <map:generate src="test.xml"/>
+        <map:serialize/>
+      </map:match>
+    </map:pipeline>
+  </map:pipelines>
+</map:sitemap>

Propchange: cocoon/whiteboard/deployer/src/test/mocks/validBlock-04/blockRoot/cocoon-app/block-sitemap.xmap
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/whiteboard/deployer/src/test/mocks/validBlock-04/blockRoot/cocoon-app/test04.xml
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/mocks/validBlock-04/blockRoot/cocoon-app/test04.xml?rev=368126&view=auto
==============================================================================
--- cocoon/whiteboard/deployer/src/test/mocks/validBlock-04/blockRoot/cocoon-app/test04.xml (added)
+++ cocoon/whiteboard/deployer/src/test/mocks/validBlock-04/blockRoot/cocoon-app/test04.xml Wed Jan 11 12:46:00 2006
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2005 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.
+-->
+<test/>
\ No newline at end of file

Propchange: cocoon/whiteboard/deployer/src/test/mocks/validBlock-04/blockRoot/cocoon-app/test04.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/whiteboard/deployer/src/test/mocks/validBlock-04/valid-block-1.0.jar
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/mocks/validBlock-04/valid-block-1.0.jar?rev=368126&view=auto
==============================================================================
Binary file - no diff available.

Propchange: cocoon/whiteboard/deployer/src/test/mocks/validBlock-04/valid-block-1.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: cocoon/whiteboard/deployer/src/test/mocks/validBlock-05/blockRoot/META-INF/block.xml
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/mocks/validBlock-05/blockRoot/META-INF/block.xml?rev=368126&view=auto
==============================================================================
--- cocoon/whiteboard/deployer/src/test/mocks/validBlock-05/blockRoot/META-INF/block.xml (added)
+++ cocoon/whiteboard/deployer/src/test/mocks/validBlock-05/blockRoot/META-INF/block.xml Wed Jan 11 12:46:00 2006
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2005 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. 
+-->
+<block xmlns="http://apache.org/cocoon/blocks/cob/1.0"
+  id="anyblock:anyblock-05:1.0">
+  <name>db-block</name>
+  <description href="http://cocoon.apache.org/blocks/anyblock/1.0">
+    A test block for unit tests.
+  </description>
+  <state href="http://cocoon.apache.org/blocks/anyblock/1.0/state.html" 
+         community="committed" 
+         interfaces="unstable" 
+         implementation="stable"/>
+  <license href="http://www.apache.org/licenses/">Apache License 2.0</license>
+  <author href="http://cocoon.apache.org">Apache Cocoon community</author>
+  <sitemap src="block-sitemap.xmap"/>
+  
+  <implements>
+    <interface id="interface-01"/>
+  </implements>
+
+</block>
\ No newline at end of file

Added: cocoon/whiteboard/deployer/src/test/mocks/validBlock-05/blockRoot/cocoon-app/block-sitemap.xmap
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/mocks/validBlock-05/blockRoot/cocoon-app/block-sitemap.xmap?rev=368126&view=auto
==============================================================================
--- cocoon/whiteboard/deployer/src/test/mocks/validBlock-05/blockRoot/cocoon-app/block-sitemap.xmap (added)
+++ cocoon/whiteboard/deployer/src/test/mocks/validBlock-05/blockRoot/cocoon-app/block-sitemap.xmap Wed Jan 11 12:46:00 2006
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2005 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.
+-->
+<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+  <map:pipelines>
+    <map:pipeline>
+      <map:match pattern="test">
+        <map:generate src="test.xml"/>
+        <map:serialize/>
+      </map:match>
+    </map:pipeline>
+  </map:pipelines>
+</map:sitemap>

Propchange: cocoon/whiteboard/deployer/src/test/mocks/validBlock-05/blockRoot/cocoon-app/block-sitemap.xmap
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/whiteboard/deployer/src/test/mocks/validBlock-05/blockRoot/cocoon-app/test04.xml
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/mocks/validBlock-05/blockRoot/cocoon-app/test04.xml?rev=368126&view=auto
==============================================================================
--- cocoon/whiteboard/deployer/src/test/mocks/validBlock-05/blockRoot/cocoon-app/test04.xml (added)
+++ cocoon/whiteboard/deployer/src/test/mocks/validBlock-05/blockRoot/cocoon-app/test04.xml Wed Jan 11 12:46:00 2006
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2005 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.
+-->
+<test/>
\ No newline at end of file

Propchange: cocoon/whiteboard/deployer/src/test/mocks/validBlock-05/blockRoot/cocoon-app/test04.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/whiteboard/deployer/src/test/mocks/validBlock-05/valid-block-1.0.jar
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/mocks/validBlock-05/valid-block-1.0.jar?rev=368126&view=auto
==============================================================================
Binary file - no diff available.

Propchange: cocoon/whiteboard/deployer/src/test/mocks/validBlock-05/valid-block-1.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: cocoon/whiteboard/deployer/src/test/mocks/validBlock-06/blockRoot/META-INF/block.xml
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/mocks/validBlock-06/blockRoot/META-INF/block.xml?rev=368126&view=auto
==============================================================================
--- cocoon/whiteboard/deployer/src/test/mocks/validBlock-06/blockRoot/META-INF/block.xml (added)
+++ cocoon/whiteboard/deployer/src/test/mocks/validBlock-06/blockRoot/META-INF/block.xml Wed Jan 11 12:46:00 2006
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2006 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. 
+-->
+<block xmlns="http://apache.org/cocoon/blocks/cob/1.0"
+  id="anyblock:anyblock-06:1.0">
+  <name>anyblock-06</name>
+  <description href="http://cocoon.apache.org/blocks/anyblock/1.0">
+    A test block for unit tests.
+  </description>
+  <state href="http://cocoon.apache.org/blocks/anyblock/1.0/state.html" 
+         community="committed" 
+         interfaces="unstable" 
+         implementation="stable"/>
+  <license href="http://www.apache.org/licenses/">Apache License 2.0</license>
+  <author href="http://cocoon.apache.org">Apache Cocoon community</author>
+  <sitemap src="block-sitemap.xmap"/>
+  
+  <implements>
+    <interface id="interface-02"/>
+  </implements>
+  
+  <requirements>
+    <requires interface="interface-03" name="b01" default="anyblock:anyblock-07:1.0"/>
+  </requirements>
+
+</block>
\ No newline at end of file

Added: cocoon/whiteboard/deployer/src/test/mocks/validBlock-06/blockRoot/cocoon-app/block-sitemap.xmap
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/mocks/validBlock-06/blockRoot/cocoon-app/block-sitemap.xmap?rev=368126&view=auto
==============================================================================
--- cocoon/whiteboard/deployer/src/test/mocks/validBlock-06/blockRoot/cocoon-app/block-sitemap.xmap (added)
+++ cocoon/whiteboard/deployer/src/test/mocks/validBlock-06/blockRoot/cocoon-app/block-sitemap.xmap Wed Jan 11 12:46:00 2006
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2005 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.
+-->
+<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+  <map:pipelines>
+    <map:pipeline>
+      <map:match pattern="test">
+        <map:generate src="test.xml"/>
+        <map:serialize/>
+      </map:match>
+    </map:pipeline>
+  </map:pipelines>
+</map:sitemap>

Propchange: cocoon/whiteboard/deployer/src/test/mocks/validBlock-06/blockRoot/cocoon-app/block-sitemap.xmap
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/whiteboard/deployer/src/test/mocks/validBlock-06/blockRoot/cocoon-app/test04.xml
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/mocks/validBlock-06/blockRoot/cocoon-app/test04.xml?rev=368126&view=auto
==============================================================================
--- cocoon/whiteboard/deployer/src/test/mocks/validBlock-06/blockRoot/cocoon-app/test04.xml (added)
+++ cocoon/whiteboard/deployer/src/test/mocks/validBlock-06/blockRoot/cocoon-app/test04.xml Wed Jan 11 12:46:00 2006
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2005 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.
+-->
+<test/>
\ No newline at end of file

Propchange: cocoon/whiteboard/deployer/src/test/mocks/validBlock-06/blockRoot/cocoon-app/test04.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/whiteboard/deployer/src/test/mocks/validBlock-06/valid-block-1.0.jar
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/mocks/validBlock-06/valid-block-1.0.jar?rev=368126&view=auto
==============================================================================
Binary file - no diff available.

Propchange: cocoon/whiteboard/deployer/src/test/mocks/validBlock-06/valid-block-1.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: cocoon/whiteboard/deployer/src/test/mocks/validBlock-07/blockRoot/META-INF/block.xml
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/mocks/validBlock-07/blockRoot/META-INF/block.xml?rev=368126&view=auto
==============================================================================
--- cocoon/whiteboard/deployer/src/test/mocks/validBlock-07/blockRoot/META-INF/block.xml (added)
+++ cocoon/whiteboard/deployer/src/test/mocks/validBlock-07/blockRoot/META-INF/block.xml Wed Jan 11 12:46:00 2006
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2006 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. 
+-->
+<block xmlns="http://apache.org/cocoon/blocks/cob/1.0"
+  id="anyblock:anyblock-07:1.0">
+  <name>anyblock-07</name>
+  <description href="http://cocoon.apache.org/blocks/anyblock/1.0">
+    A test block for unit tests.
+  </description>
+  <state href="http://cocoon.apache.org/blocks/anyblock/1.0/state.html" 
+         community="committed" 
+         interfaces="unstable" 
+         implementation="stable"/>
+  <license href="http://www.apache.org/licenses/">Apache License 2.0</license>
+  <author href="http://cocoon.apache.org">Apache Cocoon community</author>
+  <sitemap src="block-sitemap.xmap"/>
+  
+  <implements>
+    <interface id="interface-03"/>
+  </implements>
+
+</block>
\ No newline at end of file

Added: cocoon/whiteboard/deployer/src/test/mocks/validBlock-07/blockRoot/cocoon-app/block-sitemap.xmap
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/mocks/validBlock-07/blockRoot/cocoon-app/block-sitemap.xmap?rev=368126&view=auto
==============================================================================
--- cocoon/whiteboard/deployer/src/test/mocks/validBlock-07/blockRoot/cocoon-app/block-sitemap.xmap (added)
+++ cocoon/whiteboard/deployer/src/test/mocks/validBlock-07/blockRoot/cocoon-app/block-sitemap.xmap Wed Jan 11 12:46:00 2006
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2005 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.
+-->
+<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+  <map:pipelines>
+    <map:pipeline>
+      <map:match pattern="test">
+        <map:generate src="test.xml"/>
+        <map:serialize/>
+      </map:match>
+    </map:pipeline>
+  </map:pipelines>
+</map:sitemap>

Propchange: cocoon/whiteboard/deployer/src/test/mocks/validBlock-07/blockRoot/cocoon-app/block-sitemap.xmap
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/whiteboard/deployer/src/test/mocks/validBlock-07/blockRoot/cocoon-app/test04.xml
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/mocks/validBlock-07/blockRoot/cocoon-app/test04.xml?rev=368126&view=auto
==============================================================================
--- cocoon/whiteboard/deployer/src/test/mocks/validBlock-07/blockRoot/cocoon-app/test04.xml (added)
+++ cocoon/whiteboard/deployer/src/test/mocks/validBlock-07/blockRoot/cocoon-app/test04.xml Wed Jan 11 12:46:00 2006
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2005 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.
+-->
+<test/>
\ No newline at end of file

Propchange: cocoon/whiteboard/deployer/src/test/mocks/validBlock-07/blockRoot/cocoon-app/test04.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/whiteboard/deployer/src/test/mocks/validBlock-07/valid-block-1.0.jar
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/mocks/validBlock-07/valid-block-1.0.jar?rev=368126&view=auto
==============================================================================
Binary file - no diff available.

Propchange: cocoon/whiteboard/deployer/src/test/mocks/validBlock-07/valid-block-1.0.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: cocoon/whiteboard/deployer/src/test/mocks/validDeploy-01/deploy.xml
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/mocks/validDeploy-01/deploy.xml?rev=368126&view=auto
==============================================================================
--- cocoon/whiteboard/deployer/src/test/mocks/validDeploy-01/deploy.xml (added)
+++ cocoon/whiteboard/deployer/src/test/mocks/validDeploy-01/deploy.xml Wed Jan 11 12:46:00 2006
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2005 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. 
+-->
+<deploy xmlns="http://apache.org/cocoon/blocks/deploy/1.0">
+  
+  <cocoon version="2.2" url="file://d:/my-cocoon/" exclusive="true"/>
+  
+  <block id="webmail" location="00001" urn="webmail:webmail:3.27">
+    <connections>
+      <connection name="external-skin" block="external-skin"/>
+      <connection name="internal-skin" block="internal-skin"/>
+    </connections>
+    <properties>
+      <property name="user" value="guest"/>
+      <property name="password" value="sj3u493"/>
+    </properties>    
+  </block>
+  
+  <block id="external-skin" location="000002"  urn="mycompany:external-skin:3.1"/>
+  <block id="internal-skin" location="000003" urn="mycompany:internal-skin:17.2"/>      
+  
+</deploy>
\ No newline at end of file

Propchange: cocoon/whiteboard/deployer/src/test/mocks/validDeploy-01/deploy.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/whiteboard/deployer/src/test/mocks/validDeploy-02/deploy.xml
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/mocks/validDeploy-02/deploy.xml?rev=368126&view=auto
==============================================================================
--- cocoon/whiteboard/deployer/src/test/mocks/validDeploy-02/deploy.xml (added)
+++ cocoon/whiteboard/deployer/src/test/mocks/validDeploy-02/deploy.xml Wed Jan 11 12:46:00 2006
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2005 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. 
+-->
+<deploy xmlns="http://apache.org/cocoon/blocks/deploy/1.0">
+  
+  <cocoon version="2.2" url="./validDeploy-02/myServer" exclusive="true"/>
+  
+  <block id="block02" urn="validBlock-02:validBlock-02:1.0">
+    <properties>
+      <property name="prop2" value="new-value"/>
+    </properties>
+  </block>
+  
+</deploy>
\ No newline at end of file

Added: cocoon/whiteboard/deployer/src/test/mocks/validDeploy-03/deploy.xml
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/mocks/validDeploy-03/deploy.xml?rev=368126&view=auto
==============================================================================
--- cocoon/whiteboard/deployer/src/test/mocks/validDeploy-03/deploy.xml (added)
+++ cocoon/whiteboard/deployer/src/test/mocks/validDeploy-03/deploy.xml Wed Jan 11 12:46:00 2006
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2005 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. 
+-->
+<deploy xmlns="http://apache.org/cocoon/blocks/deploy/1.0">
+  
+  <cocoon version="2.2" url="./validDeploy-02/myServer" exclusive="true"/>
+  
+  <block id="block02" urn="validBlock-02:validBlock-02:1.0">
+    <connections>
+      <connection name="db" block="db"/>
+    </connections>
+    <properties>
+      <property name="prop1" value="new-value"/>
+    </properties>
+  </block>
+  
+  <block id="db" urn="validBlock-03:validBlock-03:1.0"/>  
+
+  <block id="db1" urn="validBlock-03:validBlock-03:1.0"/>  
+  
+</deploy>
\ No newline at end of file

Added: cocoon/whiteboard/deployer/src/test/mocks/validDeploy-04/deploy.xml
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/mocks/validDeploy-04/deploy.xml?rev=368126&view=auto
==============================================================================
--- cocoon/whiteboard/deployer/src/test/mocks/validDeploy-04/deploy.xml (added)
+++ cocoon/whiteboard/deployer/src/test/mocks/validDeploy-04/deploy.xml Wed Jan 11 12:46:00 2006
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2006 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. 
+-->
+<deploy xmlns="http://apache.org/cocoon/blocks/deploy/1.0">
+  
+  <cocoon version="2.2" url="target/test/validDeploy-02/myServer" exclusive="true"/>
+  
+  <block id="b03" urn="mvn:validBlock-03:validBlock-03:1.0">
+    <connections>
+      <connection name="db" block="db"/>
+    </connections>
+    <properties>
+      <property name="prop1" value="new-value"/>
+    </properties>
+  </block>
+  
+  <block id="db" urn="mvn:validBlock-04:validBlock-04:1.0"/>  
+  
+</deploy>
\ No newline at end of file

Added: cocoon/whiteboard/deployer/src/test/mocks/validDeploy-05/deploy.xml
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/mocks/validDeploy-05/deploy.xml?rev=368126&view=auto
==============================================================================
--- cocoon/whiteboard/deployer/src/test/mocks/validDeploy-05/deploy.xml (added)
+++ cocoon/whiteboard/deployer/src/test/mocks/validDeploy-05/deploy.xml Wed Jan 11 12:46:00 2006
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2006 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. 
+-->
+<deploy xmlns="http://apache.org/cocoon/blocks/deploy/1.0">
+  
+  <cocoon version="2.2" url="target/test/validDeploy-02/myServer" exclusive="true"/>
+  
+  <block id="db" urn="mvn:validBlock-04:validBlock-04:1.0"/>  
+  
+</deploy>
\ No newline at end of file

Propchange: cocoon/whiteboard/deployer/src/test/mocks/validDeploy-05/deploy.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: cocoon/whiteboard/deployer/src/test/mocks/validVanillaCocoon22App/appRoot.zip
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/mocks/validVanillaCocoon22App/appRoot.zip?rev=368126&view=auto
==============================================================================
Binary file - no diff available.

Propchange: cocoon/whiteboard/deployer/src/test/mocks/validVanillaCocoon22App/appRoot.zip
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: cocoon/whiteboard/deployer/src/test/mocks/validVanillaCocoon22App/appRoot/WEB-INF/wiring.xml
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/deployer/src/test/mocks/validVanillaCocoon22App/appRoot/WEB-INF/wiring.xml?rev=368126&view=auto
==============================================================================
--- cocoon/whiteboard/deployer/src/test/mocks/validVanillaCocoon22App/appRoot/WEB-INF/wiring.xml (added)
+++ cocoon/whiteboard/deployer/src/test/mocks/validVanillaCocoon22App/appRoot/WEB-INF/wiring.xml Wed Jan 11 12:46:00 2006
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2005 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. 
+-->
+
+<wiring xmlns="http://apache.org/cocoon/blocks/wiring/1.0"
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+        xsi:schemaLocation="http://apache.org/cocoon/blocks/wiring/1.0 wiring-schema-1.0.xsd">
+        
+  <block id="core" location="core/"/>
+  
+</wiring>
\ No newline at end of file

Propchange: cocoon/whiteboard/deployer/src/test/mocks/validVanillaCocoon22App/appRoot/WEB-INF/wiring.xml
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message