Examples of RefreshProjectStatsEvent


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

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

        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
Copyright © 2018 www.massapi.com. 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.