Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Eng committed Oct 31, 2013
1 parent e71f5a7 commit 9e5a65e
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -574,6 +574,10 @@ public void onKeyShortcutClick() {
@Test
public void onProjectStatsUpdated() {
projectStats = new ContainerTranslationStatistics();
projectStats.addStats(new TranslationStatistics(new TransUnitCount(0,
0, 0), userWorkspace.getWorkspaceContext().getWorkspaceId().getLocaleId().getId()));
projectStats.addStats(new TranslationStatistics(new TransUnitWords(0,
0, 0), userWorkspace.getWorkspaceContext().getWorkspaceId().getLocaleId().getId()));

presenter.setStatesForTest(projectStats, selectedDocumentStats, null,
null);
Expand Down

0 comments on commit 9e5a65e

Please sign in to comment.