Package com.totalchange.jizz.web.shared.home

Examples of com.totalchange.jizz.web.shared.home.HomeAction


    private void load() {
        loadingHandler.modal();

        logger.finer("Sending HomeAction request");
        dispatch.execute(new HomeAction(), new AsyncCallback<HomeResult>() {
            @Override
            public void onSuccess(HomeResult result) {
                logger.fine("Got successful response to HomeAction");
                render(result);
                loadingHandler.done();
View Full Code Here


    @Test
    public void testExecuteNewInstall() throws DispatchException {
        expect(mockJizzStationDao.getPrimaryStation()).andReturn(null);

        replayAll();
        HomeResult result = homeHandler.execute(new HomeAction(), null);
        assertTrue(result.isNewInstall());
        verifyAll();
    }
View Full Code Here

       
        expect(mockJizzStationDao.getPrimaryStation()).andReturn(mockStation);
        expect(mockJizzDjServices.getCurrentDj()).andReturn(mockDj);

        replayAll();
        HomeResult result = homeHandler.execute(new HomeAction(), null);
        assertEquals(mockDj.getName(), result.getName());
       
        verifyAll();       
    }
View Full Code Here

TOP

Related Classes of com.totalchange.jizz.web.shared.home.HomeAction

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.