()
| 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 | { |
nothing calls this directly
no test coverage detected