MCPcopy Create free account
hub / github.com/antlr/codebuff / test3

Method test3

output/java/1.4.14/STViz.java:504–513  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

mainMethod · 0.95

Calls 4

writeFileMethod · 0.95
inspectMethod · 0.95
getPropertyMethod · 0.65
getInstanceOfMethod · 0.45

Tested by

no test coverage detected