Package org.uberfire.client.workbench.widgets.common

Examples of org.uberfire.client.workbench.widgets.common.Modal


    private Boolean showAgain = null;

    private final Modal modal = getModal();

    Modal getModal() {
        return new Modal( true, true );
    }
View Full Code Here


    }


    @Test
      public void setContentDelegationTest() {
        Modal modal = splashViewUnitTestWrapper.getModal();
        IsWidget mock = mock( IsWidget.class );
        int height = 1;
        splashViewUnitTestWrapper.setContent( mock, height );

        verify( modal ).add( mock );
View Full Code Here

        verify( modal ).setBodyHeigth( height );
    }

    @Test
    public void showDelegationTest() {
        Modal modal = splashViewUnitTestWrapper.getModal();
        splashViewUnitTestWrapper.show();

        verify( modal ).show();
        verify( modal ).addHideHandler( any( HideHandler.class ) );
    }
View Full Code Here

        verify( modal ).addHideHandler( any( HideHandler.class ) );
    }

    @Test
    public void hideDelegationTest() {
        Modal modal = splashViewUnitTestWrapper.getModal();
        splashViewUnitTestWrapper.hide();

        verify( modal ).hide();
    }
View Full Code Here

TOP

Related Classes of org.uberfire.client.workbench.widgets.common.Modal

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.