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