aboutsummaryrefslogtreecommitdiff
path: root/tests/GenerateSipBindings/testscript.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/GenerateSipBindings/testscript.py')
-rw-r--r--tests/GenerateSipBindings/testscript.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/GenerateSipBindings/testscript.py b/tests/GenerateSipBindings/testscript.py
index 973d428c..deefb960 100644
--- a/tests/GenerateSipBindings/testscript.py
+++ b/tests/GenerateSipBindings/testscript.py
@@ -91,3 +91,10 @@ assert(r.gotProtectedSlotCalledSignal)
e.emitSignalForPublic()
assert(r.gotPublicSlotCalledSignal)
+
+assert(PyTest.CppLib.SomeNS.EnumValueOne == 1)
+assert(PyTest.CppLib.SomeNS.EnumValueTwo == 2)
+
+assert(PyTest.CppLib.SomeNS.useEnum() == 1.0)
+assert(PyTest.CppLib.SomeNS.useEnum(PyTest.CppLib.SomeNS.EnumValueOne) == 1.0)
+assert(PyTest.CppLib.SomeNS.useEnum(PyTest.CppLib.SomeNS.EnumValueTwo) == 2.0)