summaryrefslogtreecommitdiff
path: root/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.set_string.page
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2021-06-16 19:27:18 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2021-08-05 17:47:29 +0100
commite39804f388e98992c0c5aaaa6de1295b08d6f7db (patch)
tree232aa49d57d1ffa55589f8ce62dfee0cff2f0871 /tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.set_string.page
parent3ec400b09fb15c9f7392b77b0c3fb324ee08beed (diff)
downloadgobject-introspection-e39804f388e98992c0c5aaaa6de1295b08d6f7db.tar.gz
tests: Check new property accessors annotations
Add an accessors pair to Regress.TestObj and annotate them.
Diffstat (limited to 'tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.set_string.page')
-rw-r--r--tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.set_string.page45
1 files changed, 45 insertions, 0 deletions
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.set_string.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.set_string.page
new file mode 100644
index 00000000..b48972fb
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.set_string.page
@@ -0,0 +1,45 @@
+<?xml version="1.0"?>
+<page id="Regress.TestObj.set_string"
+ 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 xref="Regress.TestObj" group="method" type="guide"/>
+ <api:function>
+ <api:returns>
+ <api:type>none</api:type>
+ </api:returns>
+ <api:name>regress_test_obj_set_string</api:name>
+ <api:arg>
+ <api:type>Regress.TestObj</api:type>
+ <api:name>self</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>unicode</api:type>
+ <api:name>str</api:name>
+ </api:arg>
+ </api:function>
+ </info>
+ <title>Regress.TestObj.set_string</title>
+ <synopsis><code mime="text/x-python">
+@accepts(Regress.TestObj, unicode)
+@returns(none)
+def set_string(self, str):
+ # Python wrapper for regress_test_obj_set_string()
+ </code></synopsis>
+
+
+<terms>
+<item>
+<title><code>self</code></title>
+
+</item>
+<item>
+<title><code>str</code></title>
+
+</item>
+</terms>
+
+</page>