()
| 495 | } |
| 496 | |
| 497 | public static void test3() throws IOException |
| 498 | { |
| 499 | String templates = "main() ::= <<\n"+"Foo: <{bar};format=\"lower\">\n"+">>\n"; |
| 500 | String tmpdir = System.getProperty("java.io.tmpdir"); |
| 501 | writeFile(tmpdir, "t.stg", templates); |
| 502 | STGroup group = new STGroupFile(tmpdir+"/"+"t.stg"); |
| 503 | ST st = group.getInstanceOf("main"); |
| 504 | st.inspect(); |
| 505 | } |
| 506 | |
| 507 | public static void test4() throws IOException |
| 508 | { |
no test coverage detected