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