Package org.zanata.webtrans.client.events

Examples of org.zanata.webtrans.client.events.RefreshProjectStatsEvent


            }
            eventBus.fireEvent(new DocumentStatsUpdatedEvent(
                    updatedDoc.getId(), currentStats));
        }

        eventBus.fireEvent(new RefreshProjectStatsEvent(Lists
                .newArrayList(nodes.values())));
    }
View Full Code Here


        presenter.setStatesForTest(projectStats, selectedDocumentStats, null,
                null);
        presenter.showView(MainView.Documents);

        RefreshProjectStatsEvent event = new RefreshProjectStatsEvent(buildSampleDocumentArray());
        presenter.onProjectStatsUpdated(event);

        assertThat("project stats should contain stats in the event",
                projectStats.getStats().size(), is(2));
View Full Code Here

TOP

Related Classes of org.zanata.webtrans.client.events.RefreshProjectStatsEvent

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.