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

Method test3

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

Source from the content-addressed store, hash-verified

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

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