Index: tools/json_schema_compiler/cpp_type_generator_test.py |
diff --git a/tools/json_schema_compiler/cpp_type_generator_test.py b/tools/json_schema_compiler/cpp_type_generator_test.py |
index d9d1082b51ea766a0035f49cc21c974c17e8cfbe..81ee04de136b0658b1cb618a7d4b130a1a0c96fe 100644 |
--- a/tools/json_schema_compiler/cpp_type_generator_test.py |
+++ b/tools/json_schema_compiler/cpp_type_generator_test.py |
@@ -62,11 +62,11 @@ class CppTypeGeneratorTest(unittest.TestCase): |
manager = CppTypeGenerator('', self.tabs, 'tabs_api') |
prop = self.tabs.functions['move'].params[0] |
self.assertEquals('TAB_IDS_ARRAY', |
- manager.GetChoiceEnumValue(prop, model.PropertyType.ARRAY)) |
+ manager.GetEnumValue(prop, model.PropertyType.ARRAY)) |
self.assertEquals('TAB_IDS_INTEGER', |
- manager.GetChoiceEnumValue(prop, model.PropertyType.INTEGER)) |
+ manager.GetEnumValue(prop, model.PropertyType.INTEGER)) |
self.assertEquals('TabIdsType', |
- manager.GetChoicesEnumType(prop)) |
+ manager.GetEnumType(prop)) |
def testGetTypeSimple(self): |
manager = CppTypeGenerator('', self.tabs, 'tabs_api') |