1 16 17 package org.apache.cocoon.generation; 18 19 import org.apache.avalon.framework.parameters.Parameters; 20 import org.apache.cocoon.SitemapComponentTestCase; 21 22 26 public class FileGeneratorTestCase extends SitemapComponentTestCase { 27 28 public void testFileGenerator() throws Exception { 29 30 System.out.println("testFileGenerator()"); 31 32 String type = "file"; 33 String src = "resource://org/apache/cocoon/generation/FileGeneratorTestCase.source.xml"; 34 Parameters parameters = new Parameters(); 35 String result = "resource://org/apache/cocoon/generation/FileGeneratorTestCase.source.xml"; 36 37 assertEqual(load(result), generate(type, src, parameters)); 38 } 39 40 56 } 57 | Popular Tags |