1 52 53 package freemarker.testcase; 54 55 import junit.framework.TestResult; 56 57 63 public class TestExecModel extends AbstractTestCase { 64 65 public TestExecModel( String aTestname ) { 66 super( aTestname ); 67 } 68 69 72 public void setUp() { 73 setUpFiles( "test-helloworld.html" ); 74 root.put( "exec", new freemarker.template.utility.Execute() ); 75 76 } 77 78 80 public static void main(String args[]) { 81 AbstractTestCase cTester = new TestExecModel( "test-helloworld.html" ); 82 TestResult cResults = new TestResult(); 83 cTester.run( cResults ); 84 } 85 } 86 | Popular Tags |