cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dani...@apache.org
Subject svn commit: r349255 - in /cocoon/trunk/src/test/org/apache/cocoon/test/components/blocks: BlocksManagerTestCase.java BlocksManagerTestCase.xconf
Date Sun, 27 Nov 2005 16:55:17 GMT
Author: danielf
Date: Sun Nov 27 08:55:13 2005
New Revision: 349255

URL: http://svn.apache.org/viewcvs?rev=349255&view=rev
Log:
Removed a configuration file that isn't used any more and some irrelevant testcases.

Removed:
    cocoon/trunk/src/test/org/apache/cocoon/test/components/blocks/BlocksManagerTestCase.xconf
Modified:
    cocoon/trunk/src/test/org/apache/cocoon/test/components/blocks/BlocksManagerTestCase.java

Modified: cocoon/trunk/src/test/org/apache/cocoon/test/components/blocks/BlocksManagerTestCase.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/test/org/apache/cocoon/test/components/blocks/BlocksManagerTestCase.java?rev=349255&r1=349254&r2=349255&view=diff
==============================================================================
--- cocoon/trunk/src/test/org/apache/cocoon/test/components/blocks/BlocksManagerTestCase.java
(original)
+++ cocoon/trunk/src/test/org/apache/cocoon/test/components/blocks/BlocksManagerTestCase.java
Sun Nov 27 08:55:13 2005
@@ -15,11 +15,9 @@
  */
 package org.apache.cocoon.test.components.blocks;
 
-import org.apache.avalon.framework.service.ServiceException;
 import org.apache.cocoon.Constants;
 import org.apache.cocoon.components.blocks.BlocksManager;
 import org.apache.cocoon.test.SitemapTestCase;
-import org.apache.cocoon.environment.mock.MockEnvironment;
 
 public class BlocksManagerTestCase extends SitemapTestCase {
     
@@ -35,28 +33,6 @@
         return Constants.WIRING;
     }
 
-    /*
-    public void testCreate() throws ServiceException {
-        BlocksManager blocks = (BlocksManager)this.lookup(BlocksManager.ROLE);
-        this.release(blocks);
-    }
-
-    public void testMount() throws Exception {
-        BlocksManager blocks = (BlocksManager)this.lookup(BlocksManager.ROLE);
-        MockEnvironment env = getEnvironment("/test1/test");
-        blocks.process(env);
-        getLogger().info("Output: " + new String(env.getOutput(), "UTF-8"));
-        this.release(blocks);
-    }
-
-    public void testBlockId() throws Exception {
-        BlocksManager blocks = (BlocksManager)this.lookup(BlocksManager.ROLE);
-        MockEnvironment env = getEnvironment("test");
-        blocks.getBlock("test1id").process(env);
-        getLogger().info("Output: " + new String(env.getOutput(), "UTF-8"));
-        this.release(blocks);
-    }
-*/
     public void testBlockSource1() throws Exception {
         pipeTest("/test1/test", "test1/test.xml");
     }



Mime
View raw message