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.test_closure.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.test_closure.page')
-rw-r--r-- | tests/scanner/Regress-1.0-Gjs-expected/Regress.test_closure.page | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_closure.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_closure.page new file mode 100644 index 00000000..23347814 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_closure.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_closure" + type="topic" + style="function" + 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="index" group="function"/> + <api:function> + <api:returns> + <api:type>Number</api:type> + </api:returns> + <api:name>regress_test_closure</api:name> + <api:arg> + <api:type>GObject.Closure</api:type> + <api:name>closure</api:name> + </api:arg> + </api:function> + + </info> + <title>test_closure</title> + +<synopsis><code mime="text/x-gjs"> +function test_closure(closure:GObject.Closure):Number { + // Gjs wrapper for regress_test_closure() +} +</code></synopsis> + + + + + + + +<dl> +<dt><p>closure :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> |