MCPcopy Create free account
hub / github.com/PCGen/pcgen / testNested

Method testNested

code/src/itest/pcgen/output/FreeMarkerTest.java:65–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63 }
64
65 @Test
66 public void testNested()
67 {
68 createChecks();
69 String macro = "<#macro getKeyed objlist key>" + "<#list objlist as obj>"
70 + "<#if obj.key == key><#nested obj></#if>" + "</#list>"
71 + "</#macro>";
72
73 processThroughFreeMarker(macro
74 + "<@getKeyed checks \"Willpower\" ; ck>${ck.shortname}</@getKeyed>",
75 "Will");
76 }
77
78 private void createChecks()
79 {

Callers

nothing calls this directly

Calls 2

createChecksMethod · 0.95

Tested by

no test coverage detected