summaryrefslogtreecommitdiff
path: root/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.skip_out_param.page
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2013-02-03 06:58:53 -0500
committerJasper St. Pierre <jstpierre@mecheye.net>2013-02-11 12:34:53 -0500
commit86f7acf0f139a917e460db26872b5a4306fca8d2 (patch)
tree59d48ff2b928d3f08dc2e2d4c4e0359fe4e09c72 /tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.skip_out_param.page
parent841a6cfefbb1954ce94c89009be736895b91699c (diff)
downloadgobject-introspection-86f7acf0f139a917e460db26872b5a4306fca8d2.tar.gz
tests: Use Regress GIR for doctool
This makes us test a lot more functionality in the doc tool, and removes the need to have a lot of different test libraries, and different test infrastructure.
Diffstat (limited to 'tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.skip_out_param.page')
-rw-r--r--tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.skip_out_param.page89
1 files changed, 89 insertions, 0 deletions
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.skip_out_param.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.skip_out_param.page
new file mode 100644
index 00000000..b8eab28e
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.skip_out_param.page
@@ -0,0 +1,89 @@
+<?xml version="1.0"?>
+<page id="Regress.TestObj.skip_out_param"
+ type="topic"
+ style="method"
+ xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
+ <info>
+
+ <link type="guide" xref="Regress.TestObj" group="method"/>
+ <api:function>
+ <api:returns>
+ <api:type>bool</api:type>
+ </api:returns>
+ <api:name>regress_test_obj_skip_out_param</api:name>
+ <api:arg>
+ <api:type>Regress.TestObj</api:type>
+ <api:name>self</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>int</api:type>
+ <api:name>a</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>int</api:type>
+ <api:name>out_b</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>float</api:type>
+ <api:name>c</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>int</api:type>
+ <api:name>inout_d</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>int</api:type>
+ <api:name>out_sum</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>int</api:type>
+ <api:name>num1</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>int</api:type>
+ <api:name>num2</api:name>
+ </api:arg>
+ </api:function>
+
+ </info>
+ <title>TestObj.skip_out_param</title>
+
+<synopsis><code mime="text/x-python">
+@accepts(Regress.TestObj, int, int, float, int, int, int, int)
+@returns(bool)
+def skip_out_param(self, a, out_b, c, inout_d, out_sum, num1, num2):
+ # Python wrapper for regress_test_obj_skip_out_param()
+</code></synopsis>
+
+
+ <p>Check that the out value is skipped</p>
+
+
+
+
+<dl>
+<dt><p>self :</p></dt>
+<dd><p>A <link xref="Regress.TestObj"/>.</p></dd>
+<dt><p>a :</p></dt>
+<dd><p>Parameter.</p></dd>
+<dt><p>out_b :</p></dt>
+<dd><p>Return value.</p></dd>
+<dt><p>c :</p></dt>
+<dd><p>Other parameter.</p></dd>
+<dt><p>inout_d :</p></dt>
+<dd><p>Will be incremented.</p></dd>
+<dt><p>out_sum :</p></dt>
+<dd><p>Return value.</p></dd>
+<dt><p>num1 :</p></dt>
+<dd><p>Number.</p></dd>
+<dt><p>num2 :</p></dt>
+<dd><p>Number.</p></dd>
+<dt><p>Returns :</p></dt>
+<dd><p><code>True</code> if the call succeeds, <code>False</code> if @error is set.</p></dd>
+</dl>
+
+
+
+</page>