summaryrefslogtreecommitdiff
path: root/tests/scanner/Regress-1.0-Python-expected
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2015-09-03 10:30:44 -0400
committerColin Walters <walters@verbum.org>2015-09-03 10:46:21 -0400
commit175942eb307e552e17d3f55174fb508ff42f880d (patch)
treeda6836ab05cbe6ffc7bca2efb68fdde0458322d5 /tests/scanner/Regress-1.0-Python-expected
parentdfef7066a09748d9fa53b4de3e8dccbd2c324ed3 (diff)
downloadgobject-introspection-175942eb307e552e17d3f55174fb508ff42f880d.tar.gz
regress: Add a test for (nullable)
Related to: https://bugzilla.gnome.org/719966
Diffstat (limited to 'tests/scanner/Regress-1.0-Python-expected')
-rw-r--r--tests/scanner/Regress-1.0-Python-expected/Regress.func_obj_nullable_in.page37
1 files changed, 37 insertions, 0 deletions
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.func_obj_nullable_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.func_obj_nullable_in.page
new file mode 100644
index 00000000..e60459c4
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.func_obj_nullable_in.page
@@ -0,0 +1,37 @@
+<?xml version="1.0"?>
+<page id="Regress.func_obj_nullable_in"
+ 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>none</api:type>
+ </api:returns>
+ <api:name>regress_func_obj_nullable_in</api:name>
+ <api:arg>
+ <api:type>Regress.TestObj</api:type>
+ <api:name>obj</api:name>
+ </api:arg>
+ </api:function>
+ </info>
+ <title>Regress.func_obj_nullable_in</title>
+ <synopsis><code mime="text/x-python">
+@accepts(Regress.TestObj)
+@returns(none)
+def func_obj_nullable_in(obj):
+ # Python wrapper for regress_func_obj_nullable_in()
+ </code></synopsis>
+
+
+<terms>
+<item>
+<title><code>obj</code></title>
+ <p>A <link xref="Regress.TestObj"/></p>
+</item>
+</terms>
+
+</page>