summaryrefslogtreecommitdiff
path: root/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBUnion.page
diff options
context:
space:
mode:
authorGiovanni Campagna <gcampagna@src.gnome.org>2014-02-19 17:15:34 +0100
committerGiovanni Campagna <gcampagna@src.gnome.org>2014-02-20 02:07:49 +0100
commite70abadf0dd7d5312311926ec5b5130e1933d83b (patch)
treedce2137a70088f9183a485f4694d5cfc9cb0f372 /tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBUnion.page
parent75d25b7f47542aa003c92ce576b6e82bae66aec9 (diff)
downloadgobject-introspection-e70abadf0dd7d5312311926ec5b5130e1933d83b.tar.gz
doctool: update reference tests
https://bugzilla.gnome.org/show_bug.cgi?id=724735
Diffstat (limited to 'tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBUnion.page')
-rw-r--r--tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBUnion.page50
1 files changed, 34 insertions, 16 deletions
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBUnion.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBUnion.page
index 8644d96e..91f431b8 100644
--- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBUnion.page
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBUnion.page
@@ -1,25 +1,43 @@
<?xml version="1.0"?>
<page id="Regress.FooBUnion"
- type="topic"
- style="default"
+ type="guide"
+ style="class"
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="default" type="guide"/>
-
+ <link xref="index" group="class" type="guide"/>
</info>
<title>Regress.FooBUnion</title>
-
-
-
-
-
-
-
-
-
-
-
+ <synopsis><code>
+const Regress = imports.gi.Regress;
+
+let fooBUnion = new Regress.FooBUnion({
+ <link xref='Regress.FooBUnion-type'>type</link>: value
+ <link xref='Regress.FooBUnion-v'>v</link>: value
+});
+ </code></synopsis>
+
+
+ <links type="topic" ui:expanded="true"
+ api:type="function" api:mime="text/x-gjs"
+ groups="constructor" style="linklist">
+ <title>Constructors</title>
+ </links>
+ <links type="topic" ui:expanded="true"
+ api:type="function" api:mime="text/x-gjs"
+ groups="method" style="linklist">
+ <title>Methods</title>
+ </links>
+ <links type="topic" ui:expanded="true"
+ api:type="function" api:mime="text/x-gjs"
+ groups="function" style="linklist">
+ <title>Static Functions</title>
+ </links>
+ <links type="topic" ui:expanded="true" groups="field" style="linklist">
+ <title>Fields</title>
+ </links>
+ <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist">
+ <title>Other</title>
+ </links>
</page>