aboutsummaryrefslogtreecommitdiffstats
path: root/tests/samplebinding/typesystem_sample.xml
diff options
context:
space:
mode:
authorrenatofilho <renato.filho@openbossa.org>2010-10-15 13:36:08 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:07:21 -0300
commitb4d648d09c293816a6f15ffdc2bdc7b0ec0792fb (patch)
treee0abf184f9669801845a75872c0dd2441e5f238e /tests/samplebinding/typesystem_sample.xml
parentc8892e123c0f4512e7ecd78b85d499b02b31e1e4 (diff)
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 84396c060..82684fe88 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)"/>