summaryrefslogtreecommitdiff
path: root/src/scripts/pyolian/test_eolian.py
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2019-05-16 15:52:46 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2019-05-16 15:52:46 +0200
commitb3a870c7bb29461c6478fae9f51c211229b62d9d (patch)
tree59e42cceb4526bcd8462d5a85a1f95f223957df5 /src/scripts/pyolian/test_eolian.py
parent4ab1f2388eb303f8e5d9eae31cdcf39df683c736 (diff)
eolian: rename eolian_typedecl_enum_field_c_name_get
This is to allow for better object oriented APIs, as the `c_name` field would be inherited from Object. This also makes it more clear in C.
Diffstat (limited to '')
-rwxr-xr-xsrc/scripts/pyolian/test_eolian.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripts/pyolian/test_eolian.py b/src/scripts/pyolian/test_eolian.py
index b394c502cf..0a28cb1010 100755
--- a/src/scripts/pyolian/test_eolian.py
+++ b/src/scripts/pyolian/test_eolian.py
@@ -512,7 +512,7 @@ class TestEolianTypedecl(unittest.TestCase):
512 field = td.enum_field_get('v1_0') 512 field = td.enum_field_get('v1_0')
513 self.assertIsInstance(field, eolian.Enum_Type_Field) 513 self.assertIsInstance(field, eolian.Enum_Type_Field)
514 self.assertEqual(field.name, 'v1_0') 514 self.assertEqual(field.name, 'v1_0')
515 self.assertEqual(field.c_name, 'EFL_NET_HTTP_VERSION_V1_0') 515 self.assertEqual(field.c_constant, 'EFL_NET_HTTP_VERSION_V1_0')
516 self.assertIsInstance(field.documentation, eolian.Documentation) 516 self.assertIsInstance(field.documentation, eolian.Documentation)
517 self.assertIsInstance(field.value, eolian.Expression) 517 self.assertIsInstance(field.value, eolian.Expression)
518 518