1 52 53 package freemarker.testcase; 54 55 import junit.framework.TestResult; 56 import freemarker.template.SimpleScalar; 57 58 63 public class TestNoParse extends AbstractTestCase { 64 65 66 public TestNoParse( String aTestname ) { 67 super( aTestname ); 68 } 69 70 73 public void setUp() { 74 setUpFiles( "test-noparse.html" ); 75 root.put("message", new SimpleScalar("Hello, world!")); 76 } 77 78 80 public static void main( String [] argc ) throws Exception { 81 AbstractTestCase cTest = new TestNoParse( "test-noparse.html" ); 82 TestResult cResult = new TestResult(); 83 84 cTest.run( cResult ); 85 } 86 } 87 | Popular Tags |