aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2011-07-21 16:49:08 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:17:04 -0300
commit68c8d2a8f047d0dc8384c701af49a6c6205917ed (patch)
tree92ce0ed0bc64ade6af63e3e3332e0f9801b9bddc /tests
parent3fb03a226e59b15c4c33dc824749ceb8b18b65e8 (diff)
Moved writeMinimalConstructorCallArguments() functionality to Generator Runner.
Updated tests' type systems to reflect the behaviour of Generator::minimalConstructor().
Diffstat (limited to 'tests')
-rw-r--r--tests/minimalbinding/typesystem_minimal.xml2
-rw-r--r--tests/samplebinding/typesystem_sample.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/minimalbinding/typesystem_minimal.xml b/tests/minimalbinding/typesystem_minimal.xml
index 7f160dda..4e80aded 100644
--- a/tests/minimalbinding/typesystem_minimal.xml
+++ b/tests/minimalbinding/typesystem_minimal.xml
@@ -3,7 +3,7 @@
<primitive-type name="bool"/>
<primitive-type name="int"/>
- <primitive-type name="MinBool" target-lang-api-name="PyBool">
+ <primitive-type name="MinBool" target-lang-api-name="PyBool" default-constructor="MinBool(false)">
<conversion-rule file="minbool_conversions.h"/>
<include file-name="minbool.h" location="global"/>
</primitive-type>
diff --git a/tests/samplebinding/typesystem_sample.xml b/tests/samplebinding/typesystem_sample.xml
index 6cd1ec7c..728e9d77 100644
--- a/tests/samplebinding/typesystem_sample.xml
+++ b/tests/samplebinding/typesystem_sample.xml
@@ -30,7 +30,7 @@
<include file-name="handle.h" location="local"/>
</primitive-type>
- <primitive-type name="OddBool" target-lang-api-name="PyBool">
+ <primitive-type name="OddBool" target-lang-api-name="PyBool" default-constructor="OddBool(false)">
<conversion-rule file="oddbool_conversions.h"/>
<include file-name="oddbool.h" location="global"/>
</primitive-type>