diff options
Diffstat (limited to 'tests/doctool/DocExamples-1.0-C-expected')
6 files changed, 135 insertions, 0 deletions
diff --git a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-property-example.page b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-property-example.page new file mode 100644 index 00000000..e7702a21 --- /dev/null +++ b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-property-example.page @@ -0,0 +1,13 @@ +<?xml version="1.0"?> +<page id="DocExamples.property-example" + type="topic" + style="property" + xmlns="http://projectmallard.org/1.0/" + xmlns:ui="http://projectmallard.org/experimental/ui/"> + <info> + <link type="guide" xref="DocExamples.Obj" group="property"/> + <title type="link" role="topic">property-example</title> + </info> + <title>DocExamplesObj:property-example</title> +<p>This is an example of how to document a property.</p> +</page> diff --git a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-signal-example.page b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-signal-example.page new file mode 100644 index 00000000..646d294d --- /dev/null +++ b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-signal-example.page @@ -0,0 +1,15 @@ +<?xml version="1.0"?> +<page id="DocExamples.signal-example" + type="topic" + style="signal" + xmlns="http://projectmallard.org/1.0/" + xmlns:ui="http://projectmallard.org/experimental/ui/"> + <info> + <link type="guide" xref="DocExamples.Obj" group="signal"/> + <title type="link" role="topic">signal-example</title> + </info> + <title>DocExamplesObj::signal-example</title> +<p>Emitted when the connection status on the account changes.</p><p>The @dbus_error_name and @details parameters were present, but +non-functional (always %NULL), in older versions. They have been +available with their current behaviour since version 0.11.7.</p> +</page> diff --git a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.new.page b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.new.page new file mode 100644 index 00000000..c20d8c5f --- /dev/null +++ b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.new.page @@ -0,0 +1,30 @@ +<?xml version="1.0"?> + +<page id="DocExamples.Obj.new" + type="topic" + style="constructor" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/experimental/ui/"> + <info> + <link type="guide" xref="DocExamples.Obj" group="constructor"/> + <api:function> + <api:returns> + <api:type>DocExamplesObj*</api:type> + </api:returns> + <api:name>doc_examples_obj_new</api:name> + </api:function> + </info> + <title>doc_examples_obj_new</title> +<synopsis><code mime="text/x-csrc"> +DocExamplesObj* doc_examples_obj_new (void); +</code></synopsis> + + +<table> +<tr> +<td><p>Returns :</p></td> +<td></td> +</tr> +</table> +</page> diff --git a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.page b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.page new file mode 100644 index 00000000..0a46bd23 --- /dev/null +++ b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="DocExamples.Obj" + type="guide" + style="class" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/experimental/ui/"> + <info> + <link type="guide" xref="index" group="class"/> + </info> + <title>DocExamplesObj</title> +<p>This is an example of how to document a class</p><p>This class has a signal: <link xref="DocExamples.Obj-signal-example">DocExamples.Obj::signal-example</link>.</p><p>And also has a property: <link xref="DocExamples.Obj-property-example">DocExamples.Obj:property-example</link>.</p> +<p>Since 0.99</p> + <synopsis ui:expanded="no"> + <title>Hierarchy</title> + <tree> + <item> + <code>GObjectObject</code> + </item> + </tree> + </synopsis> + <links type="topic" ui:expanded="yes" + api:type="function" api:mime="text/x-csrc" + groups="constructor" style="linklist"> + <title>Constructors</title> + </links> + <links type="topic" ui:expanded="yes" + api:type="function" api:mime="text/x-csrc" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="yes" + api:type="function" api:mime="text/x-csrc" + groups="function" style="linklist"> + <title>Functions</title> + </links> + <links type="topic" ui:expanded="yes" groups="property" style="linklist"> + <title>Properties</title> + </links> + <links type="topic" ui:expanded="yes" groups="signal" style="linklist"> + <title>Signals</title> + </links> + <links type="topic" ui:expanded="yes" groups="#first #default #last" style="linklist"> + <title>Other</title> + </links> +</page> diff --git a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.ObjClass.page b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.ObjClass.page new file mode 100644 index 00000000..c3a958d6 --- /dev/null +++ b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.ObjClass.page @@ -0,0 +1,12 @@ +<?xml version="1.0"?> +<page id="DocExamples.ObjClass" + type="guide" + style="record" + xmlns="http://projectmallard.org/1.0/" + xmlns:ui="http://projectmallard.org/experimental/ui/"> + <info> + <link type="guide" xref="index"/> + </info> + <title>DocExamplesObjClass</title> + +</page> diff --git a/tests/doctool/DocExamples-1.0-C-expected/index.page b/tests/doctool/DocExamples-1.0-C-expected/index.page new file mode 100644 index 00000000..a61ea759 --- /dev/null +++ b/tests/doctool/DocExamples-1.0-C-expected/index.page @@ -0,0 +1,19 @@ +<?xml version="1.0"?> +<page id="index" + type="guide" + style="namespace" + xmlns="http://projectmallard.org/1.0/" + xmlns:ui="http://projectmallard.org/experimental/ui/"> + <info> + </info> + <title>DocExamples Documentation</title> + <links type="topic" ui:expanded="yes" groups="class" style="linklist"> + <title>Classes</title> + </links> + <links type="topic" ui:expanded="yes" groups="function" style="linklist"> + <title>Functions</title> + </links> + <links type="topic" ui:expanded="yes" groups="#first #default #last" style="linklist"> + <title>Other</title> + </links> +</page> |