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

Method test3

output/java/1.4.19/STViz.java:508–517  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

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