Add MostToLeastDerivedPlaceTypeComparatorTest to the PlaceJreSuite
…and fix the test as needed.
Change-Id: I47ee173ec7ab3cfafa9f5be5c6c415187436a0ec
diff --git a/user/test/com/google/gwt/place/PlaceJreSuite.java b/user/test/com/google/gwt/place/PlaceJreSuite.java
index a82ba15..85f3299 100644
--- a/user/test/com/google/gwt/place/PlaceJreSuite.java
+++ b/user/test/com/google/gwt/place/PlaceJreSuite.java
@@ -15,6 +15,7 @@
*/
package com.google.gwt.place;
+import com.google.gwt.place.rebind.MostToLeastDerivedPlaceTypeComparatorTest;
import com.google.gwt.place.rebind.PlaceHistoryGeneratorContextTest;
import com.google.gwt.place.shared.PlaceChangeRequestEventTest;
import com.google.gwt.place.shared.PlaceControllerTest;
@@ -30,6 +31,7 @@
public static Test suite() {
TestSuite suite = new TestSuite("JRE Tests of the place package");
+ suite.addTestSuite(MostToLeastDerivedPlaceTypeComparatorTest.class);
suite.addTestSuite(PlaceControllerTest.class);
suite.addTestSuite(PlaceChangeRequestEventTest.class);
suite.addTestSuite(PlaceHistoryGeneratorContextTest.class);
diff --git a/user/test/com/google/gwt/place/rebind/MostToLeastDerivedPlaceTypeComparatorTest.java b/user/test/com/google/gwt/place/rebind/MostToLeastDerivedPlaceTypeComparatorTest.java
index 08c8413..6de702d 100644
--- a/user/test/com/google/gwt/place/rebind/MostToLeastDerivedPlaceTypeComparatorTest.java
+++ b/user/test/com/google/gwt/place/rebind/MostToLeastDerivedPlaceTypeComparatorTest.java
@@ -74,17 +74,17 @@
CompilationStateBuilder.buildFrom(logger, new CompilerContext(), getJavaResources());
typeOracle = state.getTypeOracle();
- place = typeOracle.getType("com.google.gwt.app.place.shared.Place");
+ place = typeOracle.getType("com.google.gwt.place.shared.Place");
assertNotNull(place);
- place1 = typeOracle.getType("com.google.gwt.app.place.shared.testplaces.Place1");
+ place1 = typeOracle.getType("com.google.gwt.place.testplaces.Place1");
assertNotNull(place1);
- place2 = typeOracle.getType("com.google.gwt.app.place.shared.testplaces.Place2");
+ place2 = typeOracle.getType("com.google.gwt.place.testplaces.Place2");
assertNotNull(place2);
- place3 = typeOracle.getType("com.google.gwt.app.place.shared.testplaces.Place3");
+ place3 = typeOracle.getType("com.google.gwt.place.testplaces.Place3");
assertNotNull(place3);
- place4 = typeOracle.getType("com.google.gwt.app.place.shared.testplaces.Place4");
+ place4 = typeOracle.getType("com.google.gwt.place.testplaces.Place4");
assertNotNull(place4);
- place5 = typeOracle.getType("com.google.gwt.app.place.shared.testplaces.Place5");
+ place5 = typeOracle.getType("com.google.gwt.place.testplaces.Place5");
assertNotNull(place5);
}