426427428429430431432433434435436
mockRenderKit.verify(); mockRenderer.verify(); mockConverter.verify(); mockValidator.verify(); mockListener.verify(); setCurrentContext(null); }
456457458459460461462463464465466
root.getChildren().add(component); component.getChildren().add(child); root.processValidators(context); mock.verify(); } /** * Tests the update-model-values lifecycle phase. */
505506507508509510511512513514515
doTestUpdateModelValues(facesContext, root, component); setCurrentContext(null); mockRenderer.verify(); mockBinding.verify(); } @SuppressWarnings("unchecked") protected void doTestUpdateModelValues(
531532533534535536537538539540541
if (component.getParent() == null) root.getChildren().add(component); component.getChildren().add(child); root.processUpdates(context); mock.verify(); } /** * Tests the invoke-application lifecycle phase. */
579580581582583584585586587588589
event.queue(); component.getChildren().add(child); root.processApplication(context); mock.verify(); } /** * Tests the render-response lifecycle phase. *
656657658659660661662663664665666
{ TestFacesContext.setCurrentInstance(current); } mockRenderer.verify(); mockChild.verify(); } protected void doTestValidateFailure( UIViewRoot root) {
680681682683684685686687688689690
setCurrentContext(facesContext); root.processValidators(facesContext); mockRenderer.verify(); setCurrentContext(null); } /**
164165166167168169170171172173174
} renderer.decode(facesContext, table); mockRenderKit.verify(); } private static class TestTable extends CoreTable {
9899100101102103104105106107108
} finally { setFacesContext(null); } mock.verify(); } public void testAppropriateFormatsArePicked() { // check if appropriate formtas based on the types are chosen.
142143144145146147148149150151152
} finally { setFacesContext(null); } mock.verify(); } } public void testStateHolderSaveRestore() {