summaryrefslogtreecommitdiff
path: root/tests/scanner/Regress-1.0-expected.gir
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2011-05-13 20:40:17 -0400
committerDavid Zeuthen <davidz@redhat.com>2011-05-13 20:40:17 -0400
commit36d4260baa5e6b03c14b8abdcffedf9b940bedb3 (patch)
tree69f0c9c3fee5910012a1dd5c7d696c6408422dbe /tests/scanner/Regress-1.0-expected.gir
parent7bcc7ee5e57ea9d722868fa4340217ab7584cde0 (diff)
downloadgobject-introspection-36d4260baa5e6b03c14b8abdcffedf9b940bedb3.tar.gz
Add more coverage for recently added (skip) regress additions
Whilst doing the gjs patch, it turned out this was needed in order to do a robust test suite - we really want to cover all bases here. Signed-off-by: David Zeuthen <davidz@redhat.com>
Diffstat (limited to 'tests/scanner/Regress-1.0-expected.gir')
-rw-r--r--tests/scanner/Regress-1.0-expected.gir144
1 files changed, 143 insertions, 1 deletions
diff --git a/tests/scanner/Regress-1.0-expected.gir b/tests/scanner/Regress-1.0-expected.gir
index 4d915b89..40bdf4e0 100644
--- a/tests/scanner/Regress-1.0-expected.gir
+++ b/tests/scanner/Regress-1.0-expected.gir
@@ -534,10 +534,108 @@ case.</doc>
</parameter>
</parameters>
</method>
+ <method name="skip_inout_param"
+ c:identifier="regress_test_obj_skip_inout_param"
+ throws="1">
+ <doc xml:whitespace="preserve">Check that the out value is skipped</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the call succeeds, %FALSE if @error is set.</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="a" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Parameter.</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="out_b"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">Return value.</doc>
+ <type name="gint" c:type="gint*"/>
+ </parameter>
+ <parameter name="c" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Other parameter.</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ <parameter name="inout_d"
+ direction="inout"
+ caller-allocates="0"
+ transfer-ownership="full"
+ skip="1">
+ <doc xml:whitespace="preserve">Will be incremented.</doc>
+ <type name="gint" c:type="gint*"/>
+ </parameter>
+ <parameter name="out_sum"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">Return value.</doc>
+ <type name="gint" c:type="gint*"/>
+ </parameter>
+ <parameter name="num1" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Number.</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="num2" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Number.</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="skip_out_param"
+ c:identifier="regress_test_obj_skip_out_param"
+ throws="1">
+ <doc xml:whitespace="preserve">Check that the out value is skipped</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">%TRUE if the call succeeds, %FALSE if @error is set.</doc>
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <parameter name="a" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Parameter.</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="out_b"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full"
+ skip="1">
+ <doc xml:whitespace="preserve">Return value.</doc>
+ <type name="gint" c:type="gint*"/>
+ </parameter>
+ <parameter name="c" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Other parameter.</doc>
+ <type name="gdouble" c:type="gdouble"/>
+ </parameter>
+ <parameter name="inout_d"
+ direction="inout"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">Will be incremented.</doc>
+ <type name="gint" c:type="gint*"/>
+ </parameter>
+ <parameter name="out_sum"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">Return value.</doc>
+ <type name="gint" c:type="gint*"/>
+ </parameter>
+ <parameter name="num1" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Number.</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="num2" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Number.</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ </parameters>
+ </method>
<method name="skip_param"
c:identifier="regress_test_obj_skip_param"
throws="1">
- <doc xml:whitespace="preserve">Check that the return value is skipped</doc>
+ <doc xml:whitespace="preserve">Check that a parameter is skipped</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">%TRUE if the call succeeds, %FALSE if @error is set.</doc>
<type name="gboolean" c:type="gboolean"/>
@@ -558,6 +656,28 @@ case.</doc>
<doc xml:whitespace="preserve">Other parameter.</doc>
<type name="gdouble" c:type="gdouble"/>
</parameter>
+ <parameter name="inout_d"
+ direction="inout"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">Will be incremented.</doc>
+ <type name="gint" c:type="gint*"/>
+ </parameter>
+ <parameter name="out_sum"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">Return value.</doc>
+ <type name="gint" c:type="gint*"/>
+ </parameter>
+ <parameter name="num1" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Number.</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="num2" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Number.</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
</parameters>
</method>
<method name="skip_return_val"
@@ -584,6 +704,28 @@ case.</doc>
<doc xml:whitespace="preserve">Other parameter.</doc>
<type name="gdouble" c:type="gdouble"/>
</parameter>
+ <parameter name="inout_d"
+ direction="inout"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">Will be incremented.</doc>
+ <type name="gint" c:type="gint*"/>
+ </parameter>
+ <parameter name="out_sum"
+ direction="out"
+ caller-allocates="0"
+ transfer-ownership="full">
+ <doc xml:whitespace="preserve">Return value.</doc>
+ <type name="gint" c:type="gint*"/>
+ </parameter>
+ <parameter name="num1" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Number.</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
+ <parameter name="num2" transfer-ownership="none">
+ <doc xml:whitespace="preserve">Number.</doc>
+ <type name="gint" c:type="gint"/>
+ </parameter>
</parameters>
</method>
<method name="torture_signature_0"