diff options
author | Sam Spilsbury <sam@endlessm.com> | 2017-03-01 23:53:04 +0800 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2017-04-25 14:05:21 +0200 |
commit | f9d58df6efa90b9f79f25bfbea9775773c761922 (patch) | |
tree | 4c6f80f2cd71a0c9bbb71c37c764aba8ac21bd14 /tests/scanner/Regress-1.0-Python-expected | |
parent | c8dcfcccd9ca0be9742159ca92ec6adceeb81d8f (diff) | |
download | gobject-introspection-f9d58df6efa90b9f79f25bfbea9775773c761922.tar.gz |
regress: Add test for setting a NULL strv in a GValue
https://bugzilla.gnome.org/show_bug.cgi?id=775679
Diffstat (limited to 'tests/scanner/Regress-1.0-Python-expected')
-rw-r--r-- | tests/scanner/Regress-1.0-Python-expected/Regress.test_null_strv_in_gvalue.page | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_null_strv_in_gvalue.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_null_strv_in_gvalue.page new file mode 100644 index 00000000..e0828b4b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_null_strv_in_gvalue.page @@ -0,0 +1,32 @@ +<?xml version="1.0"?> +<page id="Regress.test_null_strv_in_gvalue" + 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>GObject.Value</api:type> + </api:returns> + <api:name>regress_test_null_strv_in_gvalue</api:name> + </api:function> + </info> + <title>Regress.test_null_strv_in_gvalue</title> + <synopsis><code mime="text/x-python"> +@returns(GObject.Value) +def test_null_strv_in_gvalue(): + # Python wrapper for regress_test_null_strv_in_gvalue() + </code></synopsis> + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + +</page> |