summaryrefslogtreecommitdiff
path: root/tests/scanner/Regress-1.0-Gjs-expected
diff options
context:
space:
mode:
authorMartin Pitt <martinpitt@gnome.org>2013-02-27 12:14:16 +0100
committerMartin Pitt <martinpitt@gnome.org>2013-02-27 14:49:12 +0100
commit2af5386d6cc1deba21f03c398c6368a9de6ed4ba (patch)
treeb4a3125e059de2473c7dbdeeb3589798050a350c /tests/scanner/Regress-1.0-Gjs-expected
parentde6946c8a4ced56f7a24078b0d1aeacdb77e7f14 (diff)
downloadgobject-introspection-2af5386d6cc1deba21f03c398c6368a9de6ed4ba.tar.gz
Add test case for signal with a C array and length argument
By-product of https://bugzilla.gnome.org/show_bug.cgi?id=662241.
Diffstat (limited to 'tests/scanner/Regress-1.0-Gjs-expected')
-rw-r--r--tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-array-len-prop.page39
1 files changed, 39 insertions, 0 deletions
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-array-len-prop.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-array-len-prop.page
new file mode 100644
index 00000000..c359b137
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-array-len-prop.page
@@ -0,0 +1,39 @@
+<?xml version="1.0"?>
+<page id="Regress.TestObj-sig-with-array-len-prop"
+ type="topic"
+ style="signal"
+ 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="signal" type="guide"/>
+ <title type="link" role="topic">sig-with-array-len-prop</title>
+
+ </info>
+ <title>Regress.TestObj::sig-with-array-len-prop</title>
+
+<synopsis><code mime="text/x-python">
+function callback(test_obj, arr:[Number], ):void;
+</code></synopsis>
+
+
+ <p>This test signal similar to GSettings::change-event</p>
+
+
+
+
+<terms>
+<item>
+<title><code>test_obj</code></title>
+<p>instance of <link xref="Regress.TestObj"/> that is emitting the signal</p>
+</item>
+<item>
+<title><code>arr</code></title>
+<p>numbers, or <code>null</code></p>
+</item>
+</terms>
+
+
+
+</page>