208209210211212213214215216217218
"Foo.bar", null, ins, false); resources.storeRenderVariable("fred", "FRED"); resources.storeRenderVariable("barney", "BARNEY"); resources.postRenderCleanup(); try { resources.getRenderVariable("fred"); unreachable();
219220221222223224225226227228229
elementResources, "Foo.bar", null, ins, false); resources.storeRenderVariable("fred", "FRED"); resources.storeRenderVariable("barney", "BARNEY"); resources.postRenderCleanup(); try { resources.getRenderVariable("fred"); unreachable();
198199200201202203204205206207208
null, ins); resources.storeRenderVariable("fred", "FRED"); resources.storeRenderVariable("barney", "BARNEY"); resources.postRenderCleanup(); try { resources.getRenderVariable("fred"); unreachable();
197198199200201202203204205206207
96979899100101102103104105106
// Still cached ... assertSame(access.get(component, "invariantObject"), value); component.postRenderCleanup(); // Still cached ... assertSame(access.get(component, "invariantObject"), value);
140141142143144145146147148149150
// Still cached ... assertEquals(access.get(component, "invariantPrimitive"), value); component.postRenderCleanup(); // Still cached ... assertEquals(access.get(component, "invariantPrimitive"), value);
217218219220221222223224225226227
replay(); access.set(component, "object", "new-value"); assertEquals(access.get(component, "object"), "new-value"); component.postRenderCleanup(); assertEquals(access.get(component, "object"), "new-default"); verify(); }
279280281282283284285286287288289
train_readParameter(resources, "object", String.class, "fourth"); train_isRendering(resources, false); replay(); component.postRenderCleanup(); assertEquals(access.get(component, "object"), "fourth"); verify(); }
333334335336337338339340341342343