Fixed compilation problem since we dropped registerTypeHierarchyAdapter method
This commit is contained in:
parent
db3f19e881
commit
d87eed510b
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user