Package org.richfaces.model

Examples of org.richfaces.model.DataComponentState


     */
    public void testGetComponentState() {
        createDataTree();
        data.setRowIndex(0);

        DataComponentState state0 = adaptor.getComponentState();

        assertTrue(state0 instanceof MockComponentState);
        data.setRowIndex(1);

        DataComponentState state1 = adaptor.getComponentState();

        data.setRowIndex(0);
        assertSame(state0, adaptor.getComponentState());
        data.setRowIndex(1);
        assertSame(state1, adaptor.getComponentState());
View Full Code Here


    /**
     * Test method for {@link org.ajax4jsf.component.UIDataAdaptor#createComponentState()}.
     */
    public void testCreateComponentState() {
        DataComponentState state = adaptor.createComponentState();

        assertTrue(state instanceof MockComponentState);
    }
View Full Code Here

TOP

Related Classes of org.richfaces.model.DataComponentState

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.