aboutsummaryrefslogtreecommitdiffstats
path: root/tests/samplebinding
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2011-01-17 14:52:44 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:13:52 -0300
commit8d9d66484195501f7f9a57d527b39964b384bfde (patch)
tree9b930218e9318d18230f1c5caa3209bae31a9034 /tests/samplebinding
parent3b22ffebad4736fafde0ff5a23bb3508be8d4b6d (diff)
Fix bug 616 - "error compiling when public and private methods differ by the const-ness"
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
Diffstat (limited to 'tests/samplebinding')
-rw-r--r--tests/samplebinding/CMakeLists.txt1
-rw-r--r--tests/samplebinding/typesystem_sample.xml13
2 files changed, 8 insertions, 6 deletions
diff --git a/tests/samplebinding/CMakeLists.txt b/tests/samplebinding/CMakeLists.txt
index 3421c0d5e..abe982aab 100644
--- a/tests/samplebinding/CMakeLists.txt
+++ b/tests/samplebinding/CMakeLists.txt
@@ -51,6 +51,7 @@ ${CMAKE_CURRENT_BINARY_DIR}/sample/objectview_wrapper.cpp
${CMAKE_CURRENT_BINARY_DIR}/sample/objtypereference_wrapper.cpp
${CMAKE_CURRENT_BINARY_DIR}/sample/oddbooluser_wrapper.cpp
${CMAKE_CURRENT_BINARY_DIR}/sample/overload_wrapper.cpp
+${CMAKE_CURRENT_BINARY_DIR}/sample/overload2_wrapper.cpp
${CMAKE_CURRENT_BINARY_DIR}/sample/pairuser_wrapper.cpp
${CMAKE_CURRENT_BINARY_DIR}/sample/pen_wrapper.cpp
${CMAKE_CURRENT_BINARY_DIR}/sample/point_wrapper.cpp
diff --git a/tests/samplebinding/typesystem_sample.xml b/tests/samplebinding/typesystem_sample.xml
index 636916057..faa940dfb 100644
--- a/tests/samplebinding/typesystem_sample.xml
+++ b/tests/samplebinding/typesystem_sample.xml
@@ -1101,7 +1101,7 @@
<value-type name="NoImplicitConversion" />
<value-type name="NonDefaultCtor" />
<value-type name="OddBoolUser" />
- <value-type name="Overload">
+ <object-type name="Overload">
<enum-type name="FunctionEnum"/>
<enum-type name="ParamEnum"/>
<modify-function signature="intOverloads(int, int, double)">
@@ -1117,7 +1117,8 @@
<define-ownership owner="c++"/>
</modify-argument>
</modify-function>
- </value-type>
+ </object-type>
+ <object-type name="Overload2" />
<object-type name="Collector" stream="yes"/>
<value-type name="IntWrapper" />
@@ -1220,11 +1221,11 @@
<object-type name="PrivateDtor" />
<object-type name="Base1"/>
- <interface-type name="Base2"/>
+ <object-type name="Base2"/>
<object-type name="Base3"/>
- <interface-type name="Base4"/>
- <interface-type name="Base5"/>
- <interface-type name="Base6"/>
+ <object-type name="Base4"/>
+ <object-type name="Base5"/>
+ <object-type name="Base6"/>
<object-type name="MDerived1"/>
<object-type name="MDerived2"/>
<object-type name="MDerived3"/>