diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-02-03 06:58:53 -0500 |
---|---|---|
committer | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-02-11 12:34:53 -0500 |
commit | 86f7acf0f139a917e460db26872b5a4306fca8d2 (patch) | |
tree | 59d48ff2b928d3f08dc2e2d4c4e0359fe4e09c72 /tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.skip_param.page | |
parent | 841a6cfefbb1954ce94c89009be736895b91699c (diff) | |
download | gobject-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-Gjs-expected/Regress.TestObj.skip_param.page')
-rw-r--r-- | tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.skip_param.page | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.skip_param.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.skip_param.page new file mode 100644 index 00000000..8b5a6a76 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.skip_param.page @@ -0,0 +1,70 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.skip_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>Boolean</api:type> + </api:returns> + <api:name>regress_test_obj_skip_param</api:name> + <api:arg> + <api:type>Number</api:type> + <api:name>a</api:name> + </api:arg> + <api:arg> + <api:type>Number</api:type> + <api:name>c</api:name> + </api:arg> + <api:arg> + <api:type>Number</api:type> + <api:name>inout_d</api:name> + </api:arg> + <api:arg> + <api:type>Number</api:type> + <api:name>num1</api:name> + </api:arg> + <api:arg> + <api:type>Number</api:type> + <api:name>num2</api:name> + </api:arg> + </api:function> + + </info> + <title>TestObj.prototype.skip_param</title> + +<synopsis><code mime="text/x-gjs"> +function skip_param(a:Number, c:Number, inout_d:Number, num1:Number, num2:Number):Boolean { + // Gjs wrapper for regress_test_obj_skip_param() +} +</code></synopsis> + + + <p>Check that a parameter is skipped</p> + + + + +<dl> +<dt><p>a :</p></dt> +<dd><p>Parameter.</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>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> |