Fixed compilation problem since we dropped registerTypeHierarchyAdapter method

This commit is contained in:
Inderjeet Singh 2010-11-24 23:14:30 +00:00
parent db3f19e881
commit d87eed510b

View File

@ -125,7 +125,7 @@ public class EnumTest extends TestCase {
public void disabled_testEnumSubclassWithRegisteredTypeAdapter() {
gson = new GsonBuilder()
.registerTypeHierarchyAdapter(Roshambo.class, new MyEnumTypeAdapter())
// .registerTypeHierarchyAdapter(Roshambo.class, new MyEnumTypeAdapter())
.create();
assertRoshambo();
}