Package org.ajax4jsf.tests

Examples of org.ajax4jsf.tests.MockDataModel


  /* (non-Javadoc)
   * @see org.ajax4jsf.ajax.repeat.UIDataAdaptor#createDataModel()
   */
  protected ExtendedDataModel createDataModel() {
    // TODO Auto-generated method stub
    return new MockDataModel();
  }
View Full Code Here


     * @see org.ajax4jsf.ajax.repeat.UIDataAdaptor#createDataModel()
     */
    protected ExtendedDataModel createDataModel() {

        // TODO Auto-generated method stub
        return new MockDataModel();
    }
View Full Code Here

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

        MockDataModel mockDataModel0 = new MockDataModel();

        adaptor.setExtendedDataModel(mockDataModel0);
        data.setRowIndex(1);

        MockDataModel mockDataModel1 = new MockDataModel();

        adaptor.setExtendedDataModel(mockDataModel1);
        data.setRowIndex(0);
        assertSame(mockDataModel0, adaptor.getExtendedDataModel());
        data.setRowIndex(1);
View Full Code Here

        data.setRowIndex(1);
        assertSame(mockDataModel1, adaptor.getExtendedDataModel());
    }

    public void testSetDataModel() {
        MockDataModel mockDataModel1 = new MockDataModel();

        adaptor.setExtendedDataModel(mockDataModel1);
        assertSame(mockDataModel1, adaptor.getExtendedDataModel());
    }
View Full Code Here

TOP

Related Classes of org.ajax4jsf.tests.MockDataModel

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.