summaryrefslogtreecommitdiffstats
path: root/tests/samplebinding/typesystem_sample.xml
diff options
context:
space:
mode:
authorrenatofilho <renato.filho@openbossa.org>2010-10-15 13:36:08 -0300
committerrenatofilho <renato.filho@openbossa.org>2010-10-15 14:22:05 -0300
commitca8b2ee1246853f88eafa05a09684369b6150341 (patch)
treec69e9e62e97fc1cdfaa0bb18def3c8ec58d6a6f7 /tests/samplebinding/typesystem_sample.xml
parentd26ecefed858fb548d57f66028f3191b5c298453 (diff)
downloadshiboken-ca8b2ee1246853f88eafa05a09684369b6150341.tar.gz
shiboken-ca8b2ee1246853f88eafa05a09684369b6150341.tar.xz
shiboken-ca8b2ee1246853f88eafa05a09684369b6150341.zip
Created unit test for unknown class holder.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'tests/samplebinding/typesystem_sample.xml')
-rw-r--r--tests/samplebinding/typesystem_sample.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/samplebinding/typesystem_sample.xml b/tests/samplebinding/typesystem_sample.xml
index 84396c06..82684fe8 100644
--- a/tests/samplebinding/typesystem_sample.xml
+++ b/tests/samplebinding/typesystem_sample.xml
@@ -22,6 +22,11 @@
<include file-name="null.h" location="global"/>
</primitive-type>
+ <primitive-type name="HANDLE">
+ <conversion-rule file="handle_conversions.h"/>
+ <include file-name="handle.h" location="local"/>
+ </primitive-type>
+
<primitive-type name="OddBool" target-lang-api-name="PyBool">
<conversion-rule file="oddbool_conversions.h"/>
<include file-name="oddbool.h" location="global"/>
@@ -1161,6 +1166,8 @@
<conversion-rule class="target" file="date_conversions.h"/>
</value-type>
+ <object-type name="HandleHolder" />
+
<rejection class="ListUser" function-name="createList()"/>
<rejection class="ListUser" function-name="callCreateList()"/>
<rejection class="ListUser" function-name="createComplexList(Complex, Complex)"/>