summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2015-09-28 11:19:30 -0400
committerColin Walters <walters@verbum.org>2015-09-28 11:19:30 -0400
commitb13acd817835b57b24b11ce21551130166629cb9 (patch)
tree281b8a2dc9dc2b232fbbbd895a1872ef3550c035 /tests
parentd1086a641d6e46140b13996ff5a3bfbb90662dd5 (diff)
downloadgobject-introspection-b13acd817835b57b24b11ce21551130166629cb9.tar.gz
tests: Add expected files for previous commit
Diffstat (limited to 'tests')
-rw-r--r--tests/scanner/Regress-1.0-C-expected/Regress.get_variant.page30
-rw-r--r--tests/scanner/Regress-1.0-Gjs-expected/Regress.get_variant.page32
-rw-r--r--tests/scanner/Regress-1.0-Python-expected/Regress.get_variant.page32
3 files changed, 94 insertions, 0 deletions
diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.get_variant.page b/tests/scanner/Regress-1.0-C-expected/Regress.get_variant.page
new file mode 100644
index 00000000..239c7502
--- /dev/null
+++ b/tests/scanner/Regress-1.0-C-expected/Regress.get_variant.page
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<page id="Regress.get_variant"
+ 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 xref="index" group="function" type="guide"/>
+ <api:function>
+ <api:returns>
+ <api:type>GVariant*</api:type>
+ </api:returns>
+ <api:name>regress_get_variant</api:name>
+ </api:function>
+ </info>
+ <title>regress_get_variant</title>
+ <synopsis><code mime="text/x-csrc">
+GVariant* regress_get_variant (void);
+ </code></synopsis>
+
+
+<terms>
+<item>
+<title><code>Returns</code></title>
+ <p>A new variant</p>
+</item>
+</terms>
+
+</page>
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.get_variant.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.get_variant.page
new file mode 100644
index 00000000..47e3ff08
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.get_variant.page
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<page id="Regress.get_variant"
+ 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 xref="index" group="function" type="guide"/>
+ <api:function>
+ <api:returns>
+ <api:type>GLib.Variant</api:type>
+ </api:returns>
+ <api:name>regress_get_variant</api:name>
+ </api:function>
+ </info>
+ <title>Regress.get_variant</title>
+ <synopsis><code mime="text/x-gjs">
+function get_variant(): <link href="../GLib-2.0/GLib.Variant.html">GLib.Variant</link> {
+ // Gjs wrapper for regress_get_variant()
+}
+ </code></synopsis>
+
+
+<terms>
+<item>
+<title><code>Returns</code></title>
+ <p>A new variant</p>
+</item>
+</terms>
+
+</page>
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.get_variant.page b/tests/scanner/Regress-1.0-Python-expected/Regress.get_variant.page
new file mode 100644
index 00000000..a6e410da
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.get_variant.page
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<page id="Regress.get_variant"
+ 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 xref="index" group="function" type="guide"/>
+ <api:function>
+ <api:returns>
+ <api:type>GLib.Variant</api:type>
+ </api:returns>
+ <api:name>regress_get_variant</api:name>
+ </api:function>
+ </info>
+ <title>Regress.get_variant</title>
+ <synopsis><code mime="text/x-python">
+@returns(GLib.Variant)
+def get_variant():
+ # Python wrapper for regress_get_variant()
+ </code></synopsis>
+
+
+<terms>
+<item>
+<title><code>Returns</code></title>
+{formatter.format(node, node.retval.doc)}
+</item>
+</terms>
+
+</page>