summaryrefslogtreecommitdiffstats
path: root/tests/samplebinding/typesystem_sample.xml
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2010-05-31 10:02:21 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2010-06-01 11:14:38 -0300
commitdfdc92fbe5288064987beb097f50a73a63d2546e (patch)
tree1159f3578a5d40c5b3d212906f35a84eddd1c0e3 /tests/samplebinding/typesystem_sample.xml
parenta7ff3eba6db91b02b64fd3eb188c78c66b282c0b (diff)
downloadshiboken-dfdc92fbe5288064987beb097f50a73a63d2546e.tar.gz
shiboken-dfdc92fbe5288064987beb097f50a73a63d2546e.tar.xz
shiboken-dfdc92fbe5288064987beb097f50a73a63d2546e.zip
Adds protected enum test cases.
Diffstat (limited to 'tests/samplebinding/typesystem_sample.xml')
-rw-r--r--tests/samplebinding/typesystem_sample.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/samplebinding/typesystem_sample.xml b/tests/samplebinding/typesystem_sample.xml
index 3b0eb906..2a905f23 100644
--- a/tests/samplebinding/typesystem_sample.xml
+++ b/tests/samplebinding/typesystem_sample.xml
@@ -279,6 +279,11 @@
</modify-function>
</object-type>
+
+ // Receives and returns the same protected enum item.
+ <object-type name="ProtectedEnumClass" />
+ <enum-type name="ProtectedEnumClass::ProtectedEnum" />
+
<template name="boolptr_at_end_fix_beginning">
bool __ok__;
%PYARG_0 = %CONVERTTOPYTHON[%RETURN_TYPE](