Skip to content

Commit

Permalink
Merge pull request #727 from rcpaul/test-fix
Browse files Browse the repository at this point in the history
Made PlaceManagerImplTest independent of other tests
  • Loading branch information
Olivier Lafleur committed Aug 28, 2015
2 parents efcea21 + d265fd6 commit 396753e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import org.junit.Test;
import org.junit.runner.RunWith;

import com.google.gwt.junit.GWTMockUtilities;
import com.google.gwt.user.client.Command;
import com.google.web.bindery.event.shared.EventBus;
import com.google.web.bindery.event.shared.SimpleEventBus;
Expand Down Expand Up @@ -57,6 +58,7 @@ public class PlaceManagerImplTest {
public static class Module extends JukitoModule {
@Override
protected void configureTest() {
GWTMockUtilities.disarm();
bind(DeferredCommandManager.class).in(TestSingleton.class);
bind(EventBus.class).to(SimpleEventBus.class).in(TestSingleton.class);
bind(PlaceManager.class).to(PlaceManagerTestUtil.class).in(TestSingleton.class);
Expand Down

0 comments on commit 396753e

Please sign in to comment.