diff options
author | Mark Doffman <mark.doffman@codethink.co.uk> | 2014-03-27 20:50:21 +0000 |
---|---|---|
committer | Mark Doffman <mark.doffman@codethink.co.uk> | 2014-03-27 20:50:21 +0000 |
commit | 68ff94340891f1ae4ea24546acdbbc39c4dcbcd0 (patch) | |
tree | 46f02cba671bcb321482c7961acd91aeee57ced5 /tests/scanner/Regress-1.0-Python-expected | |
parent | 19da3f81593614198206c45527f973a22cdd621e (diff) | |
parent | 89e84d06dffbc732bac26a105244b7270c42e3ec (diff) | |
download | gobject-introspection-68ff94340891f1ae4ea24546acdbbc39c4dcbcd0.tar.gz |
Merge tag 'GOBJECT_INTROSPECTION_1_39_90' into baserock/markdoffman/1_39_90-mergebaserock/markdoffman/1_39_90-merge
Tag 1_39_90
Conflicts:
autogen.sh
configure.ac
Diffstat (limited to 'tests/scanner/Regress-1.0-Python-expected')
406 files changed, 18866 insertions, 0 deletions
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.ATestError.page b/tests/scanner/Regress-1.0-Python-expected/Regress.ATestError.page new file mode 100644 index 00000000..9ac6820d --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.ATestError.page @@ -0,0 +1,39 @@ +<?xml version="1.0"?> +<page id="Regress.ATestError" + type="topic" + style="enum" + 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="enum" type="guide"/> + + </info> + <title>Regress.ATestError</title> + + + + + + + + +<terms> +<item> +<title><code>ATestError.CODE0</code></title> + +</item> +<item> +<title><code>ATestError.CODE1</code></title> + +</item> +<item> +<title><code>ATestError.CODE2</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AliasedTestBoxed.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AliasedTestBoxed.page new file mode 100644 index 00000000..9490e4a3 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AliasedTestBoxed.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.AliasedTestBoxed" + type="topic" + style="default" + 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"/> + + </info> + <title>Regress.AliasedTestBoxed</title> + + + + <p>Typedef TestBoxed to test caller-allocates correctness</p> + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnAnonymousUnion.None.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnAnonymousUnion.None.page new file mode 100644 index 00000000..6dc17b32 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnAnonymousUnion.None.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.AnAnonymousUnion.None" + type="topic" + style="default" + 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"/> + + </info> + <title>Regress.AnAnonymousUnion.None</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnAnonymousUnion.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnAnonymousUnion.page new file mode 100644 index 00000000..2556feda --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnAnonymousUnion.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.AnAnonymousUnion" + type="guide" + style="record" + 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="record" type="guide"/> + + </info> + <title>Regress.AnAnonymousUnion</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationBitfield.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationBitfield.page new file mode 100644 index 00000000..4e19ef92 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationBitfield.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationBitfield" + type="topic" + style="default" + 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"/> + + </info> + <title>Regress.AnnotationBitfield</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationCallback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationCallback.page new file mode 100644 index 00000000..9a652d80 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationCallback.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationCallback" + type="topic" + style="default" + 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"/> + + </info> + <title>Regress.AnnotationCallback</title> + + + + <p>This is a callback.</p> + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationFields.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationFields.page new file mode 100644 index 00000000..53234545 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationFields.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationFields" + type="guide" + style="record" + 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="record" type="guide"/> + + </info> + <title>Regress.AnnotationFields</title> + + + + <p>This is a struct for testing field documentation and annotations</p> + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationForeachFunc.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationForeachFunc.page new file mode 100644 index 00000000..db77a117 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationForeachFunc.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationForeachFunc" + type="topic" + style="default" + 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"/> + + </info> + <title>Regress.AnnotationForeachFunc</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationListCallback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationListCallback.page new file mode 100644 index 00000000..79844c66 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationListCallback.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationListCallback" + type="topic" + style="default" + 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"/> + + </info> + <title>Regress.AnnotationListCallback</title> + + + + <p>This is a callback taking a list.</p> + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationNotifyFunc.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationNotifyFunc.page new file mode 100644 index 00000000..17c80292 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationNotifyFunc.page @@ -0,0 +1,26 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationNotifyFunc" + type="topic" + style="default" + 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"/> + + </info> + <title>Regress.AnnotationNotifyFunc</title> + + + + <p>This is a callback with a 'closure' argument that is not named +'user_data' and hence has to be annotated.</p> + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject-attribute-signal.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject-attribute-signal.page new file mode 100644 index 00000000..9ed31bc3 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject-attribute-signal.page @@ -0,0 +1,53 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject-attribute-signal" + 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.AnnotationObject" group="signal" type="guide"/> + <title type="link" role="topic">attribute-signal</title> + + </info> + <title>Regress.AnnotationObject::attribute-signal</title> + +<synopsis><code mime="text/x-python"> +def callback(annotation_object, arg1, arg2, user_param1, ...) +</code></synopsis> + + + <p>This signal tests a signal with attributes.</p> + + + + +<terms> +<item> +<title><code>annotation_object</code></title> +<p>instance of <link xref="Regress.AnnotationObject"/> that is emitting the signal</p> +</item> +<item> +<title><code>arg1</code></title> +<p>a value</p> +</item> +<item> +<title><code>arg2</code></title> +<p>another value</p> +</item> +<title><code>user_param1</code></title> +<p>first user parameter (if any) specified with the connect() method</p> +<item> +<title><code>...</code></title> +<p>additional user parameters (if any)</p> +</item> +<item> +<title><code>Returns</code></title> +<p>the return value</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject-doc-empty-arg-parsing.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject-doc-empty-arg-parsing.page new file mode 100644 index 00000000..29eedcc1 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject-doc-empty-arg-parsing.page @@ -0,0 +1,45 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject-doc-empty-arg-parsing" + 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.AnnotationObject" group="signal" type="guide"/> + <title type="link" role="topic">doc-empty-arg-parsing</title> + + </info> + <title>Regress.AnnotationObject::doc-empty-arg-parsing</title> + +<synopsis><code mime="text/x-python"> +def callback(annotation_object, arg1, user_param1, ...) +</code></synopsis> + + + <p>This signal tests an empty document argument (<code>arg1</code>)</p> + + + + +<terms> +<item> +<title><code>annotation_object</code></title> +<p>instance of <link xref="Regress.AnnotationObject"/> that is emitting the signal</p> +</item> +<item> +<title><code>arg1</code></title> + +</item> +<title><code>user_param1</code></title> +<p>first user parameter (if any) specified with the connect() method</p> +<item> +<title><code>...</code></title> +<p>additional user parameters (if any)</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject-function-property.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject-function-property.page new file mode 100644 index 00000000..d9d8b55a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject-function-property.page @@ -0,0 +1,29 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject-function-property" + type="topic" + style="property" + 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.AnnotationObject" group="property" type="guide"/> + <title type="link" role="topic">function-property</title> + + </info> + <title>Regress.AnnotationObject:function-property</title> + +<synopsis><code mime="text/x-python"> +"function-property" Regress.AnnotationCallback : Read / Write / Construct +</code></synopsis> + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject-list-signal.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject-list-signal.page new file mode 100644 index 00000000..fdfa65f7 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject-list-signal.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject-list-signal" + 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.AnnotationObject" group="signal" type="guide"/> + <title type="link" role="topic">list-signal</title> + + </info> + <title>Regress.AnnotationObject::list-signal</title> + +<synopsis><code mime="text/x-python"> +def callback(annotation_object, list, user_param1, ...) +</code></synopsis> + + + <p>This is a signal which takes a list of strings, but it's not +known by GObject as it's only marked as G_TYPE_POINTER</p> + + + + +<terms> +<item> +<title><code>annotation_object</code></title> +<p>instance of <link xref="Regress.AnnotationObject"/> that is emitting the signal</p> +</item> +<item> +<title><code>list</code></title> +<p>a list of strings</p> +</item> +<title><code>user_param1</code></title> +<p>first user parameter (if any) specified with the connect() method</p> +<item> +<title><code>...</code></title> +<p>additional user parameters (if any)</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject-string-property.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject-string-property.page new file mode 100644 index 00000000..a3cb0456 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject-string-property.page @@ -0,0 +1,30 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject-string-property" + type="topic" + style="property" + 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.AnnotationObject" group="property" type="guide"/> + <title type="link" role="topic">string-property</title> + + </info> + <title>Regress.AnnotationObject:string-property</title> + +<synopsis><code mime="text/x-python"> +"string-property" unicode : Read / Write / Construct +</code></synopsis> + + + <p>This is a property which is a string</p> + + + <p>Since 1.0</p> + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject-string-signal.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject-string-signal.page new file mode 100644 index 00000000..06e79aa3 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject-string-signal.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject-string-signal" + 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.AnnotationObject" group="signal" type="guide"/> + <title type="link" role="topic">string-signal</title> + + </info> + <title>Regress.AnnotationObject::string-signal</title> + +<synopsis><code mime="text/x-python"> +def callback(annotation_object, string, user_param1, ...) +</code></synopsis> + + + <p>This is a signal which has a broken signal handler, +it says it's pointer but it's actually a string.</p> + + + <p>Since 1.0</p> + + +<terms> +<item> +<title><code>annotation_object</code></title> +<p>instance of <link xref="Regress.AnnotationObject"/> that is emitting the signal</p> +</item> +<item> +<title><code>string</code></title> +<p>a string</p> +</item> +<title><code>user_param1</code></title> +<p>first user parameter (if any) specified with the connect() method</p> +<item> +<title><code>...</code></title> +<p>additional user parameters (if any)</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject-tab-property.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject-tab-property.page new file mode 100644 index 00000000..c417d1ee --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject-tab-property.page @@ -0,0 +1,31 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject-tab-property" + type="topic" + style="property" + 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.AnnotationObject" group="property" type="guide"/> + <title type="link" role="topic">tab-property</title> + + </info> + <title>Regress.AnnotationObject:tab-property</title> + +<synopsis><code mime="text/x-python"> +"tab-property" unicode : Read / Write / Construct +</code></synopsis> + + + <p>This is a property annotation intentionally indented with a mix +of tabs and strings to test the tab handling capabilities of the scanner.</p> + + + <p>Since 1.2</p> + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.allow_none.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.allow_none.page new file mode 100644 index 00000000..a04abd75 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.allow_none.page @@ -0,0 +1,59 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.allow_none" + 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.AnnotationObject" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>GObject.Object</api:type> + </api:returns> + <api:name>regress_annotation_object_allow_none</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>unicode</api:type> + <api:name>somearg</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.AnnotationObject.allow_none</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, unicode) +@returns(GObject.Object) +def allow_none(self, somearg): + # Python wrapper for regress_annotation_object_allow_none() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> +<p>a <link xref="GObject.Object"/></p> +</item> +<item> +<title><code>somearg</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.calleeowns.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.calleeowns.page new file mode 100644 index 00000000..bebf7737 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.calleeowns.page @@ -0,0 +1,59 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.calleeowns" + 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.AnnotationObject" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>int</api:type> + </api:returns> + <api:name>regress_annotation_object_calleeowns</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>GObject.Object</api:type> + <api:name>toown</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.AnnotationObject.calleeowns</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, GObject.Object) +@returns(int) +def calleeowns(self, toown): + # Python wrapper for regress_annotation_object_calleeowns() +</code></synopsis> + + + <p>This is a test for out arguments; GObject defaults to transfer</p> + + + + +<terms> +<item> +<title><code>self</code></title> +<p>a <link xref="GObject.Object"/></p> +</item> +<item> +<title><code>toown</code></title> +<p>a <link xref="GObject.Object"/></p> +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.calleesowns.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.calleesowns.page new file mode 100644 index 00000000..ef9361fd --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.calleesowns.page @@ -0,0 +1,67 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.calleesowns" + 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.AnnotationObject" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>int</api:type> + </api:returns> + <api:name>regress_annotation_object_calleesowns</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>GObject.Object</api:type> + <api:name>toown1</api:name> + </api:arg> + <api:arg> + <api:type>GObject.Object</api:type> + <api:name>toown2</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.AnnotationObject.calleesowns</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, GObject.Object, GObject.Object) +@returns(int) +def calleesowns(self, toown1, toown2): + # Python wrapper for regress_annotation_object_calleesowns() +</code></synopsis> + + + <p>This is a test for out arguments, one transferred, other not</p> + + + + +<terms> +<item> +<title><code>self</code></title> +<p>a <link xref="GObject.Object"/></p> +</item> +<item> +<title><code>toown1</code></title> +<p>a <link xref="GObject.Object"/></p> +</item> +<item> +<title><code>toown2</code></title> +<p>a <link xref="GObject.Object"/></p> +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.compute_sum.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.compute_sum.page new file mode 100644 index 00000000..4f58e6fb --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.compute_sum.page @@ -0,0 +1,55 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.compute_sum" + 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.AnnotationObject" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_annotation_object_compute_sum</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>[int]</api:type> + <api:name>nums</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.AnnotationObject.compute_sum</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, [int]) +@returns(none) +def compute_sum(self, nums): + # Python wrapper for regress_annotation_object_compute_sum() +</code></synopsis> + + + <p>Test taking a zero-terminated array</p> + + + + +<terms> +<item> +<title><code>self</code></title> +<p>a <link xref="GObject.Object"/></p> +</item> +<item> +<title><code>nums</code></title> +<p>Sequence of numbers</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.compute_sum_n.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.compute_sum_n.page new file mode 100644 index 00000000..33463c4f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.compute_sum_n.page @@ -0,0 +1,64 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.compute_sum_n" + 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.AnnotationObject" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_annotation_object_compute_sum_n</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>[int]</api:type> + <api:name>nums</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>n_nums</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.AnnotationObject.compute_sum_n</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, [int], int) +@returns(none) +def compute_sum_n(self, nums, n_nums): + # Python wrapper for regress_annotation_object_compute_sum_n() +</code></synopsis> + + + <p>Test taking an array with length parameter</p> + + + + +<terms> +<item> +<title><code>self</code></title> +<p>a <link xref="GObject.Object"/></p> +</item> +<item> +<title><code>nums</code></title> +<p>Sequence of + numbers that are zero-terminated</p> +</item> +<item> +<title><code>n_nums</code></title> +<p>Length of number array</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.compute_sum_nz.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.compute_sum_nz.page new file mode 100644 index 00000000..b3beb695 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.compute_sum_nz.page @@ -0,0 +1,64 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.compute_sum_nz" + 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.AnnotationObject" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_annotation_object_compute_sum_nz</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>[int]</api:type> + <api:name>nums</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>n_nums</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.AnnotationObject.compute_sum_nz</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, [int], int) +@returns(none) +def compute_sum_nz(self, nums, n_nums): + # Python wrapper for regress_annotation_object_compute_sum_nz() +</code></synopsis> + + + <p>Test taking a zero-terminated array with length parameter</p> + + + + +<terms> +<item> +<title><code>self</code></title> +<p>a <link xref="Regress.AnnotationObject"/></p> +</item> +<item> +<title><code>nums</code></title> +<p>Sequence of numbers that +are zero-terminated</p> +</item> +<item> +<title><code>n_nums</code></title> +<p>Length of number array</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.create_object.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.create_object.page new file mode 100644 index 00000000..6498ac29 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.create_object.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.create_object" + 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.AnnotationObject" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>GObject.Object</api:type> + </api:returns> + <api:name>regress_annotation_object_create_object</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.AnnotationObject.create_object</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject) +@returns(GObject.Object) +def create_object(self): + # Python wrapper for regress_annotation_object_create_object() +</code></synopsis> + + + <p>Test returning a caller-owned object</p> + + + + +<terms> +<item> +<title><code>self</code></title> +<p>a <link xref="GObject.Object"/></p> +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.do_not_use.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.do_not_use.page new file mode 100644 index 00000000..fac9f167 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.do_not_use.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.do_not_use" + 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.AnnotationObject" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>GObject.Object</api:type> + </api:returns> + <api:name>regress_annotation_object_do_not_use</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.AnnotationObject.do_not_use</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject) +@returns(GObject.Object) +def do_not_use(self): + # Python wrapper for regress_annotation_object_do_not_use() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> +<p>a <link xref="GObject.Object"/></p> +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.extra_annos.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.extra_annos.page new file mode 100644 index 00000000..7e032668 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.extra_annos.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.extra_annos" + 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.AnnotationObject" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_annotation_object_extra_annos</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.AnnotationObject.extra_annos</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject) +@returns(none) +def extra_annos(self): + # Python wrapper for regress_annotation_object_extra_annos() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.foreach.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.foreach.page new file mode 100644 index 00000000..1010a017 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.foreach.page @@ -0,0 +1,63 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.foreach" + 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.AnnotationObject" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_annotation_object_foreach</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>Regress.AnnotationForeachFunc</api:type> + <api:name>func</api:name> + </api:arg> + <api:arg> + <api:type>gpointer</api:type> + <api:name>user_data</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.AnnotationObject.foreach</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, Regress.AnnotationForeachFunc, gpointer) +@returns(none) +def foreach(self, func, user_data): + # Python wrapper for regress_annotation_object_foreach() +</code></synopsis> + + + <p>Test taking a call-scoped callback</p> + + + + +<terms> +<item> +<title><code>self</code></title> +<p>a <link xref="Regress.AnnotationObject"/></p> +</item> +<item> +<title><code>func</code></title> +<p>Callback to invoke</p> +</item> +<item> +<title><code>user_data</code></title> +<p>Callback user data</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.get_hash.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.get_hash.page new file mode 100644 index 00000000..8d658f50 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.get_hash.page @@ -0,0 +1,52 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.get_hash" + 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.AnnotationObject" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>{unicode: GObject.Object}</api:type> + </api:returns> + <api:name>regress_annotation_object_get_hash</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.AnnotationObject.get_hash</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject) +@returns({unicode: GObject.Object}) +def get_hash(self): + # Python wrapper for regress_annotation_object_get_hash() +</code></synopsis> + + + <p>This is a test for returning a hash table mapping strings to +objects.</p> + + + + +<terms> +<item> +<title><code>self</code></title> +<p>a <link xref="GObject.Object"/></p> +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.get_objects.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.get_objects.page new file mode 100644 index 00000000..ef231f5c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.get_objects.page @@ -0,0 +1,53 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.get_objects" + 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.AnnotationObject" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>[Regress.AnnotationObject]</api:type> + </api:returns> + <api:name>regress_annotation_object_get_objects</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.AnnotationObject.get_objects</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject) +@returns([Regress.AnnotationObject]) +def get_objects(self): + # Python wrapper for regress_annotation_object_get_objects() +</code></synopsis> + + + <p>This is a test for returning a list of objects. +The list itself should be freed, but not the internal objects, +intentionally similar example to gtk_container_get_children</p> + + + + +<terms> +<item> +<title><code>self</code></title> +<p>a <link xref="GObject.Object"/></p> +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.get_strings.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.get_strings.page new file mode 100644 index 00000000..13570b66 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.get_strings.page @@ -0,0 +1,52 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.get_strings" + 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.AnnotationObject" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>[unicode]</api:type> + </api:returns> + <api:name>regress_annotation_object_get_strings</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.AnnotationObject.get_strings</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject) +@returns([unicode]) +def get_strings(self): + # Python wrapper for regress_annotation_object_get_strings() +</code></synopsis> + + + <p>This is a test for returning a list of strings, where +each string needs to be freed.</p> + + + + +<terms> +<item> +<title><code>self</code></title> +<p>a <link xref="GObject.Object"/></p> +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.hidden_self.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.hidden_self.page new file mode 100644 index 00000000..ce1111fd --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.hidden_self.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.hidden_self" + 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.AnnotationObject" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_annotation_object_hidden_self</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.AnnotationObject.hidden_self</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject) +@returns(none) +def hidden_self(self): + # Python wrapper for regress_annotation_object_hidden_self() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> +<p>A <link xref="Regress.AnnotationObject"/></p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.in.page new file mode 100644 index 00000000..0e77f853 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.in.page @@ -0,0 +1,59 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.in" + 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.AnnotationObject" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>int</api:type> + </api:returns> + <api:name>regress_annotation_object_in</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>inarg</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.AnnotationObject.in</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, int) +@returns(int) +def in(self, inarg): + # Python wrapper for regress_annotation_object_in() +</code></synopsis> + + + <p>This is a test for in arguments</p> + + + + +<terms> +<item> +<title><code>self</code></title> +<p>a <link xref="GObject.Object"/></p> +</item> +<item> +<title><code>inarg</code></title> +<p>This is an argument test</p> +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.inout.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.inout.page new file mode 100644 index 00000000..6816eaf4 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.inout.page @@ -0,0 +1,59 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.inout" + 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.AnnotationObject" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>int</api:type> + </api:returns> + <api:name>regress_annotation_object_inout</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>inoutarg</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.AnnotationObject.inout</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, int) +@returns(int) +def inout(self, inoutarg): + # Python wrapper for regress_annotation_object_inout() +</code></synopsis> + + + <p>This is a test for out arguments</p> + + + + +<terms> +<item> +<title><code>self</code></title> +<p>a <link xref="GObject.Object"/></p> +</item> +<item> +<title><code>inoutarg</code></title> +<p>This is an argument test</p> +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.inout2.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.inout2.page new file mode 100644 index 00000000..aef9deca --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.inout2.page @@ -0,0 +1,59 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.inout2" + 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.AnnotationObject" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>int</api:type> + </api:returns> + <api:name>regress_annotation_object_inout2</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>inoutarg</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.AnnotationObject.inout2</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, int) +@returns(int) +def inout2(self, inoutarg): + # Python wrapper for regress_annotation_object_inout2() +</code></synopsis> + + + <p>This is a second test for out arguments</p> + + + + +<terms> +<item> +<title><code>self</code></title> +<p>a <link xref="GObject.Object"/></p> +</item> +<item> +<title><code>inoutarg</code></title> +<p>This is an argument test</p> +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.inout3.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.inout3.page new file mode 100644 index 00000000..4ba4bf67 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.inout3.page @@ -0,0 +1,59 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.inout3" + 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.AnnotationObject" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>int</api:type> + </api:returns> + <api:name>regress_annotation_object_inout3</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>inoutarg</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.AnnotationObject.inout3</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, int) +@returns(int) +def inout3(self, inoutarg): + # Python wrapper for regress_annotation_object_inout3() +</code></synopsis> + + + <p>This is a 3th test for out arguments</p> + + + + +<terms> +<item> +<title><code>self</code></title> +<p>a <link xref="GObject.Object"/></p> +</item> +<item> +<title><code>inoutarg</code></title> +<p>This is an argument test</p> +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.method.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.method.page new file mode 100644 index 00000000..b6badcfe --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.method.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.method" + 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.AnnotationObject" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>int</api:type> + </api:returns> + <api:name>regress_annotation_object_method</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.AnnotationObject.method</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject) +@returns(int) +def method(self): + # Python wrapper for regress_annotation_object_method() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> +<p>a <link xref="GObject.Object"/></p> +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.notrans.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.notrans.page new file mode 100644 index 00000000..aa50a26e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.notrans.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.notrans" + 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.AnnotationObject" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>GObject.Object</api:type> + </api:returns> + <api:name>regress_annotation_object_notrans</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.AnnotationObject.notrans</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject) +@returns(GObject.Object) +def notrans(self): + # Python wrapper for regress_annotation_object_notrans() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> +<p>a <link xref="GObject.Object"/></p> +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.out.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.out.page new file mode 100644 index 00000000..606b4a12 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.out.page @@ -0,0 +1,59 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.out" + 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.AnnotationObject" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>int</api:type> + </api:returns> + <api:name>regress_annotation_object_out</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>outarg</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.AnnotationObject.out</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, int) +@returns(int) +def out(self, outarg): + # Python wrapper for regress_annotation_object_out() +</code></synopsis> + + + <p>This is a test for out arguments</p> + + + + +<terms> +<item> +<title><code>self</code></title> +<p>a <link xref="GObject.Object"/></p> +</item> +<item> +<title><code>outarg</code></title> +<p>This is an argument test</p> +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.page new file mode 100644 index 00000000..006766fc --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.page @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject" + 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="class" type="guide"/> + + </info> + <title>Regress.AnnotationObject</title> + + <synopsis><code> +from gi.repository import Regress + +annotation_object = Regress.AnnotationObject(<link xref='Regress.AnnotationObject-function-property'>function_property</link>=value, <link xref='Regress.AnnotationObject-string-property'>string_property</link>=value, <link xref='Regress.AnnotationObject-tab-property'>tab_property</link>=value) </code></synopsis> + + + <p>This is an object used to test annotations.</p> + + + + + <synopsis> + <title>Hierarchy</title> + <tree> + <item> + <code>GObject.Object</code> + <item> + <code>Regress.AnnotationObject</code> + </item> + </item> + </tree> + </synopsis> + + + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + groups="function" style="linklist"> + <title>Functions</title> + </links> + <links type="topic" ui:expanded="true" groups="property" style="linklist"> + <title>Properties</title> + </links> + <links type="topic" ui:expanded="true" groups="signal" style="linklist"> + <title>Signals</title> + </links> + <links type="topic" ui:expanded="true" groups="vfunc" style="linklist"> + <title>Virtual functions</title> + </links> + <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist"> + <title>Other</title> + </links> + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.parse_args.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.parse_args.page new file mode 100644 index 00000000..760e0be7 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.parse_args.page @@ -0,0 +1,63 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.parse_args" + 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.AnnotationObject" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_annotation_object_parse_args</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>argc</api:name> + </api:arg> + <api:arg> + <api:type>[unicode]</api:type> + <api:name>argv</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.AnnotationObject.parse_args</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, int, [unicode]) +@returns(none) +def parse_args(self, argc, argv): + # Python wrapper for regress_annotation_object_parse_args() +</code></synopsis> + + + <p>Test taking a zero-terminated array with length parameter</p> + + + + +<terms> +<item> +<title><code>self</code></title> +<p>a <link xref="Regress.AnnotationObject"/></p> +</item> +<item> +<title><code>argc</code></title> +<p>Length of the argument vector</p> +</item> +<item> +<title><code>argv</code></title> +<p>Argument vector</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.set_data.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.set_data.page new file mode 100644 index 00000000..7cd52364 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.set_data.page @@ -0,0 +1,63 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.set_data" + 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.AnnotationObject" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_annotation_object_set_data</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>[guint8]</api:type> + <api:name>data</api:name> + </api:arg> + <api:arg> + <api:type>gsize</api:type> + <api:name>length</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.AnnotationObject.set_data</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, [guint8], gsize) +@returns(none) +def set_data(self, data, length): + # Python wrapper for regress_annotation_object_set_data() +</code></synopsis> + + + <p>Test taking a guchar * with a length.</p> + + + + +<terms> +<item> +<title><code>self</code></title> +<p>a <link xref="Regress.AnnotationObject"/></p> +</item> +<item> +<title><code>data</code></title> +<p>The data</p> +</item> +<item> +<title><code>length</code></title> +<p>Length of the data</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.set_data2.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.set_data2.page new file mode 100644 index 00000000..cd47036a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.set_data2.page @@ -0,0 +1,63 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.set_data2" + 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.AnnotationObject" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_annotation_object_set_data2</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>[gint8]</api:type> + <api:name>data</api:name> + </api:arg> + <api:arg> + <api:type>gsize</api:type> + <api:name>length</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.AnnotationObject.set_data2</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, [gint8], gsize) +@returns(none) +def set_data2(self, data, length): + # Python wrapper for regress_annotation_object_set_data2() +</code></synopsis> + + + <p>Test taking a gchar * with a length.</p> + + + + +<terms> +<item> +<title><code>self</code></title> +<p>a <link xref="Regress.AnnotationObject"/></p> +</item> +<item> +<title><code>data</code></title> +<p>The data</p> +</item> +<item> +<title><code>length</code></title> +<p>Length of the data</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.set_data3.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.set_data3.page new file mode 100644 index 00000000..b9016e87 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.set_data3.page @@ -0,0 +1,64 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.set_data3" + 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.AnnotationObject" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_annotation_object_set_data3</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>[guint8]</api:type> + <api:name>data</api:name> + </api:arg> + <api:arg> + <api:type>gsize</api:type> + <api:name>length</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.AnnotationObject.set_data3</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, [guint8], gsize) +@returns(none) +def set_data3(self, data, length): + # Python wrapper for regress_annotation_object_set_data3() +</code></synopsis> + + + <p>Test taking a gchar * with a length, overriding the array element +type.</p> + + + + +<terms> +<item> +<title><code>self</code></title> +<p>a <link xref="Regress.AnnotationObject"/></p> +</item> +<item> +<title><code>data</code></title> +<p>The data</p> +</item> +<item> +<title><code>length</code></title> +<p>Length of the data</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.string_out.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.string_out.page new file mode 100644 index 00000000..c1d085aa --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.string_out.page @@ -0,0 +1,59 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.string_out" + 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.AnnotationObject" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>bool</api:type> + </api:returns> + <api:name>regress_annotation_object_string_out</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>unicode</api:type> + <api:name>str_out</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.AnnotationObject.string_out</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, unicode) +@returns(bool) +def string_out(self, str_out): + # Python wrapper for regress_annotation_object_string_out() +</code></synopsis> + + + <p>Test returning a string as an out parameter</p> + + + + +<terms> +<item> +<title><code>self</code></title> +<p>a <link xref="Regress.AnnotationObject"/></p> +</item> +<item> +<title><code>str_out</code></title> +<p>string return value</p> +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.use_buffer.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.use_buffer.page new file mode 100644 index 00000000..385fe89f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.use_buffer.page @@ -0,0 +1,55 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.use_buffer" + 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.AnnotationObject" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_annotation_object_use_buffer</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>guint8</api:type> + <api:name>bytes</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.AnnotationObject.use_buffer</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, guint8) +@returns(none) +def use_buffer(self, bytes): + # Python wrapper for regress_annotation_object_use_buffer() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> +<p>a <link xref="GObject.Object"/></p> +</item> +<item> +<title><code>bytes</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.watch_full.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.watch_full.page new file mode 100644 index 00000000..66a53d54 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.watch_full.page @@ -0,0 +1,71 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.watch_full" + 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.AnnotationObject" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_annotation_object_watch_full</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>Regress.AnnotationForeachFunc</api:type> + <api:name>func</api:name> + </api:arg> + <api:arg> + <api:type>gpointer</api:type> + <api:name>user_data</api:name> + </api:arg> + <api:arg> + <api:type>GLib.DestroyNotify</api:type> + <api:name>destroy</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.AnnotationObject.watch_full</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, Regress.AnnotationForeachFunc, gpointer, GLib.DestroyNotify) +@returns(none) +def watch_full(self, func, user_data, destroy): + # Python wrapper for regress_annotation_object_watch_full() +</code></synopsis> + + + <p>Test overriding via the "Rename To" annotation.</p> + + + + +<terms> +<item> +<title><code>self</code></title> +<p>A <link xref="Regress.AnnotationObject"/></p> +</item> +<item> +<title><code>func</code></title> +<p>The callback</p> +</item> +<item> +<title><code>user_data</code></title> +<p>The callback data</p> +</item> +<item> +<title><code>destroy</code></title> +<p>Destroy notification</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.with_voidp.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.with_voidp.page new file mode 100644 index 00000000..bda3e9a0 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.with_voidp.page @@ -0,0 +1,55 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.with_voidp" + 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.AnnotationObject" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_annotation_object_with_voidp</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>gpointer</api:type> + <api:name>data</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.AnnotationObject.with_voidp</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, gpointer) +@returns(none) +def with_voidp(self, data): + # Python wrapper for regress_annotation_object_with_voidp() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +<item> +<title><code>data</code></title> +<p>Opaque pointer handle</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationStruct.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationStruct.page new file mode 100644 index 00000000..e2100429 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationStruct.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationStruct" + type="guide" + style="record" + 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="record" type="guide"/> + + </info> + <title>Regress.AnnotationStruct</title> + + + + <p>This is a test of an array of object in an field of a struct.</p> + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooASingle.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooASingle.page new file mode 100644 index 00000000..09cd98fd --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooASingle.page @@ -0,0 +1,31 @@ +<?xml version="1.0"?> +<page id="Regress.FooASingle" + type="topic" + style="enum" + 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="enum" type="guide"/> + + </info> + <title>Regress.FooASingle</title> + + + + + + + + +<terms> +<item> +<title><code>FooASingle.FOO_SOME_SINGLE_ENUM</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooAddressType.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooAddressType.page new file mode 100644 index 00000000..008a8f36 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooAddressType.page @@ -0,0 +1,39 @@ +<?xml version="1.0"?> +<page id="Regress.FooAddressType" + type="topic" + style="enum" + 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="enum" type="guide"/> + + </info> + <title>Regress.FooAddressType</title> + + + + + + + + +<terms> +<item> +<title><code>FooAddressType.INVALID</code></title> + +</item> +<item> +<title><code>FooAddressType.IPV4</code></title> + +</item> +<item> +<title><code>FooAddressType.IPV6</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooBRect.add.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooBRect.add.page new file mode 100644 index 00000000..c7e03ace --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooBRect.add.page @@ -0,0 +1,55 @@ +<?xml version="1.0"?> +<page id="Regress.FooBRect.add" + 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.FooBRect" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_foo_brect_add</api:name> + <api:arg> + <api:type>Regress.FooBRect</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>Regress.FooBRect</api:type> + <api:name>b2</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.FooBRect.add</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooBRect, Regress.FooBRect) +@returns(none) +def add(self, b2): + # Python wrapper for regress_foo_brect_add() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +<item> +<title><code>b2</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooBRect.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooBRect.page new file mode 100644 index 00000000..fd1e9d6e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooBRect.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooBRect" + type="guide" + style="record" + 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="record" type="guide"/> + + </info> + <title>Regress.FooBRect</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooBUnion.get_contained_type.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooBUnion.get_contained_type.page new file mode 100644 index 00000000..4052ec56 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooBUnion.get_contained_type.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.FooBUnion.get_contained_type" + 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.FooBUnion" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>int</api:type> + </api:returns> + <api:name>regress_foo_bunion_get_contained_type</api:name> + <api:arg> + <api:type>Regress.FooBUnion</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.FooBUnion.get_contained_type</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooBUnion) +@returns(int) +def get_contained_type(self): + # Python wrapper for regress_foo_bunion_get_contained_type() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooBUnion.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooBUnion.page new file mode 100644 index 00000000..8644d96e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooBUnion.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooBUnion" + type="topic" + style="default" + 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"/> + + </info> + <title>Regress.FooBUnion</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooBoxed.method.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooBoxed.method.page new file mode 100644 index 00000000..95f06fbb --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooBoxed.method.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.FooBoxed.method" + 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.FooBoxed" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_foo_boxed_method</api:name> + <api:arg> + <api:type>Regress.FooBoxed</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.FooBoxed.method</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooBoxed) +@returns(none) +def method(self): + # Python wrapper for regress_foo_boxed_method() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooBoxed.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooBoxed.page new file mode 100644 index 00000000..bca1f99a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooBoxed.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooBoxed" + type="guide" + style="record" + 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="record" type="guide"/> + + </info> + <title>Regress.FooBoxed</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooBuffer.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooBuffer.page new file mode 100644 index 00000000..1a515428 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooBuffer.page @@ -0,0 +1,65 @@ +<?xml version="1.0"?> +<page id="Regress.FooBuffer" + 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="class" type="guide"/> + + </info> + <title>Regress.FooBuffer</title> + + <synopsis><code> +from gi.repository import Regress + +foo_buffer = Regress.FooBuffer() </code></synopsis> + + + + + + + + <synopsis> + <title>Hierarchy</title> + <tree> + <item> + <code>GObject.Object</code> + <item> + <code>Regress.FooObject</code> + <item> + <code>Regress.FooBuffer</code> + </item> + </item> + </item> + </tree> + </synopsis> + + + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + groups="function" style="linklist"> + <title>Functions</title> + </links> + <links type="topic" ui:expanded="true" groups="property" style="linklist"> + <title>Properties</title> + </links> + <links type="topic" ui:expanded="true" groups="signal" style="linklist"> + <title>Signals</title> + </links> + <links type="topic" ui:expanded="true" groups="vfunc" style="linklist"> + <title>Virtual functions</title> + </links> + <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist"> + <title>Other</title> + </links> + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooBuffer.some_method.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooBuffer.some_method.page new file mode 100644 index 00000000..e971b2d6 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooBuffer.some_method.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.FooBuffer.some_method" + 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.FooBuffer" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_foo_buffer_some_method</api:name> + <api:arg> + <api:type>Regress.FooBuffer</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.FooBuffer.some_method</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooBuffer) +@returns(none) +def some_method(self): + # Python wrapper for regress_foo_buffer_some_method() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooCallback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooCallback.page new file mode 100644 index 00000000..52feda29 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooCallback.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooCallback" + type="topic" + style="default" + 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"/> + + </info> + <title>Regress.FooCallback</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooDBusData.method.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooDBusData.method.page new file mode 100644 index 00000000..fe1b6472 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooDBusData.method.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.FooDBusData.method" + 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.FooDBusData" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_foo_dbus_data_method</api:name> + <api:arg> + <api:type>Regress.FooDBusData</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.FooDBusData.method</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooDBusData) +@returns(none) +def method(self): + # Python wrapper for regress_foo_dbus_data_method() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooDBusData.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooDBusData.page new file mode 100644 index 00000000..b4eaeade --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooDBusData.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooDBusData" + type="guide" + style="record" + 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="record" type="guide"/> + + </info> + <title>Regress.FooDBusData</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooEnumFullname.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooEnumFullname.page new file mode 100644 index 00000000..00169aaf --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooEnumFullname.page @@ -0,0 +1,39 @@ +<?xml version="1.0"?> +<page id="Regress.FooEnumFullname" + type="topic" + style="enum" + 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="enum" type="guide"/> + + </info> + <title>Regress.FooEnumFullname</title> + + + + + + + + +<terms> +<item> +<title><code>FooEnumFullname.ONE</code></title> + +</item> +<item> +<title><code>FooEnumFullname.TWO</code></title> + +</item> +<item> +<title><code>FooEnumFullname.THREE</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooEnumNoType.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooEnumNoType.page new file mode 100644 index 00000000..d2b41e61 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooEnumNoType.page @@ -0,0 +1,43 @@ +<?xml version="1.0"?> +<page id="Regress.FooEnumNoType" + type="topic" + style="enum" + 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="enum" type="guide"/> + + </info> + <title>Regress.FooEnumNoType</title> + + + + + + + + +<terms> +<item> +<title><code>FooEnumNoType.UN</code></title> + +</item> +<item> +<title><code>FooEnumNoType.DEUX</code></title> + +</item> +<item> +<title><code>FooEnumNoType.TROIS</code></title> + +</item> +<item> +<title><code>FooEnumNoType.NEUF</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooEnumType.method.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooEnumType.method.page new file mode 100644 index 00000000..a802f265 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooEnumType.method.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.FooEnumType.method" + 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>int</api:type> + </api:returns> + <api:name>regress_foo_enum_type_method</api:name> + <api:arg> + <api:type>Regress.FooEnumType</api:type> + <api:name>regress_foo_enum</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.method</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooEnumType) +@returns(int) +def method(regress_foo_enum): + # Python wrapper for regress_foo_enum_type_method() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>regress_foo_enum</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooEnumType.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooEnumType.page new file mode 100644 index 00000000..c3ff89b3 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooEnumType.page @@ -0,0 +1,39 @@ +<?xml version="1.0"?> +<page id="Regress.FooEnumType" + type="topic" + style="enum" + 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="enum" type="guide"/> + + </info> + <title>Regress.FooEnumType</title> + + + + + + + + +<terms> +<item> +<title><code>FooEnumType.ALPHA</code></title> + +</item> +<item> +<title><code>FooEnumType.BETA</code></title> + +</item> +<item> +<title><code>FooEnumType.DELTA</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooEnumType.returnv.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooEnumType.returnv.page new file mode 100644 index 00000000..149cc4fe --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooEnumType.returnv.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.FooEnumType.returnv" + 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>Regress.FooEnumType</api:type> + </api:returns> + <api:name>regress_foo_enum_type_returnv</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.returnv</title> + +<synopsis><code mime="text/x-python"> +@accepts(int) +@returns(Regress.FooEnumType) +def returnv(x): + # Python wrapper for regress_foo_enum_type_returnv() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>x</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooError.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooError.page new file mode 100644 index 00000000..8c0b6a23 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooError.page @@ -0,0 +1,39 @@ +<?xml version="1.0"?> +<page id="Regress.FooError" + type="topic" + style="enum" + 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="enum" type="guide"/> + + </info> + <title>Regress.FooError</title> + + + + + + + + +<terms> +<item> +<title><code>FooError.GOOD</code></title> + +</item> +<item> +<title><code>FooError.BAD</code></title> + +</item> +<item> +<title><code>FooError.UGLY</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooError.quark.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooError.quark.page new file mode 100644 index 00000000..81f81a7d --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooError.quark.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.FooError.quark" + 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>GLib.Quark</api:type> + </api:returns> + <api:name>regress_foo_error_quark</api:name> + </api:function> + + </info> + <title>Index.quark</title> + +<synopsis><code mime="text/x-python"> +@returns(GLib.Quark) +def quark(): + # Python wrapper for regress_foo_error_quark() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooEvent.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooEvent.page new file mode 100644 index 00000000..ce368302 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooEvent.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooEvent" + type="topic" + style="default" + 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"/> + + </info> + <title>Regress.FooEvent</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooEventAny.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooEventAny.page new file mode 100644 index 00000000..562ec03c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooEventAny.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooEventAny" + type="guide" + style="record" + 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="record" type="guide"/> + + </info> + <title>Regress.FooEventAny</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooEventExpose.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooEventExpose.page new file mode 100644 index 00000000..0000add5 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooEventExpose.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooEventExpose" + type="guide" + style="record" + 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="record" type="guide"/> + + </info> + <title>Regress.FooEventExpose</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooFlagsNoType.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooFlagsNoType.page new file mode 100644 index 00000000..53539d49 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooFlagsNoType.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooFlagsNoType" + type="topic" + style="default" + 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"/> + + </info> + <title>Regress.FooFlagsNoType</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooFlagsType.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooFlagsType.page new file mode 100644 index 00000000..2b4afeb5 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooFlagsType.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooFlagsType" + type="topic" + style="default" + 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"/> + + </info> + <title>Regress.FooFlagsType</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooForeignStruct.copy.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooForeignStruct.copy.page new file mode 100644 index 00000000..1dbb5dc0 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooForeignStruct.copy.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.FooForeignStruct.copy" + 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.FooForeignStruct" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>Regress.FooForeignStruct</api:type> + </api:returns> + <api:name>regress_foo_foreign_struct_copy</api:name> + <api:arg> + <api:type>Regress.FooForeignStruct</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.FooForeignStruct.copy</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooForeignStruct) +@returns(Regress.FooForeignStruct) +def copy(self): + # Python wrapper for regress_foo_foreign_struct_copy() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooForeignStruct.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooForeignStruct.page new file mode 100644 index 00000000..312994a9 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooForeignStruct.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooForeignStruct" + type="guide" + style="record" + 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="record" type="guide"/> + + </info> + <title>Regress.FooForeignStruct</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooInterface-do_regress_foo.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooInterface-do_regress_foo.page new file mode 100644 index 00000000..d0be1eb5 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooInterface-do_regress_foo.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.FooInterface-do_regress_foo" + type="topic" + style="vfunc" + 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.FooInterface" group="vfunc" type="guide"/> + + </info> + <title>Regress.FooInterface::do_regress_foo</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooInterface, int) +@returns(none) +def do_do_regress_foo(self, x): +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +<item> +<title><code>x</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooInterface.do_regress_foo.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooInterface.do_regress_foo.page new file mode 100644 index 00000000..3b2f26d6 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooInterface.do_regress_foo.page @@ -0,0 +1,55 @@ +<?xml version="1.0"?> +<page id="Regress.FooInterface.do_regress_foo" + 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.FooInterface" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_foo_interface_do_regress_foo</api:name> + <api:arg> + <api:type>Regress.FooInterface</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.FooInterface.do_regress_foo</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooInterface, int) +@returns(none) +def do_regress_foo(self, x): + # Python wrapper for regress_foo_interface_do_regress_foo() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +<item> +<title><code>x</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooInterface.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooInterface.page new file mode 100644 index 00000000..d2a482f7 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooInterface.page @@ -0,0 +1,59 @@ +<?xml version="1.0"?> +<page id="Regress.FooInterface" + 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="class" type="guide"/> + + </info> + <title>Regress.FooInterface</title> + + <synopsis><code> +from gi.repository import Regress + +foo_interface = Regress.FooInterface() </code></synopsis> + + + + + + + + <synopsis> + <title>Hierarchy</title> + <tree> + <item> + <code>Regress.FooInterface</code> + </item> + </tree> + </synopsis> + + + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + groups="function" style="linklist"> + <title>Functions</title> + </links> + <links type="topic" ui:expanded="true" groups="property" style="linklist"> + <title>Properties</title> + </links> + <links type="topic" ui:expanded="true" groups="signal" style="linklist"> + <title>Signals</title> + </links> + <links type="topic" ui:expanded="true" groups="vfunc" style="linklist"> + <title>Virtual functions</title> + </links> + <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist"> + <title>Other</title> + </links> + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooInterface.static_method.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooInterface.static_method.page new file mode 100644 index 00000000..1c6c1660 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooInterface.static_method.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.FooInterface.static_method" + 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="Regress.FooInterface" group="function" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_foo_interface_static_method</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.FooInterface.static_method</title> + +<synopsis><code mime="text/x-python"> +@accepts(int) +@returns(none) +def static_method(x): + # Python wrapper for regress_foo_interface_static_method() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>x</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject-read_fn.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject-read_fn.page new file mode 100644 index 00000000..6cf532b8 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject-read_fn.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject-read_fn" + type="topic" + style="vfunc" + 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.FooObject" group="vfunc" type="guide"/> + + </info> + <title>Regress.FooObject::read_fn</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooObject, int, int) +@returns(none) +def do_read_fn(object, offset, length): +</code></synopsis> + + + <p>Read some stuff.</p> + + + + +<terms> +<item> +<title><code>object</code></title> +<p>obj</p> +</item> +<item> +<title><code>offset</code></title> +<p>offset</p> +</item> +<item> +<title><code>length</code></title> +<p>length</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject-signal.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject-signal.page new file mode 100644 index 00000000..ee6c20c5 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject-signal.page @@ -0,0 +1,53 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject-signal" + 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.FooObject" group="signal" type="guide"/> + <title type="link" role="topic">signal</title> + + </info> + <title>Regress.FooObject::signal</title> + +<synopsis><code mime="text/x-python"> +def callback(foo_object, object, p0, user_param1, ...) +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>foo_object</code></title> +<p>instance of <link xref="Regress.FooObject"/> that is emitting the signal</p> +</item> +<item> +<title><code>object</code></title> + +</item> +<item> +<title><code>p0</code></title> + +</item> +<title><code>user_param1</code></title> +<p>first user parameter (if any) specified with the connect() method</p> +<item> +<title><code>...</code></title> +<p>additional user parameters (if any)</p> +</item> +<item> +<title><code>Returns</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject-string.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject-string.page new file mode 100644 index 00000000..9d61f3ab --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject-string.page @@ -0,0 +1,29 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject-string" + type="topic" + style="property" + 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.FooObject" group="property" type="guide"/> + <title type="link" role="topic">string</title> + + </info> + <title>Regress.FooObject:string</title> + +<synopsis><code mime="text/x-python"> +"string" unicode : Read / Write / Construct +</code></synopsis> + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject-virtual_method.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject-virtual_method.page new file mode 100644 index 00000000..01cf6dba --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject-virtual_method.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject-virtual_method" + type="topic" + style="vfunc" + 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.FooObject" group="vfunc" type="guide"/> + + </info> + <title>Regress.FooObject::virtual_method</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooObject, int) +@returns(bool) +def do_virtual_method(object, first_param): +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>object</code></title> + +</item> +<item> +<title><code>first_param</code></title> + +</item> +<item> +<title><code>Returns</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.a_global_method.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.a_global_method.page new file mode 100644 index 00000000..87645bcf --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.a_global_method.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject.a_global_method" + 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="Regress.FooObject" group="function" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_foo_object_a_global_method</api:name> + <api:arg> + <api:type>Utility.Object</api:type> + <api:name>obj</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.FooObject.a_global_method</title> + +<synopsis><code mime="text/x-python"> +@accepts(Utility.Object) +@returns(none) +def a_global_method(obj): + # Python wrapper for regress_foo_object_a_global_method() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>obj</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.append_new_stack_layer.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.append_new_stack_layer.page new file mode 100644 index 00000000..23ba26b8 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.append_new_stack_layer.page @@ -0,0 +1,59 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject.append_new_stack_layer" + 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.FooObject" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>Regress.FooOtherObject</api:type> + </api:returns> + <api:name>regress_foo_object_append_new_stack_layer</api:name> + <api:arg> + <api:type>Regress.FooObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.FooObject.append_new_stack_layer</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooObject, int) +@returns(Regress.FooOtherObject) +def append_new_stack_layer(self, x): + # Python wrapper for regress_foo_object_append_new_stack_layer() +</code></synopsis> + + + <p>This shouldn't be scanned as a constructor.</p> + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +<item> +<title><code>x</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.dup_name.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.dup_name.page new file mode 100644 index 00000000..dcc20f6c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.dup_name.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject.dup_name" + 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.FooObject" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>unicode</api:type> + </api:returns> + <api:name>regress_foo_object_dup_name</api:name> + <api:arg> + <api:type>Regress.FooObject</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.FooObject.dup_name</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooObject) +@returns(unicode) +def dup_name(self): + # Python wrapper for regress_foo_object_dup_name() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.external_type.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.external_type.page new file mode 100644 index 00000000..0b32befd --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.external_type.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject.external_type" + 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.FooObject" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>Utility.Object</api:type> + </api:returns> + <api:name>regress_foo_object_external_type</api:name> + <api:arg> + <api:type>Regress.FooObject</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.FooObject.external_type</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooObject) +@returns(Utility.Object) +def external_type(self): + # Python wrapper for regress_foo_object_external_type() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> +<p>a <link xref="Regress.FooObject"/></p> +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.get_default.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.get_default.page new file mode 100644 index 00000000..826efd85 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.get_default.page @@ -0,0 +1,43 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject.get_default" + 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="Regress.FooObject" group="function" type="guide"/> + <api:function> + <api:returns> + <api:type>Regress.FooSubobject</api:type> + </api:returns> + <api:name>regress_foo_object_get_default</api:name> + </api:function> + + </info> + <title>Regress.FooObject.get_default</title> + +<synopsis><code mime="text/x-python"> +@returns(Regress.FooSubobject) +def get_default(): + # Python wrapper for regress_foo_object_get_default() +</code></synopsis> + + + <p>This function is intended to match clutter_stage_get_default which +uses a C sugar return type.</p> + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.get_name.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.get_name.page new file mode 100644 index 00000000..e66d4932 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.get_name.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject.get_name" + 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.FooObject" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>unicode</api:type> + </api:returns> + <api:name>regress_foo_object_get_name</api:name> + <api:arg> + <api:type>Regress.FooObject</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.FooObject.get_name</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooObject) +@returns(unicode) +def get_name(self): + # Python wrapper for regress_foo_object_get_name() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.handle_glyph.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.handle_glyph.page new file mode 100644 index 00000000..e171f820 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.handle_glyph.page @@ -0,0 +1,55 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject.handle_glyph" + 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.FooObject" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_foo_object_handle_glyph</api:name> + <api:arg> + <api:type>Regress.FooObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>Utility.Glyph</api:type> + <api:name>glyph</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.FooObject.handle_glyph</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooObject, Utility.Glyph) +@returns(none) +def handle_glyph(self, glyph): + # Python wrapper for regress_foo_object_handle_glyph() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +<item> +<title><code>glyph</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.is_it_time_yet.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.is_it_time_yet.page new file mode 100644 index 00000000..1781562f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.is_it_time_yet.page @@ -0,0 +1,55 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject.is_it_time_yet" + 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.FooObject" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_foo_object_is_it_time_yet</api:name> + <api:arg> + <api:type>Regress.FooObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>time</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.FooObject.is_it_time_yet</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooObject, int) +@returns(none) +def is_it_time_yet(self, time): + # Python wrapper for regress_foo_object_is_it_time_yet() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +<item> +<title><code>time</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.page new file mode 100644 index 00000000..3265e6b5 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.page @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject" + 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="class" type="guide"/> + + </info> + <title>Regress.FooObject</title> + + <synopsis><code> +from gi.repository import Regress + +foo_object = Regress.FooObject(<link xref='Regress.FooObject-hidden'>hidden</link>=value, <link xref='Regress.FooObject-string'>string</link>=value) </code></synopsis> + + + + + + + + <synopsis> + <title>Hierarchy</title> + <tree> + <item> + <code>GObject.Object</code> + <item> + <code>Regress.FooObject</code> + </item> + </item> + </tree> + </synopsis> + + + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + groups="function" style="linklist"> + <title>Functions</title> + </links> + <links type="topic" ui:expanded="true" groups="property" style="linklist"> + <title>Properties</title> + </links> + <links type="topic" ui:expanded="true" groups="signal" style="linklist"> + <title>Signals</title> + </links> + <links type="topic" ui:expanded="true" groups="vfunc" style="linklist"> + <title>Virtual functions</title> + </links> + <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist"> + <title>Other</title> + </links> + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.read.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.read.page new file mode 100644 index 00000000..88dee520 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.read.page @@ -0,0 +1,63 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject.read" + 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.FooObject" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_foo_object_read</api:name> + <api:arg> + <api:type>Regress.FooObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>offset</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>length</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.FooObject.read</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooObject, int, int) +@returns(none) +def read(self, offset, length): + # Python wrapper for regress_foo_object_read() +</code></synopsis> + + + <p>Read some stuff.</p> + + + + +<terms> +<item> +<title><code>self</code></title> +<p>obj</p> +</item> +<item> +<title><code>offset</code></title> +<p>offset</p> +</item> +<item> +<title><code>length</code></title> +<p>length</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.static_meth.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.static_meth.page new file mode 100644 index 00000000..c652a104 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.static_meth.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject.static_meth" + 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="Regress.FooObject" group="function" type="guide"/> + <api:function> + <api:returns> + <api:type>int</api:type> + </api:returns> + <api:name>regress_foo_object_static_meth</api:name> + </api:function> + + </info> + <title>Regress.FooObject.static_meth</title> + +<synopsis><code mime="text/x-python"> +@returns(int) +def static_meth(): + # Python wrapper for regress_foo_object_static_meth() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.various.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.various.page new file mode 100644 index 00000000..efdc5c45 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.various.page @@ -0,0 +1,63 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject.various" + 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.FooObject" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_foo_object_various</api:name> + <api:arg> + <api:type>Regress.FooObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>gpointer</api:type> + <api:name>data</api:name> + </api:arg> + <api:arg> + <api:type>GType</api:type> + <api:name>some_type</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.FooObject.various</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooObject, gpointer, GType) +@returns(none) +def various(self, data, some_type): + # Python wrapper for regress_foo_object_various() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +<item> +<title><code>data</code></title> + +</item> +<item> +<title><code>some_type</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.virtual_method.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.virtual_method.page new file mode 100644 index 00000000..f4920bed --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.virtual_method.page @@ -0,0 +1,59 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject.virtual_method" + 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.FooObject" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>bool</api:type> + </api:returns> + <api:name>regress_foo_object_virtual_method</api:name> + <api:arg> + <api:type>Regress.FooObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>first_param</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.FooObject.virtual_method</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooObject, int) +@returns(bool) +def virtual_method(self, first_param): + # Python wrapper for regress_foo_object_virtual_method() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +<item> +<title><code>first_param</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooObjectCookie.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObjectCookie.page new file mode 100644 index 00000000..44a63ab1 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObjectCookie.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooObjectCookie" + type="topic" + style="default" + 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"/> + + </info> + <title>Regress.FooObjectCookie</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooOtherObject.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooOtherObject.page new file mode 100644 index 00000000..dadf5236 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooOtherObject.page @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<page id="Regress.FooOtherObject" + 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="class" type="guide"/> + + </info> + <title>Regress.FooOtherObject</title> + + <synopsis><code> +from gi.repository import Regress + +foo_other_object = Regress.FooOtherObject() </code></synopsis> + + + + + + + + <synopsis> + <title>Hierarchy</title> + <tree> + <item> + <code>GObject.Object</code> + <item> + <code>Regress.FooOtherObject</code> + </item> + </item> + </tree> + </synopsis> + + + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + groups="function" style="linklist"> + <title>Functions</title> + </links> + <links type="topic" ui:expanded="true" groups="property" style="linklist"> + <title>Properties</title> + </links> + <links type="topic" ui:expanded="true" groups="signal" style="linklist"> + <title>Signals</title> + </links> + <links type="topic" ui:expanded="true" groups="vfunc" style="linklist"> + <title>Virtual functions</title> + </links> + <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist"> + <title>Other</title> + </links> + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooRectangle.add.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooRectangle.add.page new file mode 100644 index 00000000..fe924f40 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooRectangle.add.page @@ -0,0 +1,55 @@ +<?xml version="1.0"?> +<page id="Regress.FooRectangle.add" + 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.FooRectangle" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_foo_rectangle_add</api:name> + <api:arg> + <api:type>Regress.FooRectangle</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>Regress.FooRectangle</api:type> + <api:name>r2</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.FooRectangle.add</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooRectangle, Regress.FooRectangle) +@returns(none) +def add(self, r2): + # Python wrapper for regress_foo_rectangle_add() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> +<p>add to this rect</p> +</item> +<item> +<title><code>r2</code></title> +<p>source rectangle</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooRectangle.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooRectangle.page new file mode 100644 index 00000000..0cfef622 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooRectangle.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooRectangle" + type="guide" + style="record" + 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="record" type="guide"/> + + </info> + <title>Regress.FooRectangle</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooStackLayer.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooStackLayer.page new file mode 100644 index 00000000..8a08c9ae --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooStackLayer.page @@ -0,0 +1,63 @@ +<?xml version="1.0"?> +<page id="Regress.FooStackLayer" + type="topic" + style="enum" + 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="enum" type="guide"/> + + </info> + <title>Regress.FooStackLayer</title> + + + + + + + + +<terms> +<item> +<title><code>FooStackLayer.DESKTOP</code></title> + +</item> +<item> +<title><code>FooStackLayer.BOTTOM</code></title> + +</item> +<item> +<title><code>FooStackLayer.NORMAL</code></title> + +</item> +<item> +<title><code>FooStackLayer.TOP</code></title> + +</item> +<item> +<title><code>FooStackLayer.DOCK</code></title> + +</item> +<item> +<title><code>FooStackLayer.FULLSCREEN</code></title> + +</item> +<item> +<title><code>FooStackLayer.FOCUSED_WINDOW</code></title> + +</item> +<item> +<title><code>FooStackLayer.OVERRIDE_REDIRECT</code></title> + +</item> +<item> +<title><code>FooStackLayer.LAST</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooStruct.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooStruct.page new file mode 100644 index 00000000..84f5d192 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooStruct.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooStruct" + type="guide" + style="record" + 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="record" type="guide"/> + + </info> + <title>Regress.FooStruct</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface-destroy-event.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface-destroy-event.page new file mode 100644 index 00000000..a42bb176 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface-destroy-event.page @@ -0,0 +1,41 @@ +<?xml version="1.0"?> +<page id="Regress.FooSubInterface-destroy-event" + 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.FooSubInterface" group="signal" type="guide"/> + <title type="link" role="topic">destroy-event</title> + + </info> + <title>Regress.FooSubInterface::destroy-event</title> + +<synopsis><code mime="text/x-python"> +def callback(foo_sub_interface, user_param1, ...) +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>foo_sub_interface</code></title> +<p>instance of <link xref="Regress.FooSubInterface"/> that is emitting the signal</p> +</item> +<title><code>user_param1</code></title> +<p>first user parameter (if any) specified with the connect() method</p> +<item> +<title><code>...</code></title> +<p>additional user parameters (if any)</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface-destroy_event.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface-destroy_event.page new file mode 100644 index 00000000..82dbc622 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface-destroy_event.page @@ -0,0 +1,36 @@ +<?xml version="1.0"?> +<page id="Regress.FooSubInterface-destroy_event" + type="topic" + style="vfunc" + 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.FooSubInterface" group="vfunc" type="guide"/> + + </info> + <title>Regress.FooSubInterface::destroy_event</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooSubInterface) +@returns(none) +def do_destroy_event(self): +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface-do_bar.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface-do_bar.page new file mode 100644 index 00000000..a035189a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface-do_bar.page @@ -0,0 +1,36 @@ +<?xml version="1.0"?> +<page id="Regress.FooSubInterface-do_bar" + type="topic" + style="vfunc" + 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.FooSubInterface" group="vfunc" type="guide"/> + + </info> + <title>Regress.FooSubInterface::do_bar</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooSubInterface) +@returns(none) +def do_do_bar(self): +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface-do_baz.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface-do_baz.page new file mode 100644 index 00000000..3b0404fa --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface-do_baz.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.FooSubInterface-do_baz" + type="topic" + style="vfunc" + 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.FooSubInterface" group="vfunc" type="guide"/> + + </info> + <title>Regress.FooSubInterface::do_baz</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooSubInterface, GObject.Callback, gpointer) +@returns(none) +def do_do_baz(self, callback, user_data): +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +<item> +<title><code>callback</code></title> + +</item> +<item> +<title><code>user_data</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface.do_bar.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface.do_bar.page new file mode 100644 index 00000000..1ecac0d2 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface.do_bar.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.FooSubInterface.do_bar" + 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.FooSubInterface" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_foo_sub_interface_do_bar</api:name> + <api:arg> + <api:type>Regress.FooSubInterface</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.FooSubInterface.do_bar</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooSubInterface) +@returns(none) +def do_bar(self): + # Python wrapper for regress_foo_sub_interface_do_bar() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface.do_baz.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface.do_baz.page new file mode 100644 index 00000000..071fb0d5 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface.do_baz.page @@ -0,0 +1,63 @@ +<?xml version="1.0"?> +<page id="Regress.FooSubInterface.do_baz" + 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.FooSubInterface" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_foo_sub_interface_do_baz</api:name> + <api:arg> + <api:type>Regress.FooSubInterface</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>GObject.Callback</api:type> + <api:name>callback</api:name> + </api:arg> + <api:arg> + <api:type>gpointer</api:type> + <api:name>user_data</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.FooSubInterface.do_baz</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooSubInterface, GObject.Callback, gpointer) +@returns(none) +def do_baz(self, callback, user_data): + # Python wrapper for regress_foo_sub_interface_do_baz() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +<item> +<title><code>callback</code></title> + +</item> +<item> +<title><code>user_data</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface.page new file mode 100644 index 00000000..81593d32 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface.page @@ -0,0 +1,59 @@ +<?xml version="1.0"?> +<page id="Regress.FooSubInterface" + 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="class" type="guide"/> + + </info> + <title>Regress.FooSubInterface</title> + + <synopsis><code> +from gi.repository import Regress + +foo_sub_interface = Regress.FooSubInterface() </code></synopsis> + + + + + + + + <synopsis> + <title>Hierarchy</title> + <tree> + <item> + <code>Regress.FooSubInterface</code> + </item> + </tree> + </synopsis> + + + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + groups="function" style="linklist"> + <title>Functions</title> + </links> + <links type="topic" ui:expanded="true" groups="property" style="linklist"> + <title>Properties</title> + </links> + <links type="topic" ui:expanded="true" groups="signal" style="linklist"> + <title>Signals</title> + </links> + <links type="topic" ui:expanded="true" groups="vfunc" style="linklist"> + <title>Virtual functions</title> + </links> + <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist"> + <title>Other</title> + </links> + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubobject.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubobject.page new file mode 100644 index 00000000..fc7b5ad1 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubobject.page @@ -0,0 +1,65 @@ +<?xml version="1.0"?> +<page id="Regress.FooSubobject" + 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="class" type="guide"/> + + </info> + <title>Regress.FooSubobject</title> + + <synopsis><code> +from gi.repository import Regress + +foo_subobject = Regress.FooSubobject() </code></synopsis> + + + + + + + + <synopsis> + <title>Hierarchy</title> + <tree> + <item> + <code>GObject.Object</code> + <item> + <code>Regress.FooObject</code> + <item> + <code>Regress.FooSubobject</code> + </item> + </item> + </item> + </tree> + </synopsis> + + + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + groups="function" style="linklist"> + <title>Functions</title> + </links> + <links type="topic" ui:expanded="true" groups="property" style="linklist"> + <title>Properties</title> + </links> + <links type="topic" ui:expanded="true" groups="signal" style="linklist"> + <title>Signals</title> + </links> + <links type="topic" ui:expanded="true" groups="vfunc" style="linklist"> + <title>Virtual functions</title> + </links> + <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist"> + <title>Other</title> + </links> + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooThingWithArray.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooThingWithArray.page new file mode 100644 index 00000000..430dce7c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooThingWithArray.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooThingWithArray" + type="guide" + style="record" + 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="record" type="guide"/> + + </info> + <title>Regress.FooThingWithArray</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooUnion.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooUnion.page new file mode 100644 index 00000000..9746f17e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooUnion.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooUnion" + type="topic" + style="default" + 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"/> + + </info> + <title>Regress.FooUnion</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooUtilityStruct.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooUtilityStruct.page new file mode 100644 index 00000000..2b94f691 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooUtilityStruct.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooUtilityStruct" + type="guide" + style="record" + 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="record" type="guide"/> + + </info> + <title>Regress.FooUtilityStruct</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooXEvent.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooXEvent.page new file mode 100644 index 00000000..c389ef05 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooXEvent.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooXEvent" + type="topic" + style="default" + 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"/> + + </info> + <title>Regress.FooXEvent</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.LikeGnomeKeyringPasswordSchema.page b/tests/scanner/Regress-1.0-Python-expected/Regress.LikeGnomeKeyringPasswordSchema.page new file mode 100644 index 00000000..44a946ee --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.LikeGnomeKeyringPasswordSchema.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.LikeGnomeKeyringPasswordSchema" + type="guide" + style="record" + 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="record" type="guide"/> + + </info> + <title>Regress.LikeGnomeKeyringPasswordSchema</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.LikeXklConfigItem.page b/tests/scanner/Regress-1.0-Python-expected/Regress.LikeXklConfigItem.page new file mode 100644 index 00000000..fb4831f5 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.LikeXklConfigItem.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.LikeXklConfigItem" + type="guide" + style="record" + 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="record" type="guide"/> + + </info> + <title>Regress.LikeXklConfigItem</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.LikeXklConfigItem.set_name.page b/tests/scanner/Regress-1.0-Python-expected/Regress.LikeXklConfigItem.set_name.page new file mode 100644 index 00000000..a6815c8b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.LikeXklConfigItem.set_name.page @@ -0,0 +1,55 @@ +<?xml version="1.0"?> +<page id="Regress.LikeXklConfigItem.set_name" + 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.LikeXklConfigItem" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_like_xkl_config_item_set_name</api:name> + <api:arg> + <api:type>Regress.LikeXklConfigItem</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>unicode</api:type> + <api:name>name</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.LikeXklConfigItem.set_name</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.LikeXklConfigItem, unicode) +@returns(none) +def set_name(self, name): + # Python wrapper for regress_like_xkl_config_item_set_name() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +<item> +<title><code>name</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.PtrArrayAlias.page b/tests/scanner/Regress-1.0-Python-expected/Regress.PtrArrayAlias.page new file mode 100644 index 00000000..f66aee44 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.PtrArrayAlias.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.PtrArrayAlias" + type="topic" + style="default" + 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"/> + + </info> + <title>Regress.PtrArrayAlias</title> + + + + <p>Typedef'd GPtrArray for some reason</p> + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestABCError.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestABCError.page new file mode 100644 index 00000000..f31b58ec --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestABCError.page @@ -0,0 +1,39 @@ +<?xml version="1.0"?> +<page id="Regress.TestABCError" + type="topic" + style="enum" + 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="enum" type="guide"/> + + </info> + <title>Regress.TestABCError</title> + + + + + + + + +<terms> +<item> +<title><code>TestABCError.CODE1</code></title> + +</item> +<item> +<title><code>TestABCError.CODE2</code></title> + +</item> +<item> +<title><code>TestABCError.CODE3</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestABCError.quark.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestABCError.quark.page new file mode 100644 index 00000000..8a8114df --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestABCError.quark.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.TestABCError.quark" + 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>GLib.Quark</api:type> + </api:returns> + <api:name>regress_test_abc_error_quark</api:name> + </api:function> + + </info> + <title>Index.quark</title> + +<synopsis><code mime="text/x-python"> +@returns(GLib.Quark) +def quark(): + # Python wrapper for regress_test_abc_error_quark() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxed.copy.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxed.copy.page new file mode 100644 index 00000000..6e69b52e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxed.copy.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.TestBoxed.copy" + 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.TestBoxed" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>Regress.TestBoxed</api:type> + </api:returns> + <api:name>regress_test_boxed_copy</api:name> + <api:arg> + <api:type>Regress.TestBoxed</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestBoxed.copy</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestBoxed) +@returns(Regress.TestBoxed) +def copy(self): + # Python wrapper for regress_test_boxed_copy() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxed.equals.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxed.equals.page new file mode 100644 index 00000000..b4e88aaf --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxed.equals.page @@ -0,0 +1,59 @@ +<?xml version="1.0"?> +<page id="Regress.TestBoxed.equals" + 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.TestBoxed" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>bool</api:type> + </api:returns> + <api:name>regress_test_boxed_equals</api:name> + <api:arg> + <api:type>Regress.TestBoxed</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>Regress.TestBoxed</api:type> + <api:name>other</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestBoxed.equals</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestBoxed, Regress.TestBoxed) +@returns(bool) +def equals(self, other): + # Python wrapper for regress_test_boxed_equals() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +<item> +<title><code>other</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxed.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxed.page new file mode 100644 index 00000000..baa423f2 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxed.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestBoxed" + type="guide" + style="record" + 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="record" type="guide"/> + + </info> + <title>Regress.TestBoxed</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedB.copy.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedB.copy.page new file mode 100644 index 00000000..2629154a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedB.copy.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.TestBoxedB.copy" + 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.TestBoxedB" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>Regress.TestBoxedB</api:type> + </api:returns> + <api:name>regress_test_boxed_b_copy</api:name> + <api:arg> + <api:type>Regress.TestBoxedB</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestBoxedB.copy</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestBoxedB) +@returns(Regress.TestBoxedB) +def copy(self): + # Python wrapper for regress_test_boxed_b_copy() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedB.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedB.page new file mode 100644 index 00000000..0e39780b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedB.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestBoxedB" + type="guide" + style="record" + 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="record" type="guide"/> + + </info> + <title>Regress.TestBoxedB</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedC.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedC.page new file mode 100644 index 00000000..18b77d9f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedC.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestBoxedC" + type="guide" + style="record" + 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="record" type="guide"/> + + </info> + <title>Regress.TestBoxedC</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedD.copy.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedD.copy.page new file mode 100644 index 00000000..9910236c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedD.copy.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.TestBoxedD.copy" + 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.TestBoxedD" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>Regress.TestBoxedD</api:type> + </api:returns> + <api:name>regress_test_boxed_d_copy</api:name> + <api:arg> + <api:type>Regress.TestBoxedD</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestBoxedD.copy</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestBoxedD) +@returns(Regress.TestBoxedD) +def copy(self): + # Python wrapper for regress_test_boxed_d_copy() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedD.free.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedD.free.page new file mode 100644 index 00000000..9750cc3f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedD.free.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.TestBoxedD.free" + 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.TestBoxedD" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_test_boxed_d_free</api:name> + <api:arg> + <api:type>Regress.TestBoxedD</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestBoxedD.free</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestBoxedD) +@returns(none) +def free(self): + # Python wrapper for regress_test_boxed_d_free() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedD.get_magic.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedD.get_magic.page new file mode 100644 index 00000000..f050eb66 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedD.get_magic.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.TestBoxedD.get_magic" + 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.TestBoxedD" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>int</api:type> + </api:returns> + <api:name>regress_test_boxed_d_get_magic</api:name> + <api:arg> + <api:type>Regress.TestBoxedD</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestBoxedD.get_magic</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestBoxedD) +@returns(int) +def get_magic(self): + # Python wrapper for regress_test_boxed_d_get_magic() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedD.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedD.page new file mode 100644 index 00000000..995e80dd --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedD.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestBoxedD" + type="guide" + style="record" + 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="record" type="guide"/> + + </info> + <title>Regress.TestBoxedD</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestCallback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestCallback.page new file mode 100644 index 00000000..bed84d50 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestCallback.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestCallback" + type="topic" + style="default" + 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"/> + + </info> + <title>Regress.TestCallback</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestCallbackArray.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestCallbackArray.page new file mode 100644 index 00000000..7d3f7b83 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestCallbackArray.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestCallbackArray" + type="topic" + style="default" + 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"/> + + </info> + <title>Regress.TestCallbackArray</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestCallbackFull.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestCallbackFull.page new file mode 100644 index 00000000..0b8fca1d --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestCallbackFull.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestCallbackFull" + type="topic" + style="default" + 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"/> + + </info> + <title>Regress.TestCallbackFull</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestCallbackGError.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestCallbackGError.page new file mode 100644 index 00000000..804382f5 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestCallbackGError.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestCallbackGError" + type="topic" + style="default" + 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"/> + + </info> + <title>Regress.TestCallbackGError</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestCallbackHashtable.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestCallbackHashtable.page new file mode 100644 index 00000000..06ebb706 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestCallbackHashtable.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestCallbackHashtable" + type="topic" + style="default" + 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"/> + + </info> + <title>Regress.TestCallbackHashtable</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestCallbackOwnedGError.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestCallbackOwnedGError.page new file mode 100644 index 00000000..28b21ea4 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestCallbackOwnedGError.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestCallbackOwnedGError" + type="topic" + style="default" + 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"/> + + </info> + <title>Regress.TestCallbackOwnedGError</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestCallbackUserData.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestCallbackUserData.page new file mode 100644 index 00000000..286c830a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestCallbackUserData.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestCallbackUserData" + type="topic" + style="default" + 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"/> + + </info> + <title>Regress.TestCallbackUserData</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestDEFError.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestDEFError.page new file mode 100644 index 00000000..589059d5 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestDEFError.page @@ -0,0 +1,39 @@ +<?xml version="1.0"?> +<page id="Regress.TestDEFError" + type="topic" + style="enum" + 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="enum" type="guide"/> + + </info> + <title>Regress.TestDEFError</title> + + + + + + + + +<terms> +<item> +<title><code>TestDEFError.CODE0</code></title> + +</item> +<item> +<title><code>TestDEFError.CODE1</code></title> + +</item> +<item> +<title><code>TestDEFError.CODE2</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestEnum.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestEnum.page new file mode 100644 index 00000000..814b474b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestEnum.page @@ -0,0 +1,43 @@ +<?xml version="1.0"?> +<page id="Regress.TestEnum" + type="topic" + style="enum" + 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="enum" type="guide"/> + + </info> + <title>Regress.TestEnum</title> + + + + <p>By purpose, not all members have documentation</p> + + + + +<terms> +<item> +<title><code>TestEnum.VALUE1</code></title> +<p>value 1</p> +</item> +<item> +<title><code>TestEnum.VALUE2</code></title> +<p>value 2</p> +</item> +<item> +<title><code>TestEnum.VALUE3</code></title> + +</item> +<item> +<title><code>TestEnum.VALUE4</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestEnum.param.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestEnum.param.page new file mode 100644 index 00000000..24684786 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestEnum.param.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.TestEnum.param" + 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>unicode</api:type> + </api:returns> + <api:name>regress_test_enum_param</api:name> + <api:arg> + <api:type>Regress.TestEnum</api:type> + <api:name>e</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.param</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestEnum) +@returns(unicode) +def param(e): + # Python wrapper for regress_test_enum_param() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>e</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestEnumNoGEnum.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestEnumNoGEnum.page new file mode 100644 index 00000000..5c0c5594 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestEnumNoGEnum.page @@ -0,0 +1,39 @@ +<?xml version="1.0"?> +<page id="Regress.TestEnumNoGEnum" + type="topic" + style="enum" + 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="enum" type="guide"/> + + </info> + <title>Regress.TestEnumNoGEnum</title> + + + + + + + + +<terms> +<item> +<title><code>TestEnumNoGEnum.EVALUE1</code></title> + +</item> +<item> +<title><code>TestEnumNoGEnum.EVALUE2</code></title> + +</item> +<item> +<title><code>TestEnumNoGEnum.EVALUE3</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestEnumUnsigned.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestEnumUnsigned.page new file mode 100644 index 00000000..df3cfa1e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestEnumUnsigned.page @@ -0,0 +1,35 @@ +<?xml version="1.0"?> +<page id="Regress.TestEnumUnsigned" + type="topic" + style="enum" + 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="enum" type="guide"/> + + </info> + <title>Regress.TestEnumUnsigned</title> + + + + + + + + +<terms> +<item> +<title><code>TestEnumUnsigned.VALUE1</code></title> + +</item> +<item> +<title><code>TestEnumUnsigned.VALUE2</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestError.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestError.page new file mode 100644 index 00000000..d6a6ebb2 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestError.page @@ -0,0 +1,39 @@ +<?xml version="1.0"?> +<page id="Regress.TestError" + type="topic" + style="enum" + 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="enum" type="guide"/> + + </info> + <title>Regress.TestError</title> + + + + + + + + +<terms> +<item> +<title><code>TestError.CODE1</code></title> + +</item> +<item> +<title><code>TestError.CODE2</code></title> + +</item> +<item> +<title><code>TestError.CODE3</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestError.quark.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestError.quark.page new file mode 100644 index 00000000..07a91a37 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestError.quark.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.TestError.quark" + 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>GLib.Quark</api:type> + </api:returns> + <api:name>regress_test_error_quark</api:name> + </api:function> + + </info> + <title>Index.quark</title> + +<synopsis><code mime="text/x-python"> +@returns(GLib.Quark) +def quark(): + # Python wrapper for regress_test_error_quark() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestFlags.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestFlags.page new file mode 100644 index 00000000..d5bfeeb4 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestFlags.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestFlags" + type="topic" + style="default" + 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"/> + + </info> + <title>Regress.TestFlags</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestFloating.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestFloating.page new file mode 100644 index 00000000..a2b80e1d --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestFloating.page @@ -0,0 +1,65 @@ +<?xml version="1.0"?> +<page id="Regress.TestFloating" + 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="class" type="guide"/> + + </info> + <title>Regress.TestFloating</title> + + <synopsis><code> +from gi.repository import Regress + +test_floating = Regress.TestFloating() </code></synopsis> + + + + + + + + <synopsis> + <title>Hierarchy</title> + <tree> + <item> + <code>GObject.Object</code> + <item> + <code>GObject.InitiallyUnowned</code> + <item> + <code>Regress.TestFloating</code> + </item> + </item> + </item> + </tree> + </synopsis> + + + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + groups="function" style="linklist"> + <title>Functions</title> + </links> + <links type="topic" ui:expanded="true" groups="property" style="linklist"> + <title>Properties</title> + </links> + <links type="topic" ui:expanded="true" groups="signal" style="linklist"> + <title>Signals</title> + </links> + <links type="topic" ui:expanded="true" groups="vfunc" style="linklist"> + <title>Virtual functions</title> + </links> + <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist"> + <title>Other</title> + </links> + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestFundamentalObject.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestFundamentalObject.page new file mode 100644 index 00000000..7035407d --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestFundamentalObject.page @@ -0,0 +1,59 @@ +<?xml version="1.0"?> +<page id="Regress.TestFundamentalObject" + 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="class" type="guide"/> + + </info> + <title>Regress.TestFundamentalObject</title> + + <synopsis><code> +from gi.repository import Regress + +test_fundamental_object = Regress.TestFundamentalObject() </code></synopsis> + + + + + + + + <synopsis> + <title>Hierarchy</title> + <tree> + <item> + <code>Regress.TestFundamentalObject</code> + </item> + </tree> + </synopsis> + + + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + groups="function" style="linklist"> + <title>Functions</title> + </links> + <links type="topic" ui:expanded="true" groups="property" style="linklist"> + <title>Properties</title> + </links> + <links type="topic" ui:expanded="true" groups="signal" style="linklist"> + <title>Signals</title> + </links> + <links type="topic" ui:expanded="true" groups="vfunc" style="linklist"> + <title>Virtual functions</title> + </links> + <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist"> + <title>Other</title> + </links> + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestFundamentalObject.ref.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestFundamentalObject.ref.page new file mode 100644 index 00000000..ed3159d0 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestFundamentalObject.ref.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.TestFundamentalObject.ref" + 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.TestFundamentalObject" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>Regress.TestFundamentalObject</api:type> + </api:returns> + <api:name>regress_test_fundamental_object_ref</api:name> + <api:arg> + <api:type>Regress.TestFundamentalObject</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestFundamentalObject.ref</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestFundamentalObject) +@returns(Regress.TestFundamentalObject) +def ref(self): + # Python wrapper for regress_test_fundamental_object_ref() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestFundamentalObject.unref.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestFundamentalObject.unref.page new file mode 100644 index 00000000..1ecf6c1e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestFundamentalObject.unref.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.TestFundamentalObject.unref" + 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.TestFundamentalObject" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_test_fundamental_object_unref</api:name> + <api:arg> + <api:type>Regress.TestFundamentalObject</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestFundamentalObject.unref</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestFundamentalObject) +@returns(none) +def unref(self): + # Python wrapper for regress_test_fundamental_object_unref() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestFundamentalObjectCopyFunction.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestFundamentalObjectCopyFunction.page new file mode 100644 index 00000000..73a33285 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestFundamentalObjectCopyFunction.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestFundamentalObjectCopyFunction" + type="topic" + style="default" + 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"/> + + </info> + <title>Regress.TestFundamentalObjectCopyFunction</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestFundamentalObjectFinalizeFunction.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestFundamentalObjectFinalizeFunction.page new file mode 100644 index 00000000..df0e8fba --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestFundamentalObjectFinalizeFunction.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestFundamentalObjectFinalizeFunction" + type="topic" + style="default" + 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"/> + + </info> + <title>Regress.TestFundamentalObjectFinalizeFunction</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestFundamentalSubObject.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestFundamentalSubObject.page new file mode 100644 index 00000000..6b1e810a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestFundamentalSubObject.page @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<page id="Regress.TestFundamentalSubObject" + 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="class" type="guide"/> + + </info> + <title>Regress.TestFundamentalSubObject</title> + + <synopsis><code> +from gi.repository import Regress + +test_fundamental_sub_object = Regress.TestFundamentalSubObject() </code></synopsis> + + + + + + + + <synopsis> + <title>Hierarchy</title> + <tree> + <item> + <code>Regress.TestFundamentalObject</code> + <item> + <code>Regress.TestFundamentalSubObject</code> + </item> + </item> + </tree> + </synopsis> + + + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + groups="function" style="linklist"> + <title>Functions</title> + </links> + <links type="topic" ui:expanded="true" groups="property" style="linklist"> + <title>Properties</title> + </links> + <links type="topic" ui:expanded="true" groups="signal" style="linklist"> + <title>Signals</title> + </links> + <links type="topic" ui:expanded="true" groups="vfunc" style="linklist"> + <title>Virtual functions</title> + </links> + <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist"> + <title>Other</title> + </links> + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestInheritDrawable.do_foo.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestInheritDrawable.do_foo.page new file mode 100644 index 00000000..1cfcfdcb --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestInheritDrawable.do_foo.page @@ -0,0 +1,55 @@ +<?xml version="1.0"?> +<page id="Regress.TestInheritDrawable.do_foo" + 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.TestInheritDrawable" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_test_inherit_drawable_do_foo</api:name> + <api:arg> + <api:type>Regress.TestInheritDrawable</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestInheritDrawable.do_foo</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestInheritDrawable, int) +@returns(none) +def do_foo(self, x): + # Python wrapper for regress_test_inherit_drawable_do_foo() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +<item> +<title><code>x</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestInheritDrawable.do_foo_maybe_throw.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestInheritDrawable.do_foo_maybe_throw.page new file mode 100644 index 00000000..e00b489c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestInheritDrawable.do_foo_maybe_throw.page @@ -0,0 +1,55 @@ +<?xml version="1.0"?> +<page id="Regress.TestInheritDrawable.do_foo_maybe_throw" + 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.TestInheritDrawable" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_test_inherit_drawable_do_foo_maybe_throw</api:name> + <api:arg> + <api:type>Regress.TestInheritDrawable</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestInheritDrawable.do_foo_maybe_throw</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestInheritDrawable, int) +@returns(none) +def do_foo_maybe_throw(self, x): + # Python wrapper for regress_test_inherit_drawable_do_foo_maybe_throw() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +<item> +<title><code>x</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestInheritDrawable.get_origin.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestInheritDrawable.get_origin.page new file mode 100644 index 00000000..357d0694 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestInheritDrawable.get_origin.page @@ -0,0 +1,63 @@ +<?xml version="1.0"?> +<page id="Regress.TestInheritDrawable.get_origin" + 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.TestInheritDrawable" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_test_inherit_drawable_get_origin</api:name> + <api:arg> + <api:type>Regress.TestInheritDrawable</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>y</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestInheritDrawable.get_origin</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestInheritDrawable, int, int) +@returns(none) +def get_origin(self, x, y): + # Python wrapper for regress_test_inherit_drawable_get_origin() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +<item> +<title><code>x</code></title> + +</item> +<item> +<title><code>y</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestInheritDrawable.get_size.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestInheritDrawable.get_size.page new file mode 100644 index 00000000..3bbdfed1 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestInheritDrawable.get_size.page @@ -0,0 +1,63 @@ +<?xml version="1.0"?> +<page id="Regress.TestInheritDrawable.get_size" + 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.TestInheritDrawable" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_test_inherit_drawable_get_size</api:name> + <api:arg> + <api:type>Regress.TestInheritDrawable</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>width</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>height</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestInheritDrawable.get_size</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestInheritDrawable, int, int) +@returns(none) +def get_size(self, width, height): + # Python wrapper for regress_test_inherit_drawable_get_size() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +<item> +<title><code>width</code></title> + +</item> +<item> +<title><code>height</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestInheritDrawable.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestInheritDrawable.page new file mode 100644 index 00000000..1fdd2c89 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestInheritDrawable.page @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<page id="Regress.TestInheritDrawable" + 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="class" type="guide"/> + + </info> + <title>Regress.TestInheritDrawable</title> + + <synopsis><code> +from gi.repository import Regress + +test_inherit_drawable = Regress.TestInheritDrawable() </code></synopsis> + + + + + + + + <synopsis> + <title>Hierarchy</title> + <tree> + <item> + <code>GObject.Object</code> + <item> + <code>Regress.TestInheritDrawable</code> + </item> + </item> + </tree> + </synopsis> + + + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + groups="function" style="linklist"> + <title>Functions</title> + </links> + <links type="topic" ui:expanded="true" groups="property" style="linklist"> + <title>Properties</title> + </links> + <links type="topic" ui:expanded="true" groups="signal" style="linklist"> + <title>Signals</title> + </links> + <links type="topic" ui:expanded="true" groups="vfunc" style="linklist"> + <title>Virtual functions</title> + </links> + <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist"> + <title>Other</title> + </links> + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestInheritPixmapObjectClass.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestInheritPixmapObjectClass.page new file mode 100644 index 00000000..0df0396b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestInheritPixmapObjectClass.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestInheritPixmapObjectClass" + type="guide" + style="record" + 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="record" type="guide"/> + + </info> + <title>Regress.TestInheritPixmapObjectClass</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestInterface.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestInterface.page new file mode 100644 index 00000000..807e18ae --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestInterface.page @@ -0,0 +1,59 @@ +<?xml version="1.0"?> +<page id="Regress.TestInterface" + 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="class" type="guide"/> + + </info> + <title>Regress.TestInterface</title> + + <synopsis><code> +from gi.repository import Regress + +test_interface = Regress.TestInterface() </code></synopsis> + + + + + + + + <synopsis> + <title>Hierarchy</title> + <tree> + <item> + <code>Regress.TestInterface</code> + </item> + </tree> + </synopsis> + + + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + groups="function" style="linklist"> + <title>Functions</title> + </links> + <links type="topic" ui:expanded="true" groups="property" style="linklist"> + <title>Properties</title> + </links> + <links type="topic" ui:expanded="true" groups="signal" style="linklist"> + <title>Signals</title> + </links> + <links type="topic" ui:expanded="true" groups="vfunc" style="linklist"> + <title>Virtual functions</title> + </links> + <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist"> + <title>Other</title> + </links> + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-all.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-all.page new file mode 100644 index 00000000..f8fb4a1c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-all.page @@ -0,0 +1,41 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-all" + 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">all</title> + + </info> + <title>Regress.TestObj::all</title> + +<synopsis><code mime="text/x-python"> +def callback(test_obj, user_param1, ...) +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>test_obj</code></title> +<p>instance of <link xref="Regress.TestObj"/> that is emitting the signal</p> +</item> +<title><code>user_param1</code></title> +<p>first user parameter (if any) specified with the connect() method</p> +<item> +<title><code>...</code></title> +<p>additional user parameters (if any)</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-allow_none_vfunc.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-allow_none_vfunc.page new file mode 100644 index 00000000..7a3b9c91 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-allow_none_vfunc.page @@ -0,0 +1,40 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-allow_none_vfunc" + type="topic" + style="vfunc" + 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="vfunc" type="guide"/> + + </info> + <title>Regress.TestObj::allow_none_vfunc</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestObj, Regress.TestObj) +@returns(none) +def do_allow_none_vfunc(obj, two): +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>obj</code></title> + +</item> +<item> +<title><code>two</code></title> +<p>Another object</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-bare.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-bare.page new file mode 100644 index 00000000..f1f1b520 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-bare.page @@ -0,0 +1,29 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-bare" + type="topic" + style="property" + 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="property" type="guide"/> + <title type="link" role="topic">bare</title> + + </info> + <title>Regress.TestObj:bare</title> + +<synopsis><code mime="text/x-python"> +"bare" GObject.Object : Read / Write +</code></synopsis> + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-boxed.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-boxed.page new file mode 100644 index 00000000..a392a771 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-boxed.page @@ -0,0 +1,29 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-boxed" + type="topic" + style="property" + 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="property" type="guide"/> + <title type="link" role="topic">boxed</title> + + </info> + <title>Regress.TestObj:boxed</title> + +<synopsis><code mime="text/x-python"> +"boxed" Regress.TestBoxed : Read / Write +</code></synopsis> + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-cleanup.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-cleanup.page new file mode 100644 index 00000000..f35c0314 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-cleanup.page @@ -0,0 +1,41 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-cleanup" + 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">cleanup</title> + + </info> + <title>Regress.TestObj::cleanup</title> + +<synopsis><code mime="text/x-python"> +def callback(test_obj, user_param1, ...) +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>test_obj</code></title> +<p>instance of <link xref="Regress.TestObj"/> that is emitting the signal</p> +</item> +<title><code>user_param1</code></title> +<p>first user parameter (if any) specified with the connect() method</p> +<item> +<title><code>...</code></title> +<p>additional user parameters (if any)</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-double.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-double.page new file mode 100644 index 00000000..70fd579b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-double.page @@ -0,0 +1,29 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-double" + type="topic" + style="property" + 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="property" type="guide"/> + <title type="link" role="topic">double</title> + + </info> + <title>Regress.TestObj:double</title> + +<synopsis><code mime="text/x-python"> +"double" float : Read / Write +</code></synopsis> + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-first.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-first.page new file mode 100644 index 00000000..b5bcd2c0 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-first.page @@ -0,0 +1,41 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-first" + 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">first</title> + + </info> + <title>Regress.TestObj::first</title> + +<synopsis><code mime="text/x-python"> +def callback(test_obj, user_param1, ...) +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>test_obj</code></title> +<p>instance of <link xref="Regress.TestObj"/> that is emitting the signal</p> +</item> +<title><code>user_param1</code></title> +<p>first user parameter (if any) specified with the connect() method</p> +<item> +<title><code>...</code></title> +<p>additional user parameters (if any)</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-float.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-float.page new file mode 100644 index 00000000..87be50fe --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-float.page @@ -0,0 +1,29 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-float" + type="topic" + style="property" + 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="property" type="guide"/> + <title type="link" role="topic">float</title> + + </info> + <title>Regress.TestObj:float</title> + +<synopsis><code mime="text/x-python"> +"float" float : Read / Write +</code></synopsis> + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-gtype.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-gtype.page new file mode 100644 index 00000000..6b222e4e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-gtype.page @@ -0,0 +1,29 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-gtype" + type="topic" + style="property" + 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="property" type="guide"/> + <title type="link" role="topic">gtype</title> + + </info> + <title>Regress.TestObj:gtype</title> + +<synopsis><code mime="text/x-python"> +"gtype" GType : Read / Write +</code></synopsis> + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-hash-table-old.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-hash-table-old.page new file mode 100644 index 00000000..c796f365 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-hash-table-old.page @@ -0,0 +1,29 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-hash-table-old" + type="topic" + style="property" + 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="property" type="guide"/> + <title type="link" role="topic">hash-table-old</title> + + </info> + <title>Regress.TestObj:hash-table-old</title> + +<synopsis><code mime="text/x-python"> +"hash-table-old" {unicode: gint8} : Read / Write +</code></synopsis> + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-hash-table.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-hash-table.page new file mode 100644 index 00000000..c5d426cf --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-hash-table.page @@ -0,0 +1,29 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-hash-table" + type="topic" + style="property" + 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="property" type="guide"/> + <title type="link" role="topic">hash-table</title> + + </info> + <title>Regress.TestObj:hash-table</title> + +<synopsis><code mime="text/x-python"> +"hash-table" {unicode: gint8} : Read / Write +</code></synopsis> + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-int.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-int.page new file mode 100644 index 00000000..db7a89e1 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-int.page @@ -0,0 +1,29 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-int" + type="topic" + style="property" + 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="property" type="guide"/> + <title type="link" role="topic">int</title> + + </info> + <title>Regress.TestObj:int</title> + +<synopsis><code mime="text/x-python"> +"int" int : Read / Write +</code></synopsis> + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-list-old.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-list-old.page new file mode 100644 index 00000000..95367ec2 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-list-old.page @@ -0,0 +1,29 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-list-old" + type="topic" + style="property" + 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="property" type="guide"/> + <title type="link" role="topic">list-old</title> + + </info> + <title>Regress.TestObj:list-old</title> + +<synopsis><code mime="text/x-python"> +"list-old" [unicode] : Read / Write +</code></synopsis> + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-list.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-list.page new file mode 100644 index 00000000..aca148d8 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-list.page @@ -0,0 +1,29 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-list" + type="topic" + style="property" + 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="property" type="guide"/> + <title type="link" role="topic">list</title> + + </info> + <title>Regress.TestObj:list</title> + +<synopsis><code mime="text/x-python"> +"list" [unicode] : Read / Write +</code></synopsis> + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-matrix.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-matrix.page new file mode 100644 index 00000000..742e6da4 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-matrix.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-matrix" + type="topic" + style="vfunc" + 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="vfunc" type="guide"/> + + </info> + <title>Regress.TestObj::matrix</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestObj, unicode) +@returns(int) +def do_matrix(obj, somestr): +</code></synopsis> + + + <p>This method is virtual. Notably its name differs from the virtual +slot name, which makes it useful for testing bindings handle this +case.</p> + + + + +<terms> +<item> +<title><code>obj</code></title> +<p>A <link xref="Regress.TestObj"/></p> +</item> +<item> +<title><code>somestr</code></title> +<p>Meaningless string</p> +</item> +<item> +<title><code>Returns</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-array-len-prop.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-array-len-prop.page new file mode 100644 index 00000000..a228de1f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-array-len-prop.page @@ -0,0 +1,49 @@ +<?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"> +def callback(test_obj, arr, len, user_param1, ...) +</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>None</code></p> +</item> +<item> +<title><code>len</code></title> +<p>length of <code>arr</code>, or 0</p> +</item> +<title><code>user_param1</code></title> +<p>first user parameter (if any) specified with the connect() method</p> +<item> +<title><code>...</code></title> +<p>additional user parameters (if any)</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-array-prop.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-array-prop.page new file mode 100644 index 00000000..eb1b99ff --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-array-prop.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-sig-with-array-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-prop</title> + + </info> + <title>Regress.TestObj::sig-with-array-prop</title> + +<synopsis><code mime="text/x-python"> +def callback(test_obj, arr, user_param1, ...) +</code></synopsis> + + + <p>This test signal is like TelepathyGlib's + TpChannel:: group-members-changed-detailed:</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</p> +</item> +<title><code>user_param1</code></title> +<p>first user parameter (if any) specified with the connect() method</p> +<item> +<title><code>...</code></title> +<p>additional user parameters (if any)</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-foreign-struct.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-foreign-struct.page new file mode 100644 index 00000000..36a30d7e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-foreign-struct.page @@ -0,0 +1,45 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-sig-with-foreign-struct" + 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-foreign-struct</title> + + </info> + <title>Regress.TestObj::sig-with-foreign-struct</title> + +<synopsis><code mime="text/x-python"> +def callback(test_obj, cr, user_param1, ...) +</code></synopsis> + + + + + + + +<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>cr</code></title> +<p>A cairo context.</p> +</item> +<title><code>user_param1</code></title> +<p>first user parameter (if any) specified with the connect() method</p> +<item> +<title><code>...</code></title> +<p>additional user parameters (if any)</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-hash-prop.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-hash-prop.page new file mode 100644 index 00000000..2048ad2c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-hash-prop.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-sig-with-hash-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-hash-prop</title> + + </info> + <title>Regress.TestObj::sig-with-hash-prop</title> + +<synopsis><code mime="text/x-python"> +def callback(test_obj, hash, user_param1, ...) +</code></synopsis> + + + <p>This test signal is like TelepathyGlib's + TpAccount::status-changed</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>hash</code></title> + +</item> +<title><code>user_param1</code></title> +<p>first user parameter (if any) specified with the connect() method</p> +<item> +<title><code>...</code></title> +<p>additional user parameters (if any)</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-int64-prop.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-int64-prop.page new file mode 100644 index 00000000..a782484b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-int64-prop.page @@ -0,0 +1,50 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-sig-with-int64-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-int64-prop</title> + + </info> + <title>Regress.TestObj::sig-with-int64-prop</title> + +<synopsis><code mime="text/x-python"> +def callback(test_obj, i, user_param1, ...) +</code></synopsis> + + + <p>You can use this with regress_test_obj_emit_sig_with_int64, or raise from +the introspection client langage.</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>i</code></title> +<p>an integer</p> +</item> +<title><code>user_param1</code></title> +<p>first user parameter (if any) specified with the connect() method</p> +<item> +<title><code>...</code></title> +<p>additional user parameters (if any)</p> +</item> +<item> +<title><code>Returns</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-intarray-ret.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-intarray-ret.page new file mode 100644 index 00000000..d070f179 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-intarray-ret.page @@ -0,0 +1,45 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-sig-with-intarray-ret" + 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-intarray-ret</title> + + </info> + <title>Regress.TestObj::sig-with-intarray-ret</title> + +<synopsis><code mime="text/x-python"> +def callback(test_obj, i, user_param1, ...) +</code></synopsis> + + + + + + + +<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>i</code></title> +<p>an integer</p> +</item> +<title><code>user_param1</code></title> +<p>first user parameter (if any) specified with the connect() method</p> +<item> +<title><code>...</code></title> +<p>additional user parameters (if any)</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-obj.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-obj.page new file mode 100644 index 00000000..d4814a83 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-obj.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-sig-with-obj" + 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-obj</title> + + </info> + <title>Regress.TestObj::sig-with-obj</title> + +<synopsis><code mime="text/x-python"> +def callback(test_obj, obj, user_param1, ...) +</code></synopsis> + + + <p>Test transfer none GObject as a param (tests refcounting). +Use with regress_test_obj_emit_sig_with_obj</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>obj</code></title> +<p>A newly created RegressTestObj</p> +</item> +<title><code>user_param1</code></title> +<p>first user parameter (if any) specified with the connect() method</p> +<item> +<title><code>...</code></title> +<p>additional user parameters (if any)</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-strv.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-strv.page new file mode 100644 index 00000000..a7037a49 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-strv.page @@ -0,0 +1,45 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-sig-with-strv" + 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-strv</title> + + </info> + <title>Regress.TestObj::sig-with-strv</title> + +<synopsis><code mime="text/x-python"> +def callback(test_obj, strs, user_param1, ...) +</code></synopsis> + + + <p>Test GStrv as a param.</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>strs</code></title> +<p>strings</p> +</item> +<title><code>user_param1</code></title> +<p>first user parameter (if any) specified with the connect() method</p> +<item> +<title><code>...</code></title> +<p>additional user parameters (if any)</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-uint64-prop.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-uint64-prop.page new file mode 100644 index 00000000..c89d1d16 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-uint64-prop.page @@ -0,0 +1,50 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-sig-with-uint64-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-uint64-prop</title> + + </info> + <title>Regress.TestObj::sig-with-uint64-prop</title> + +<synopsis><code mime="text/x-python"> +def callback(test_obj, i, user_param1, ...) +</code></synopsis> + + + <p>You can use this with regress_test_obj_emit_sig_with_uint64, or raise from +the introspection client langage.</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>i</code></title> +<p>an integer</p> +</item> +<title><code>user_param1</code></title> +<p>first user parameter (if any) specified with the connect() method</p> +<item> +<title><code>...</code></title> +<p>additional user parameters (if any)</p> +</item> +<item> +<title><code>Returns</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-string.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-string.page new file mode 100644 index 00000000..fa499937 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-string.page @@ -0,0 +1,29 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-string" + type="topic" + style="property" + 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="property" type="guide"/> + <title type="link" role="topic">string</title> + + </info> + <title>Regress.TestObj:string</title> + +<synopsis><code mime="text/x-python"> +"string" unicode : Read / Write +</code></synopsis> + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-test-with-static-scope-arg.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-test-with-static-scope-arg.page new file mode 100644 index 00000000..736814c7 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-test-with-static-scope-arg.page @@ -0,0 +1,45 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-test-with-static-scope-arg" + 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">test-with-static-scope-arg</title> + + </info> + <title>Regress.TestObj::test-with-static-scope-arg</title> + +<synopsis><code mime="text/x-python"> +def callback(test_obj, object, user_param1, ...) +</code></synopsis> + + + + + + + +<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>object</code></title> + +</item> +<title><code>user_param1</code></title> +<p>first user parameter (if any) specified with the connect() method</p> +<item> +<title><code>...</code></title> +<p>additional user parameters (if any)</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-test.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-test.page new file mode 100644 index 00000000..e09f531e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-test.page @@ -0,0 +1,41 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj-test" + 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">test</title> + + </info> + <title>Regress.TestObj::test</title> + +<synopsis><code mime="text/x-python"> +def callback(test_obj, user_param1, ...) +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>test_obj</code></title> +<p>instance of <link xref="Regress.TestObj"/> that is emitting the signal</p> +</item> +<title><code>user_param1</code></title> +<p>first user parameter (if any) specified with the connect() method</p> +<item> +<title><code>...</code></title> +<p>additional user parameters (if any)</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.do_matrix.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.do_matrix.page new file mode 100644 index 00000000..07eaa505 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.do_matrix.page @@ -0,0 +1,61 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.do_matrix" + 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>int</api:type> + </api:returns> + <api:name>regress_test_obj_do_matrix</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>somestr</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestObj.do_matrix</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestObj, unicode) +@returns(int) +def do_matrix(self, somestr): + # Python wrapper for regress_test_obj_do_matrix() +</code></synopsis> + + + <p>This method is virtual. Notably its name differs from the virtual +slot name, which makes it useful for testing bindings handle this +case.</p> + + + + +<terms> +<item> +<title><code>self</code></title> +<p>A <link xref="Regress.TestObj"/></p> +</item> +<item> +<title><code>somestr</code></title> +<p>Meaningless string</p> +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.emit_sig_with_foreign_struct.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.emit_sig_with_foreign_struct.page new file mode 100644 index 00000000..065d7456 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.emit_sig_with_foreign_struct.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.emit_sig_with_foreign_struct" + 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_emit_sig_with_foreign_struct</api:name> + <api:arg> + <api:type>Regress.TestObj</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestObj.emit_sig_with_foreign_struct</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestObj) +@returns(none) +def emit_sig_with_foreign_struct(self): + # Python wrapper for regress_test_obj_emit_sig_with_foreign_struct() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.emit_sig_with_int64.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.emit_sig_with_int64.page new file mode 100644 index 00000000..fb0679af --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.emit_sig_with_int64.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.emit_sig_with_int64" + 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_emit_sig_with_int64</api:name> + <api:arg> + <api:type>Regress.TestObj</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestObj.emit_sig_with_int64</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestObj) +@returns(none) +def emit_sig_with_int64(self): + # Python wrapper for regress_test_obj_emit_sig_with_int64() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.emit_sig_with_obj.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.emit_sig_with_obj.page new file mode 100644 index 00000000..25154985 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.emit_sig_with_obj.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.emit_sig_with_obj" + 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_emit_sig_with_obj</api:name> + <api:arg> + <api:type>Regress.TestObj</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestObj.emit_sig_with_obj</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestObj) +@returns(none) +def emit_sig_with_obj(self): + # Python wrapper for regress_test_obj_emit_sig_with_obj() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.emit_sig_with_uint64.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.emit_sig_with_uint64.page new file mode 100644 index 00000000..34fbfe39 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.emit_sig_with_uint64.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.emit_sig_with_uint64" + 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_emit_sig_with_uint64</api:name> + <api:arg> + <api:type>Regress.TestObj</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestObj.emit_sig_with_uint64</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestObj) +@returns(none) +def emit_sig_with_uint64(self): + # Python wrapper for regress_test_obj_emit_sig_with_uint64() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.forced_method.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.forced_method.page new file mode 100644 index 00000000..e4770525 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.forced_method.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.forced_method" + 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_forced_method</api:name> + <api:arg> + <api:type>Regress.TestObj</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestObj.forced_method</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestObj) +@returns(none) +def forced_method(self): + # Python wrapper for regress_forced_method() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> +<p>A <link xref="Regress.TestObj"/></p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.instance_method.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.instance_method.page new file mode 100644 index 00000000..58c58e31 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.instance_method.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.instance_method" + 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>int</api:type> + </api:returns> + <api:name>regress_test_obj_instance_method</api:name> + <api:arg> + <api:type>Regress.TestObj</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestObj.instance_method</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestObj) +@returns(int) +def instance_method(self): + # Python wrapper for regress_test_obj_instance_method() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.instance_method_callback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.instance_method_callback.page new file mode 100644 index 00000000..d491fa61 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.instance_method_callback.page @@ -0,0 +1,55 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.instance_method_callback" + 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_instance_method_callback</api:name> + <api:arg> + <api:type>Regress.TestObj</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>Regress.TestCallback</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestObj.instance_method_callback</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestObj, Regress.TestCallback) +@returns(none) +def instance_method_callback(self, callback): + # Python wrapper for regress_test_obj_instance_method_callback() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +<item> +<title><code>callback</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.null_out.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.null_out.page new file mode 100644 index 00000000..a1c06605 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.null_out.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.null_out" + 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="Regress.TestObj" group="function" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_test_obj_null_out</api:name> + <api:arg> + <api:type>Regress.TestObj</api:type> + <api:name>obj</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestObj.null_out</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestObj) +@returns(none) +def null_out(obj): + # Python wrapper for regress_test_obj_null_out() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>obj</code></title> +<p>A <link xref="Regress.TestObj"/></p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.page new file mode 100644 index 00000000..1ded23c7 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.page @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj" + 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="class" type="guide"/> + + </info> + <title>Regress.TestObj</title> + + <synopsis><code> +from gi.repository import Regress + +test_obj = Regress.TestObj(<link xref='Regress.TestObj-bare'>bare</link>=value, <link xref='Regress.TestObj-boxed'>boxed</link>=value, <link xref='Regress.TestObj-double'>double</link>=value, <link xref='Regress.TestObj-float'>float</link>=value, <link xref='Regress.TestObj-gtype'>gtype</link>=value, <link xref='Regress.TestObj-hash-table'>hash_table</link>=value, <link xref='Regress.TestObj-hash-table-old'>hash_table_old</link>=value, <link xref='Regress.TestObj-int'>int</link>=value, <link xref='Regress.TestObj-list'>list</link>=value, <link xref='Regress.TestObj-list-old'>list_old</link>=value, <link xref='Regress.TestObj-string'>string</link>=value) </code></synopsis> + + + + + + + + <synopsis> + <title>Hierarchy</title> + <tree> + <item> + <code>GObject.Object</code> + <item> + <code>Regress.TestObj</code> + </item> + </item> + </tree> + </synopsis> + + + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + groups="function" style="linklist"> + <title>Functions</title> + </links> + <links type="topic" ui:expanded="true" groups="property" style="linklist"> + <title>Properties</title> + </links> + <links type="topic" ui:expanded="true" groups="signal" style="linklist"> + <title>Signals</title> + </links> + <links type="topic" ui:expanded="true" groups="vfunc" style="linklist"> + <title>Virtual functions</title> + </links> + <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist"> + <title>Other</title> + </links> + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.set_bare.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.set_bare.page new file mode 100644 index 00000000..63acc894 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.set_bare.page @@ -0,0 +1,55 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.set_bare" + 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_bare</api:name> + <api:arg> + <api:type>Regress.TestObj</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>GObject.Object</api:type> + <api:name>bare</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestObj.set_bare</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestObj, GObject.Object) +@returns(none) +def set_bare(self, bare): + # Python wrapper for regress_test_obj_set_bare() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +<item> +<title><code>bare</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.skip_inout_param.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.skip_inout_param.page new file mode 100644 index 00000000..3d32ba0b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.skip_inout_param.page @@ -0,0 +1,107 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.skip_inout_param" + 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>bool</api:type> + </api:returns> + <api:name>regress_test_obj_skip_inout_param</api:name> + <api:arg> + <api:type>Regress.TestObj</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>a</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>out_b</api:name> + </api:arg> + <api:arg> + <api:type>float</api:type> + <api:name>c</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>inout_d</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>out_sum</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>num1</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>num2</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestObj.skip_inout_param</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestObj, int, int, float, int, int, int, int) +@returns(bool) +def skip_inout_param(self, a, out_b, c, inout_d, out_sum, num1, num2): + # Python wrapper for regress_test_obj_skip_inout_param() +</code></synopsis> + + + <p>Check that the out value is skipped</p> + + + + +<terms> +<item> +<title><code>self</code></title> +<p>A <link xref="Regress.TestObj"/>.</p> +</item> +<item> +<title><code>a</code></title> +<p>Parameter.</p> +</item> +<item> +<title><code>out_b</code></title> +<p>Return value.</p> +</item> +<item> +<title><code>c</code></title> +<p>Other parameter.</p> +</item> +<item> +<title><code>inout_d</code></title> +<p>Will be incremented.</p> +</item> +<item> +<title><code>out_sum</code></title> +<p>Return value.</p> +</item> +<item> +<title><code>num1</code></title> +<p>Number.</p> +</item> +<item> +<title><code>num2</code></title> +<p>Number.</p> +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.skip_out_param.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.skip_out_param.page new file mode 100644 index 00000000..58c5268b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.skip_out_param.page @@ -0,0 +1,107 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.skip_out_param" + 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>bool</api:type> + </api:returns> + <api:name>regress_test_obj_skip_out_param</api:name> + <api:arg> + <api:type>Regress.TestObj</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>a</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>out_b</api:name> + </api:arg> + <api:arg> + <api:type>float</api:type> + <api:name>c</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>inout_d</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>out_sum</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>num1</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>num2</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestObj.skip_out_param</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestObj, int, int, float, int, int, int, int) +@returns(bool) +def skip_out_param(self, a, out_b, c, inout_d, out_sum, num1, num2): + # Python wrapper for regress_test_obj_skip_out_param() +</code></synopsis> + + + <p>Check that the out value is skipped</p> + + + + +<terms> +<item> +<title><code>self</code></title> +<p>A <link xref="Regress.TestObj"/>.</p> +</item> +<item> +<title><code>a</code></title> +<p>Parameter.</p> +</item> +<item> +<title><code>out_b</code></title> +<p>Return value.</p> +</item> +<item> +<title><code>c</code></title> +<p>Other parameter.</p> +</item> +<item> +<title><code>inout_d</code></title> +<p>Will be incremented.</p> +</item> +<item> +<title><code>out_sum</code></title> +<p>Return value.</p> +</item> +<item> +<title><code>num1</code></title> +<p>Number.</p> +</item> +<item> +<title><code>num2</code></title> +<p>Number.</p> +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.skip_param.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.skip_param.page new file mode 100644 index 00000000..c02f3b95 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.skip_param.page @@ -0,0 +1,107 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.skip_param" + 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>bool</api:type> + </api:returns> + <api:name>regress_test_obj_skip_param</api:name> + <api:arg> + <api:type>Regress.TestObj</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>a</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>out_b</api:name> + </api:arg> + <api:arg> + <api:type>float</api:type> + <api:name>c</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>inout_d</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>out_sum</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>num1</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>num2</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestObj.skip_param</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestObj, int, int, float, int, int, int, int) +@returns(bool) +def skip_param(self, a, out_b, c, inout_d, out_sum, num1, num2): + # Python wrapper for regress_test_obj_skip_param() +</code></synopsis> + + + <p>Check that a parameter is skipped</p> + + + + +<terms> +<item> +<title><code>self</code></title> +<p>A <link xref="Regress.TestObj"/>.</p> +</item> +<item> +<title><code>a</code></title> +<p>Parameter.</p> +</item> +<item> +<title><code>out_b</code></title> +<p>Return value.</p> +</item> +<item> +<title><code>c</code></title> +<p>Other parameter.</p> +</item> +<item> +<title><code>inout_d</code></title> +<p>Will be incremented.</p> +</item> +<item> +<title><code>out_sum</code></title> +<p>Return value.</p> +</item> +<item> +<title><code>num1</code></title> +<p>Number.</p> +</item> +<item> +<title><code>num2</code></title> +<p>Number.</p> +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.skip_return_val.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.skip_return_val.page new file mode 100644 index 00000000..2aadb427 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.skip_return_val.page @@ -0,0 +1,107 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.skip_return_val" + 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>bool</api:type> + </api:returns> + <api:name>regress_test_obj_skip_return_val</api:name> + <api:arg> + <api:type>Regress.TestObj</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>a</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>out_b</api:name> + </api:arg> + <api:arg> + <api:type>float</api:type> + <api:name>c</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>inout_d</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>out_sum</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>num1</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>num2</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestObj.skip_return_val</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestObj, int, int, float, int, int, int, int) +@returns(bool) +def skip_return_val(self, a, out_b, c, inout_d, out_sum, num1, num2): + # Python wrapper for regress_test_obj_skip_return_val() +</code></synopsis> + + + <p>Check that the return value is skipped</p> + + + + +<terms> +<item> +<title><code>self</code></title> +<p>a <link xref="Regress.TestObj"/></p> +</item> +<item> +<title><code>a</code></title> +<p>Parameter.</p> +</item> +<item> +<title><code>out_b</code></title> +<p>A return value.</p> +</item> +<item> +<title><code>c</code></title> +<p>Other parameter.</p> +</item> +<item> +<title><code>inout_d</code></title> +<p>Will be incremented.</p> +</item> +<item> +<title><code>out_sum</code></title> +<p>Return value.</p> +</item> +<item> +<title><code>num1</code></title> +<p>Number.</p> +</item> +<item> +<title><code>num2</code></title> +<p>Number.</p> +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.skip_return_val_no_out.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.skip_return_val_no_out.page new file mode 100644 index 00000000..f0c50f5f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.skip_return_val_no_out.page @@ -0,0 +1,60 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.skip_return_val_no_out" + 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>bool</api:type> + </api:returns> + <api:name>regress_test_obj_skip_return_val_no_out</api:name> + <api:arg> + <api:type>Regress.TestObj</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>a</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestObj.skip_return_val_no_out</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestObj, int) +@returns(bool) +def skip_return_val_no_out(self, a): + # Python wrapper for regress_test_obj_skip_return_val_no_out() +</code></synopsis> + + + <p>Check that the return value is skipped. Succeed if a is nonzero, otherwise +raise an error.</p> + + + + +<terms> +<item> +<title><code>self</code></title> +<p>a <link xref="Regress.TestObj"/></p> +</item> +<item> +<title><code>a</code></title> +<p>Parameter.</p> +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.static_method.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.static_method.page new file mode 100644 index 00000000..67510263 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.static_method.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.static_method" + 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="Regress.TestObj" group="function" type="guide"/> + <api:function> + <api:returns> + <api:type>float</api:type> + </api:returns> + <api:name>regress_test_obj_static_method</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestObj.static_method</title> + +<synopsis><code mime="text/x-python"> +@accepts(int) +@returns(float) +def static_method(x): + # Python wrapper for regress_test_obj_static_method() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>x</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.static_method_callback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.static_method_callback.page new file mode 100644 index 00000000..4d97f31f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.static_method_callback.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.static_method_callback" + 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="Regress.TestObj" group="function" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_test_obj_static_method_callback</api:name> + <api:arg> + <api:type>Regress.TestCallback</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestObj.static_method_callback</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestCallback) +@returns(none) +def static_method_callback(callback): + # Python wrapper for regress_test_obj_static_method_callback() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>callback</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.torture_signature_0.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.torture_signature_0.page new file mode 100644 index 00000000..4cc806d4 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.torture_signature_0.page @@ -0,0 +1,95 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.torture_signature_0" + 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_torture_signature_0</api:name> + <api:arg> + <api:type>Regress.TestObj</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + <api:arg> + <api:type>float</api:type> + <api:name>y</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>z</api:name> + </api:arg> + <api:arg> + <api:type>unicode</api:type> + <api:name>foo</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>q</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>m</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestObj.torture_signature_0</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestObj, int, float, int, unicode, int, int) +@returns(none) +def torture_signature_0(self, x, y, z, foo, q, m): + # Python wrapper for regress_test_obj_torture_signature_0() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> +<p>A <link xref="Regress.TestObj"/></p> +</item> +<item> +<title><code>x</code></title> + +</item> +<item> +<title><code>y</code></title> + +</item> +<item> +<title><code>z</code></title> + +</item> +<item> +<title><code>foo</code></title> + +</item> +<item> +<title><code>q</code></title> + +</item> +<item> +<title><code>m</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.torture_signature_1.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.torture_signature_1.page new file mode 100644 index 00000000..7ccc1327 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.torture_signature_1.page @@ -0,0 +1,99 @@ +<?xml version="1.0"?> +<page id="Regress.TestObj.torture_signature_1" + 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>bool</api:type> + </api:returns> + <api:name>regress_test_obj_torture_signature_1</api:name> + <api:arg> + <api:type>Regress.TestObj</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + <api:arg> + <api:type>float</api:type> + <api:name>y</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>z</api:name> + </api:arg> + <api:arg> + <api:type>unicode</api:type> + <api:name>foo</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>q</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>m</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestObj.torture_signature_1</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestObj, int, float, int, unicode, int, int) +@returns(bool) +def torture_signature_1(self, x, y, z, foo, q, m): + # Python wrapper for regress_test_obj_torture_signature_1() +</code></synopsis> + + + <p>This function throws an error if m is odd.</p> + + + + +<terms> +<item> +<title><code>self</code></title> +<p>A <link xref="Regress.TestObj"/></p> +</item> +<item> +<title><code>x</code></title> + +</item> +<item> +<title><code>y</code></title> + +</item> +<item> +<title><code>z</code></title> + +</item> +<item> +<title><code>foo</code></title> + +</item> +<item> +<title><code>q</code></title> + +</item> +<item> +<title><code>m</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestOtherError.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestOtherError.page new file mode 100644 index 00000000..858e58a8 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestOtherError.page @@ -0,0 +1,39 @@ +<?xml version="1.0"?> +<page id="Regress.TestOtherError" + type="topic" + style="enum" + 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="enum" type="guide"/> + + </info> + <title>Regress.TestOtherError</title> + + + + + + + + +<terms> +<item> +<title><code>TestOtherError.CODE1</code></title> + +</item> +<item> +<title><code>TestOtherError.CODE2</code></title> + +</item> +<item> +<title><code>TestOtherError.CODE3</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestOtherError.quark.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestOtherError.quark.page new file mode 100644 index 00000000..341e774e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestOtherError.quark.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.TestOtherError.quark" + 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>GLib.Quark</api:type> + </api:returns> + <api:name>regress_test_unconventional_error_quark</api:name> + </api:function> + + </info> + <title>Index.quark</title> + +<synopsis><code mime="text/x-python"> +@returns(GLib.Quark) +def quark(): + # Python wrapper for regress_test_unconventional_error_quark() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestPrivateEnum.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestPrivateEnum.page new file mode 100644 index 00000000..66b477d2 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestPrivateEnum.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestPrivateEnum" + type="topic" + style="default" + 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"/> + + </info> + <title>Regress.TestPrivateEnum</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestPrivateStruct.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestPrivateStruct.page new file mode 100644 index 00000000..7b1309da --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestPrivateStruct.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestPrivateStruct" + type="guide" + style="record" + 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="record" type="guide"/> + + </info> + <title>Regress.TestPrivateStruct</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestReferenceEnum.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestReferenceEnum.page new file mode 100644 index 00000000..2c8b1abb --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestReferenceEnum.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.TestReferenceEnum" + type="topic" + style="enum" + 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="enum" type="guide"/> + + </info> + <title>Regress.TestReferenceEnum</title> + + + + + + + + +<terms> +<item> +<title><code>TestReferenceEnum.0</code></title> + +</item> +<item> +<title><code>TestReferenceEnum.1</code></title> + +</item> +<item> +<title><code>TestReferenceEnum.2</code></title> + +</item> +<item> +<title><code>TestReferenceEnum.3</code></title> + +</item> +<item> +<title><code>TestReferenceEnum.4</code></title> + +</item> +<item> +<title><code>TestReferenceEnum.5</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestSimpleBoxedA.const_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSimpleBoxedA.const_return.page new file mode 100644 index 00000000..499a0475 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSimpleBoxedA.const_return.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.TestSimpleBoxedA.const_return" + 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="Regress.TestSimpleBoxedA" group="function" type="guide"/> + <api:function> + <api:returns> + <api:type>Regress.TestSimpleBoxedA</api:type> + </api:returns> + <api:name>regress_test_simple_boxed_a_const_return</api:name> + </api:function> + + </info> + <title>Regress.TestSimpleBoxedA.const_return</title> + +<synopsis><code mime="text/x-python"> +@returns(Regress.TestSimpleBoxedA) +def const_return(): + # Python wrapper for regress_test_simple_boxed_a_const_return() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestSimpleBoxedA.copy.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSimpleBoxedA.copy.page new file mode 100644 index 00000000..5e3fc24d --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSimpleBoxedA.copy.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.TestSimpleBoxedA.copy" + 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.TestSimpleBoxedA" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>Regress.TestSimpleBoxedA</api:type> + </api:returns> + <api:name>regress_test_simple_boxed_a_copy</api:name> + <api:arg> + <api:type>Regress.TestSimpleBoxedA</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestSimpleBoxedA.copy</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestSimpleBoxedA) +@returns(Regress.TestSimpleBoxedA) +def copy(self): + # Python wrapper for regress_test_simple_boxed_a_copy() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestSimpleBoxedA.equals.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSimpleBoxedA.equals.page new file mode 100644 index 00000000..a9ae5b2f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSimpleBoxedA.equals.page @@ -0,0 +1,59 @@ +<?xml version="1.0"?> +<page id="Regress.TestSimpleBoxedA.equals" + 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.TestSimpleBoxedA" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>bool</api:type> + </api:returns> + <api:name>regress_test_simple_boxed_a_equals</api:name> + <api:arg> + <api:type>Regress.TestSimpleBoxedA</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>Regress.TestSimpleBoxedA</api:type> + <api:name>other_a</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestSimpleBoxedA.equals</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestSimpleBoxedA, Regress.TestSimpleBoxedA) +@returns(bool) +def equals(self, other_a): + # Python wrapper for regress_test_simple_boxed_a_equals() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +<item> +<title><code>other_a</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestSimpleBoxedA.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSimpleBoxedA.page new file mode 100644 index 00000000..9117ddb9 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSimpleBoxedA.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestSimpleBoxedA" + type="guide" + style="record" + 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="record" type="guide"/> + + </info> + <title>Regress.TestSimpleBoxedA</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestSimpleBoxedB.copy.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSimpleBoxedB.copy.page new file mode 100644 index 00000000..999c8500 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSimpleBoxedB.copy.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.TestSimpleBoxedB.copy" + 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.TestSimpleBoxedB" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>Regress.TestSimpleBoxedB</api:type> + </api:returns> + <api:name>regress_test_simple_boxed_b_copy</api:name> + <api:arg> + <api:type>Regress.TestSimpleBoxedB</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestSimpleBoxedB.copy</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestSimpleBoxedB) +@returns(Regress.TestSimpleBoxedB) +def copy(self): + # Python wrapper for regress_test_simple_boxed_b_copy() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestSimpleBoxedB.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSimpleBoxedB.page new file mode 100644 index 00000000..7ecc623e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSimpleBoxedB.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestSimpleBoxedB" + type="guide" + style="record" + 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="record" type="guide"/> + + </info> + <title>Regress.TestSimpleBoxedB</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestSimpleCallback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSimpleCallback.page new file mode 100644 index 00000000..f8157820 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSimpleCallback.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestSimpleCallback" + type="topic" + style="default" + 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"/> + + </info> + <title>Regress.TestSimpleCallback</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructA.clone.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructA.clone.page new file mode 100644 index 00000000..cb2ea92f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructA.clone.page @@ -0,0 +1,55 @@ +<?xml version="1.0"?> +<page id="Regress.TestStructA.clone" + 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.TestStructA" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_test_struct_a_clone</api:name> + <api:arg> + <api:type>Regress.TestStructA</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>Regress.TestStructA</api:type> + <api:name>a_out</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestStructA.clone</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestStructA, Regress.TestStructA) +@returns(none) +def clone(self, a_out): + # Python wrapper for regress_test_struct_a_clone() +</code></synopsis> + + + <p>Make a copy of a RegressTestStructA</p> + + + + +<terms> +<item> +<title><code>self</code></title> +<p>the structure</p> +</item> +<item> +<title><code>a_out</code></title> +<p>the cloned structure</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructA.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructA.page new file mode 100644 index 00000000..a6a98173 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructA.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestStructA" + type="guide" + style="record" + 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="record" type="guide"/> + + </info> + <title>Regress.TestStructA</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructA.parse.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructA.parse.page new file mode 100644 index 00000000..bfd3189d --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructA.parse.page @@ -0,0 +1,55 @@ +<?xml version="1.0"?> +<page id="Regress.TestStructA.parse" + 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="Regress.TestStructA" group="function" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_test_struct_a_parse</api:name> + <api:arg> + <api:type>Regress.TestStructA</api:type> + <api:name>a_out</api:name> + </api:arg> + <api:arg> + <api:type>unicode</api:type> + <api:name>string</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestStructA.parse</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestStructA, unicode) +@returns(none) +def parse(a_out, string): + # Python wrapper for regress_test_struct_a_parse() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>a_out</code></title> +<p>the structure that is to be filled</p> +</item> +<item> +<title><code>string</code></title> +<p>ignored</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructB.clone.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructB.clone.page new file mode 100644 index 00000000..ea78efdb --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructB.clone.page @@ -0,0 +1,55 @@ +<?xml version="1.0"?> +<page id="Regress.TestStructB.clone" + 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.TestStructB" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_test_struct_b_clone</api:name> + <api:arg> + <api:type>Regress.TestStructB</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>Regress.TestStructB</api:type> + <api:name>b_out</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestStructB.clone</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestStructB, Regress.TestStructB) +@returns(none) +def clone(self, b_out): + # Python wrapper for regress_test_struct_b_clone() +</code></synopsis> + + + <p>Make a copy of a RegressTestStructB</p> + + + + +<terms> +<item> +<title><code>self</code></title> +<p>the structure</p> +</item> +<item> +<title><code>b_out</code></title> +<p>the cloned structure</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructB.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructB.page new file mode 100644 index 00000000..21d86261 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructB.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestStructB" + type="guide" + style="record" + 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="record" type="guide"/> + + </info> + <title>Regress.TestStructB</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructC.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructC.page new file mode 100644 index 00000000..6bd58122 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructC.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestStructC" + type="guide" + style="record" + 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="record" type="guide"/> + + </info> + <title>Regress.TestStructC</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructD.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructD.page new file mode 100644 index 00000000..aa9f131c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructD.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestStructD" + type="guide" + style="record" + 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="record" type="guide"/> + + </info> + <title>Regress.TestStructD</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructE.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructE.page new file mode 100644 index 00000000..b931c367 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructE.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestStructE" + type="guide" + style="record" + 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="record" type="guide"/> + + </info> + <title>Regress.TestStructE</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructE__some_union__union.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructE__some_union__union.page new file mode 100644 index 00000000..3b81e621 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructE__some_union__union.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestStructE__some_union__union" + type="topic" + style="default" + 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"/> + + </info> + <title>Regress.TestStructE__some_union__union</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructF.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructF.page new file mode 100644 index 00000000..cfb434b4 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructF.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestStructF" + type="guide" + style="record" + 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="record" type="guide"/> + + </info> + <title>Regress.TestStructF</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructFixedArray.frob.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructFixedArray.frob.page new file mode 100644 index 00000000..8f9e2888 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructFixedArray.frob.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.TestStructFixedArray.frob" + 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.TestStructFixedArray" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_test_struct_fixed_array_frob</api:name> + <api:arg> + <api:type>Regress.TestStructFixedArray</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestStructFixedArray.frob</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestStructFixedArray) +@returns(none) +def frob(self): + # Python wrapper for regress_test_struct_fixed_array_frob() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructFixedArray.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructFixedArray.page new file mode 100644 index 00000000..db6e7893 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructFixedArray.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestStructFixedArray" + type="guide" + style="record" + 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="record" type="guide"/> + + </info> + <title>Regress.TestStructFixedArray</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestSubObj.instance_method.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSubObj.instance_method.page new file mode 100644 index 00000000..9806d282 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSubObj.instance_method.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.TestSubObj.instance_method" + 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.TestSubObj" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>int</api:type> + </api:returns> + <api:name>regress_test_sub_obj_instance_method</api:name> + <api:arg> + <api:type>Regress.TestSubObj</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestSubObj.instance_method</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestSubObj) +@returns(int) +def instance_method(self): + # Python wrapper for regress_test_sub_obj_instance_method() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestSubObj.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSubObj.page new file mode 100644 index 00000000..b1dc19b1 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSubObj.page @@ -0,0 +1,65 @@ +<?xml version="1.0"?> +<page id="Regress.TestSubObj" + 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="class" type="guide"/> + + </info> + <title>Regress.TestSubObj</title> + + <synopsis><code> +from gi.repository import Regress + +test_sub_obj = Regress.TestSubObj() </code></synopsis> + + + + + + + + <synopsis> + <title>Hierarchy</title> + <tree> + <item> + <code>GObject.Object</code> + <item> + <code>Regress.TestObj</code> + <item> + <code>Regress.TestSubObj</code> + </item> + </item> + </item> + </tree> + </synopsis> + + + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + groups="function" style="linklist"> + <title>Functions</title> + </links> + <links type="topic" ui:expanded="true" groups="property" style="linklist"> + <title>Properties</title> + </links> + <links type="topic" ui:expanded="true" groups="signal" style="linklist"> + <title>Signals</title> + </links> + <links type="topic" ui:expanded="true" groups="vfunc" style="linklist"> + <title>Virtual functions</title> + </links> + <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist"> + <title>Other</title> + </links> + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestSubObj.unset_bare.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSubObj.unset_bare.page new file mode 100644 index 00000000..2b548390 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSubObj.unset_bare.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.TestSubObj.unset_bare" + 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.TestSubObj" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_test_sub_obj_unset_bare</api:name> + <api:arg> + <api:type>Regress.TestSubObj</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestSubObj.unset_bare</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestSubObj) +@returns(none) +def unset_bare(self): + # Python wrapper for regress_test_sub_obj_unset_bare() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestTypeGUInt64.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestTypeGUInt64.page new file mode 100644 index 00000000..e0a7bc09 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestTypeGUInt64.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.TestTypeGUInt64" + type="topic" + style="default" + 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"/> + + </info> + <title>Regress.TestTypeGUInt64</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestWi8021x-testbool.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestWi8021x-testbool.page new file mode 100644 index 00000000..00c168bc --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestWi8021x-testbool.page @@ -0,0 +1,29 @@ +<?xml version="1.0"?> +<page id="Regress.TestWi8021x-testbool" + type="topic" + style="property" + 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.TestWi8021x" group="property" type="guide"/> + <title type="link" role="topic">testbool</title> + + </info> + <title>Regress.TestWi8021x:testbool</title> + +<synopsis><code mime="text/x-python"> +"testbool" bool : Read / Write +</code></synopsis> + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestWi8021x.get_testbool.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestWi8021x.get_testbool.page new file mode 100644 index 00000000..cd83b9da --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestWi8021x.get_testbool.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.TestWi8021x.get_testbool" + 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.TestWi8021x" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>bool</api:type> + </api:returns> + <api:name>regress_test_wi_802_1x_get_testbool</api:name> + <api:arg> + <api:type>Regress.TestWi8021x</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestWi8021x.get_testbool</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestWi8021x) +@returns(bool) +def get_testbool(self): + # Python wrapper for regress_test_wi_802_1x_get_testbool() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestWi8021x.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestWi8021x.page new file mode 100644 index 00000000..aef03874 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestWi8021x.page @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<page id="Regress.TestWi8021x" + 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="class" type="guide"/> + + </info> + <title>Regress.TestWi8021x</title> + + <synopsis><code> +from gi.repository import Regress + +test_wi8021x = Regress.TestWi8021x(<link xref='Regress.TestWi8021x-testbool'>testbool</link>=value) </code></synopsis> + + + + + + + + <synopsis> + <title>Hierarchy</title> + <tree> + <item> + <code>GObject.Object</code> + <item> + <code>Regress.TestWi8021x</code> + </item> + </item> + </tree> + </synopsis> + + + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + groups="method" style="linklist"> + <title>Methods</title> + </links> + <links type="topic" ui:expanded="true" + api:type="function" api:mime="text/python" + groups="function" style="linklist"> + <title>Functions</title> + </links> + <links type="topic" ui:expanded="true" groups="property" style="linklist"> + <title>Properties</title> + </links> + <links type="topic" ui:expanded="true" groups="signal" style="linklist"> + <title>Signals</title> + </links> + <links type="topic" ui:expanded="true" groups="vfunc" style="linklist"> + <title>Virtual functions</title> + </links> + <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist"> + <title>Other</title> + </links> + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestWi8021x.set_testbool.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestWi8021x.set_testbool.page new file mode 100644 index 00000000..59dbbd94 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestWi8021x.set_testbool.page @@ -0,0 +1,55 @@ +<?xml version="1.0"?> +<page id="Regress.TestWi8021x.set_testbool" + 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.TestWi8021x" group="method" type="guide"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_test_wi_802_1x_set_testbool</api:name> + <api:arg> + <api:type>Regress.TestWi8021x</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>bool</api:type> + <api:name>v</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestWi8021x.set_testbool</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestWi8021x, bool) +@returns(none) +def set_testbool(self, v): + # Python wrapper for regress_test_wi_802_1x_set_testbool() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>self</code></title> + +</item> +<item> +<title><code>v</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestWi8021x.static_method.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestWi8021x.static_method.page new file mode 100644 index 00000000..d2d83e36 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestWi8021x.static_method.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.TestWi8021x.static_method" + 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="Regress.TestWi8021x" group="function" type="guide"/> + <api:function> + <api:returns> + <api:type>int</api:type> + </api:returns> + <api:name>regress_test_wi_802_1x_static_method</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + </api:function> + + </info> + <title>Regress.TestWi8021x.static_method</title> + +<synopsis><code mime="text/x-python"> +@accepts(int) +@returns(int) +def static_method(x): + # Python wrapper for regress_test_wi_802_1x_static_method() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>x</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.aliased_caller_alloc.page b/tests/scanner/Regress-1.0-Python-expected/Regress.aliased_caller_alloc.page new file mode 100644 index 00000000..e210a976 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.aliased_caller_alloc.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.aliased_caller_alloc" + 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>none</api:type> + </api:returns> + <api:name>regress_aliased_caller_alloc</api:name> + <api:arg> + <api:type>Regress.AliasedTestBoxed</api:type> + <api:name>boxed</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.aliased_caller_alloc</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AliasedTestBoxed) +@returns(none) +def aliased_caller_alloc(boxed): + # Python wrapper for regress_aliased_caller_alloc() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>boxed</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_attribute_func.page b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_attribute_func.page new file mode 100644 index 00000000..edee18bf --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_attribute_func.page @@ -0,0 +1,59 @@ +<?xml version="1.0"?> +<page id="Regress.annotation_attribute_func" + 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>int</api:type> + </api:returns> + <api:name>regress_annotation_attribute_func</api:name> + <api:arg> + <api:type>Regress.AnnotationObject</api:type> + <api:name>object</api:name> + </api:arg> + <api:arg> + <api:type>unicode</api:type> + <api:name>data</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.annotation_attribute_func</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, unicode) +@returns(int) +def annotation_attribute_func(object, data): + # Python wrapper for regress_annotation_attribute_func() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>object</code></title> +<p>A <link xref="Regress.AnnotationObject"/>.</p> +</item> +<item> +<title><code>data</code></title> +<p>Some data.</p> +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_custom_destroy.page b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_custom_destroy.page new file mode 100644 index 00000000..860107f1 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_custom_destroy.page @@ -0,0 +1,64 @@ +<?xml version="1.0"?> +<page id="Regress.annotation_custom_destroy" + 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>none</api:type> + </api:returns> + <api:name>regress_annotation_custom_destroy</api:name> + <api:arg> + <api:type>Regress.AnnotationCallback</api:type> + <api:name>callback</api:name> + </api:arg> + <api:arg> + <api:type>Regress.AnnotationNotifyFunc</api:type> + <api:name>destroy</api:name> + </api:arg> + <api:arg> + <api:type>gpointer</api:type> + <api:name>data</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.annotation_custom_destroy</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationCallback, Regress.AnnotationNotifyFunc, gpointer) +@returns(none) +def annotation_custom_destroy(callback, destroy, data): + # Python wrapper for regress_annotation_custom_destroy() +</code></synopsis> + + + <p>Test messing up the heuristic of closure/destroy-notification +detection, and fixing it via annotations.</p> + + + + +<terms> +<item> +<title><code>callback</code></title> +<p>Destroy notification</p> +</item> +<item> +<title><code>destroy</code></title> + +</item> +<item> +<title><code>data</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_get_source_file.page b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_get_source_file.page new file mode 100644 index 00000000..51a2ce47 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_get_source_file.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.annotation_get_source_file" + 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>filename</api:type> + </api:returns> + <api:name>regress_annotation_get_source_file</api:name> + </api:function> + + </info> + <title>Index.annotation_get_source_file</title> + +<synopsis><code mime="text/x-python"> +@returns(filename) +def annotation_get_source_file(): + # Python wrapper for regress_annotation_get_source_file() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_init.page b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_init.page new file mode 100644 index 00000000..16c7ebd8 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_init.page @@ -0,0 +1,55 @@ +<?xml version="1.0"?> +<page id="Regress.annotation_init" + 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>none</api:type> + </api:returns> + <api:name>regress_annotation_init</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>argc</api:name> + </api:arg> + <api:arg> + <api:type>[unicode]</api:type> + <api:name>argv</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.annotation_init</title> + +<synopsis><code mime="text/x-python"> +@accepts(int, [unicode]) +@returns(none) +def annotation_init(argc, argv): + # Python wrapper for regress_annotation_init() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>argc</code></title> +<p>The number of args.</p> +</item> +<item> +<title><code>argv</code></title> +<p>The arguments.</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_invalid_regress_annotation.page b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_invalid_regress_annotation.page new file mode 100644 index 00000000..58701043 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_invalid_regress_annotation.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.annotation_invalid_regress_annotation" + 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>none</api:type> + </api:returns> + <api:name>regress_annotation_invalid_regress_annotation</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>foo</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.annotation_invalid_regress_annotation</title> + +<synopsis><code mime="text/x-python"> +@accepts(int) +@returns(none) +def annotation_invalid_regress_annotation(foo): + # Python wrapper for regress_annotation_invalid_regress_annotation() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>foo</code></title> +<p>some text (e.g. example) or else</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_ptr_array.page b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_ptr_array.page new file mode 100644 index 00000000..62cfbf7b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_ptr_array.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.annotation_ptr_array" + 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>none</api:type> + </api:returns> + <api:name>regress_annotation_ptr_array</api:name> + <api:arg> + <api:type>[GObject.Value]</api:type> + <api:name>array</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.annotation_ptr_array</title> + +<synopsis><code mime="text/x-python"> +@accepts([GObject.Value]) +@returns(none) +def annotation_ptr_array(array): + # Python wrapper for regress_annotation_ptr_array() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>array</code></title> +<p>the array</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_return_array.page b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_return_array.page new file mode 100644 index 00000000..fa1908d1 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_return_array.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.annotation_return_array" + 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>[unicode]</api:type> + </api:returns> + <api:name>regress_annotation_return_array</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>length</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.annotation_return_array</title> + +<synopsis><code mime="text/x-python"> +@accepts(int) +@returns([unicode]) +def annotation_return_array(length): + # Python wrapper for regress_annotation_return_array() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>length</code></title> +<p>Number of return values</p> +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_return_filename.page b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_return_filename.page new file mode 100644 index 00000000..4cbc4dbe --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_return_filename.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.annotation_return_filename" + 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>filename</api:type> + </api:returns> + <api:name>regress_annotation_return_filename</api:name> + </api:function> + + </info> + <title>Index.annotation_return_filename</title> + +<synopsis><code mime="text/x-python"> +@returns(filename) +def annotation_return_filename(): + # Python wrapper for regress_annotation_return_filename() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_set_source_file.page b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_set_source_file.page new file mode 100644 index 00000000..6eb6e853 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_set_source_file.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.annotation_set_source_file" + 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>none</api:type> + </api:returns> + <api:name>regress_annotation_set_source_file</api:name> + <api:arg> + <api:type>filename</api:type> + <api:name>fname</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.annotation_set_source_file</title> + +<synopsis><code mime="text/x-python"> +@accepts(filename) +@returns(none) +def annotation_set_source_file(fname): + # Python wrapper for regress_annotation_set_source_file() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>fname</code></title> +<p>Source file</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_space_after_comment_bug631690.page b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_space_after_comment_bug631690.page new file mode 100644 index 00000000..00154848 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_space_after_comment_bug631690.page @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<page id="Regress.annotation_space_after_comment_bug631690" + 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>none</api:type> + </api:returns> + <api:name>regress_annotation_space_after_comment_bug631690</api:name> + </api:function> + + </info> + <title>Index.annotation_space_after_comment_bug631690</title> + +<synopsis><code mime="text/x-python"> +@returns(none) +def annotation_space_after_comment_bug631690(): + # Python wrapper for regress_annotation_space_after_comment_bug631690() +</code></synopsis> + + + <p>Explicitly test having a space after the ** here.</p> + + + + +<terms> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_string_array_length.page b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_string_array_length.page new file mode 100644 index 00000000..c7d24096 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_string_array_length.page @@ -0,0 +1,55 @@ +<?xml version="1.0"?> +<page id="Regress.annotation_string_array_length" + 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>none</api:type> + </api:returns> + <api:name>regress_annotation_string_array_length</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>n_properties</api:name> + </api:arg> + <api:arg> + <api:type>[unicode]</api:type> + <api:name>properties</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.annotation_string_array_length</title> + +<synopsis><code mime="text/x-python"> +@accepts(int, [unicode]) +@returns(none) +def annotation_string_array_length(n_properties, properties): + # Python wrapper for regress_annotation_string_array_length() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>n_properties</code></title> + +</item> +<item> +<title><code>properties</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_string_zero_terminated.page b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_string_zero_terminated.page new file mode 100644 index 00000000..765658c0 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_string_zero_terminated.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.annotation_string_zero_terminated" + 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>[unicode]</api:type> + </api:returns> + <api:name>regress_annotation_string_zero_terminated</api:name> + </api:function> + + </info> + <title>Index.annotation_string_zero_terminated</title> + +<synopsis><code mime="text/x-python"> +@returns([unicode]) +def annotation_string_zero_terminated(): + # Python wrapper for regress_annotation_string_zero_terminated() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_string_zero_terminated_out.page b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_string_zero_terminated_out.page new file mode 100644 index 00000000..1a9e2a42 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_string_zero_terminated_out.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.annotation_string_zero_terminated_out" + 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>none</api:type> + </api:returns> + <api:name>regress_annotation_string_zero_terminated_out</api:name> + <api:arg> + <api:type>[unicode]</api:type> + <api:name>out</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.annotation_string_zero_terminated_out</title> + +<synopsis><code mime="text/x-python"> +@accepts([unicode]) +@returns(none) +def annotation_string_zero_terminated_out(out): + # Python wrapper for regress_annotation_string_zero_terminated_out() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>out</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_test_parsing_bug630862.page b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_test_parsing_bug630862.page new file mode 100644 index 00000000..868c2d84 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_test_parsing_bug630862.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.annotation_test_parsing_bug630862" + 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.Object</api:type> + </api:returns> + <api:name>regress_annotation_test_parsing_bug630862</api:name> + </api:function> + + </info> + <title>Index.annotation_test_parsing_bug630862</title> + +<synopsis><code mime="text/x-python"> +@returns(GObject.Object) +def annotation_test_parsing_bug630862(): + # Python wrapper for regress_annotation_test_parsing_bug630862() +</code></synopsis> + + + <p>See https://bugzilla.gnome.org/show_bug.cgi?id=630862</p> + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_transfer_floating.page b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_transfer_floating.page new file mode 100644 index 00000000..223d1a2b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_transfer_floating.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.annotation_transfer_floating" + 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.Object</api:type> + </api:returns> + <api:name>regress_annotation_transfer_floating</api:name> + </api:function> + + </info> + <title>Index.annotation_transfer_floating</title> + +<synopsis><code mime="text/x-python"> +@returns(GObject.Object) +def annotation_transfer_floating(): + # Python wrapper for regress_annotation_transfer_floating() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_versioned.page b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_versioned.page new file mode 100644 index 00000000..51d53cd8 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_versioned.page @@ -0,0 +1,39 @@ +<?xml version="1.0"?> +<page id="Regress.annotation_versioned" + 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>none</api:type> + </api:returns> + <api:name>regress_annotation_versioned</api:name> + </api:function> + + </info> + <title>Index.annotation_versioned</title> + +<synopsis><code mime="text/x-python"> +@returns(none) +def annotation_versioned(): + # Python wrapper for regress_annotation_versioned() +</code></synopsis> + + + + + + <p>Since 0.6</p> + + +<terms> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.atest_error_quark.page b/tests/scanner/Regress-1.0-Python-expected/Regress.atest_error_quark.page new file mode 100644 index 00000000..9adb4a8b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.atest_error_quark.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.atest_error_quark" + 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>GLib.Quark</api:type> + </api:returns> + <api:name>regress_atest_error_quark</api:name> + </api:function> + + </info> + <title>Index.atest_error_quark</title> + +<synopsis><code mime="text/x-python"> +@returns(GLib.Quark) +def atest_error_quark(): + # Python wrapper for regress_atest_error_quark() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.foo_async_ready_callback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_async_ready_callback.page new file mode 100644 index 00000000..b2c0a69a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_async_ready_callback.page @@ -0,0 +1,63 @@ +<?xml version="1.0"?> +<page id="Regress.foo_async_ready_callback" + 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>none</api:type> + </api:returns> + <api:name>regress_foo_async_ready_callback</api:name> + <api:arg> + <api:type>Gio.Cancellable</api:type> + <api:name>cancellable</api:name> + </api:arg> + <api:arg> + <api:type>Gio.AsyncReadyCallback</api:type> + <api:name>callback</api:name> + </api:arg> + <api:arg> + <api:type>gpointer</api:type> + <api:name>user_data</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.foo_async_ready_callback</title> + +<synopsis><code mime="text/x-python"> +@accepts(Gio.Cancellable, Gio.AsyncReadyCallback, gpointer) +@returns(none) +def foo_async_ready_callback(cancellable, callback, user_data): + # Python wrapper for regress_foo_async_ready_callback() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>cancellable</code></title> + +</item> +<item> +<title><code>callback</code></title> + +</item> +<item> +<title><code>user_data</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.foo_destroy_notify_callback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_destroy_notify_callback.page new file mode 100644 index 00000000..873beb20 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_destroy_notify_callback.page @@ -0,0 +1,63 @@ +<?xml version="1.0"?> +<page id="Regress.foo_destroy_notify_callback" + 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>none</api:type> + </api:returns> + <api:name>regress_foo_destroy_notify_callback</api:name> + <api:arg> + <api:type>Regress.FooCallback</api:type> + <api:name>callback</api:name> + </api:arg> + <api:arg> + <api:type>gpointer</api:type> + <api:name>data</api:name> + </api:arg> + <api:arg> + <api:type>GLib.DestroyNotify</api:type> + <api:name>destroy</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.foo_destroy_notify_callback</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooCallback, gpointer, GLib.DestroyNotify) +@returns(none) +def foo_destroy_notify_callback(callback, data, destroy): + # Python wrapper for regress_foo_destroy_notify_callback() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>callback</code></title> + +</item> +<item> +<title><code>data</code></title> + +</item> +<item> +<title><code>destroy</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.foo_init.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_init.page new file mode 100644 index 00000000..6b62ac46 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_init.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.foo_init" + 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>int</api:type> + </api:returns> + <api:name>regress_foo_init</api:name> + </api:function> + + </info> + <title>Index.foo_init</title> + +<synopsis><code mime="text/x-python"> +@returns(int) +def foo_init(): + # Python wrapper for regress_foo_init() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.foo_method_external_references.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_method_external_references.page new file mode 100644 index 00000000..4be81792 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_method_external_references.page @@ -0,0 +1,71 @@ +<?xml version="1.0"?> +<page id="Regress.foo_method_external_references" + 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>none</api:type> + </api:returns> + <api:name>regress_foo_method_external_references</api:name> + <api:arg> + <api:type>Utility.Object</api:type> + <api:name>object</api:name> + </api:arg> + <api:arg> + <api:type>Utility.EnumType</api:type> + <api:name>e</api:name> + </api:arg> + <api:arg> + <api:type>Utility.FlagType</api:type> + <api:name>f</api:name> + </api:arg> + <api:arg> + <api:type>Utility.Struct</api:type> + <api:name>s</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.foo_method_external_references</title> + +<synopsis><code mime="text/x-python"> +@accepts(Utility.Object, Utility.EnumType, Utility.FlagType, Utility.Struct) +@returns(none) +def foo_method_external_references(object, e, f, s): + # Python wrapper for regress_foo_method_external_references() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>object</code></title> + +</item> +<item> +<title><code>e</code></title> + +</item> +<item> +<title><code>f</code></title> + +</item> +<item> +<title><code>s</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.foo_not_a_constructor_new.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_not_a_constructor_new.page new file mode 100644 index 00000000..0f9ba11a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_not_a_constructor_new.page @@ -0,0 +1,43 @@ +<?xml version="1.0"?> +<page id="Regress.foo_not_a_constructor_new" + 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>Regress.FooObject</api:type> + </api:returns> + <api:name>regress_foo_not_a_constructor_new</api:name> + </api:function> + + </info> + <title>Index.foo_not_a_constructor_new</title> + +<synopsis><code mime="text/x-python"> +@returns(Regress.FooObject) +def foo_not_a_constructor_new(): + # Python wrapper for regress_foo_not_a_constructor_new() +</code></synopsis> + + + <p>This should be scanned as a top-level function, and shouldn't cause +a "Can't find matching type for constructor" warning.</p> + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_array.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_array.page new file mode 100644 index 00000000..d8cdbf50 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_array.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.foo_test_array" + 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>[unicode]</api:type> + </api:returns> + <api:name>regress_foo_test_array</api:name> + </api:function> + + </info> + <title>Index.foo_test_array</title> + +<synopsis><code mime="text/x-python"> +@returns([unicode]) +def foo_test_array(): + # Python wrapper for regress_foo_test_array() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_const_char_param.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_const_char_param.page new file mode 100644 index 00000000..fa7bc2e8 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_const_char_param.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.foo_test_const_char_param" + 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>none</api:type> + </api:returns> + <api:name>regress_foo_test_const_char_param</api:name> + <api:arg> + <api:type>unicode</api:type> + <api:name>param</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.foo_test_const_char_param</title> + +<synopsis><code mime="text/x-python"> +@accepts(unicode) +@returns(none) +def foo_test_const_char_param(param): + # Python wrapper for regress_foo_test_const_char_param() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>param</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_const_char_retval.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_const_char_retval.page new file mode 100644 index 00000000..34ae3f9c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_const_char_retval.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.foo_test_const_char_retval" + 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>unicode</api:type> + </api:returns> + <api:name>regress_foo_test_const_char_retval</api:name> + </api:function> + + </info> + <title>Index.foo_test_const_char_retval</title> + +<synopsis><code mime="text/x-python"> +@returns(unicode) +def foo_test_const_char_retval(): + # Python wrapper for regress_foo_test_const_char_retval() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_const_struct_param.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_const_struct_param.page new file mode 100644 index 00000000..f32ff39e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_const_struct_param.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.foo_test_const_struct_param" + 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>none</api:type> + </api:returns> + <api:name>regress_foo_test_const_struct_param</api:name> + <api:arg> + <api:type>Regress.FooStruct</api:type> + <api:name>param</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.foo_test_const_struct_param</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooStruct) +@returns(none) +def foo_test_const_struct_param(param): + # Python wrapper for regress_foo_test_const_struct_param() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>param</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_const_struct_retval.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_const_struct_retval.page new file mode 100644 index 00000000..24337f06 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_const_struct_retval.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.foo_test_const_struct_retval" + 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>Regress.FooStruct</api:type> + </api:returns> + <api:name>regress_foo_test_const_struct_retval</api:name> + </api:function> + + </info> + <title>Index.foo_test_const_struct_retval</title> + +<synopsis><code mime="text/x-python"> +@returns(Regress.FooStruct) +def foo_test_const_struct_retval(): + # Python wrapper for regress_foo_test_const_struct_retval() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_string_array.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_string_array.page new file mode 100644 index 00000000..8e242c5a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_string_array.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.foo_test_string_array" + 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>none</api:type> + </api:returns> + <api:name>regress_foo_test_string_array</api:name> + <api:arg> + <api:type>[unicode]</api:type> + <api:name>array</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.foo_test_string_array</title> + +<synopsis><code mime="text/x-python"> +@accepts([unicode]) +@returns(none) +def foo_test_string_array(array): + # Python wrapper for regress_foo_test_string_array() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>array</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_string_array_with_g.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_string_array_with_g.page new file mode 100644 index 00000000..92752bf4 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_string_array_with_g.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.foo_test_string_array_with_g" + 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>none</api:type> + </api:returns> + <api:name>regress_foo_test_string_array_with_g</api:name> + <api:arg> + <api:type>[unicode]</api:type> + <api:name>array</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.foo_test_string_array_with_g</title> + +<synopsis><code mime="text/x-python"> +@accepts([unicode]) +@returns(none) +def foo_test_string_array_with_g(array): + # Python wrapper for regress_foo_test_string_array_with_g() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>array</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_unsigned_qualifier.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_unsigned_qualifier.page new file mode 100644 index 00000000..2006eaef --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_unsigned_qualifier.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.foo_test_unsigned_qualifier" + 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>none</api:type> + </api:returns> + <api:name>regress_foo_test_unsigned_qualifier</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>unsigned_param</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.foo_test_unsigned_qualifier</title> + +<synopsis><code mime="text/x-python"> +@accepts(int) +@returns(none) +def foo_test_unsigned_qualifier(unsigned_param): + # Python wrapper for regress_foo_test_unsigned_qualifier() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>unsigned_param</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_unsigned_type.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_unsigned_type.page new file mode 100644 index 00000000..c32efe88 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_unsigned_type.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.foo_test_unsigned_type" + 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>none</api:type> + </api:returns> + <api:name>regress_foo_test_unsigned_type</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>unsigned_param</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.foo_test_unsigned_type</title> + +<synopsis><code mime="text/x-python"> +@accepts(int) +@returns(none) +def foo_test_unsigned_type(unsigned_param): + # Python wrapper for regress_foo_test_unsigned_type() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>unsigned_param</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.func_obj_null_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.func_obj_null_in.page new file mode 100644 index 00000000..1e737c0f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.func_obj_null_in.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.func_obj_null_in" + 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>none</api:type> + </api:returns> + <api:name>regress_func_obj_null_in</api:name> + <api:arg> + <api:type>Regress.TestObj</api:type> + <api:name>obj</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.func_obj_null_in</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestObj) +@returns(none) +def func_obj_null_in(obj): + # Python wrapper for regress_func_obj_null_in() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>obj</code></title> +<p>A <link xref="Regress.TestObj"/></p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.global_get_flags_out.page b/tests/scanner/Regress-1.0-Python-expected/Regress.global_get_flags_out.page new file mode 100644 index 00000000..825fe351 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.global_get_flags_out.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.global_get_flags_out" + 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>none</api:type> + </api:returns> + <api:name>regress_global_get_flags_out</api:name> + <api:arg> + <api:type>Regress.TestFlags</api:type> + <api:name>v</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.global_get_flags_out</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestFlags) +@returns(none) +def global_get_flags_out(v): + # Python wrapper for regress_global_get_flags_out() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>v</code></title> +<p>A flags value</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.has_parameter_named_attrs.page b/tests/scanner/Regress-1.0-Python-expected/Regress.has_parameter_named_attrs.page new file mode 100644 index 00000000..51ae15f7 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.has_parameter_named_attrs.page @@ -0,0 +1,56 @@ +<?xml version="1.0"?> +<page id="Regress.has_parameter_named_attrs" + 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>none</api:type> + </api:returns> + <api:name>regress_has_parameter_named_attrs</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>foo</api:name> + </api:arg> + <api:arg> + <api:type>[guint32]</api:type> + <api:name>attributes</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.has_parameter_named_attrs</title> + +<synopsis><code mime="text/x-python"> +@accepts(int, [guint32]) +@returns(none) +def has_parameter_named_attrs(foo, attributes): + # Python wrapper for regress_has_parameter_named_attrs() +</code></synopsis> + + + <p>This test case mirrors GnomeKeyringPasswordSchema from +libgnome-keyring.</p> + + + + +<terms> +<item> +<title><code>foo</code></title> +<p>some int</p> +</item> +<item> +<title><code>attributes</code></title> +<p>list of attributes</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.introspectable_via_alias.page b/tests/scanner/Regress-1.0-Python-expected/Regress.introspectable_via_alias.page new file mode 100644 index 00000000..9fc5a47c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.introspectable_via_alias.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.introspectable_via_alias" + 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>none</api:type> + </api:returns> + <api:name>regress_introspectable_via_alias</api:name> + <api:arg> + <api:type>Regress.PtrArrayAlias</api:type> + <api:name>data</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.introspectable_via_alias</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.PtrArrayAlias) +@returns(none) +def introspectable_via_alias(data): + # Python wrapper for regress_introspectable_via_alias() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>data</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.set_abort_on_error.page b/tests/scanner/Regress-1.0-Python-expected/Regress.set_abort_on_error.page new file mode 100644 index 00000000..ad81bff0 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.set_abort_on_error.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.set_abort_on_error" + 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>none</api:type> + </api:returns> + <api:name>regress_set_abort_on_error</api:name> + <api:arg> + <api:type>bool</api:type> + <api:name>abort_on_error</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.set_abort_on_error</title> + +<synopsis><code mime="text/x-python"> +@accepts(bool) +@returns(none) +def set_abort_on_error(abort_on_error): + # Python wrapper for regress_set_abort_on_error() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>abort_on_error</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_callback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_callback.page new file mode 100644 index 00000000..536a02cd --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_callback.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.test_array_callback" + 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>int</api:type> + </api:returns> + <api:name>regress_test_array_callback</api:name> + <api:arg> + <api:type>Regress.TestCallbackArray</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_array_callback</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestCallbackArray) +@returns(int) +def test_array_callback(callback): + # Python wrapper for regress_test_array_callback() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>callback</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_fixed_out_objects.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_fixed_out_objects.page new file mode 100644 index 00000000..26ddf0ca --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_fixed_out_objects.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.test_array_fixed_out_objects" + 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>none</api:type> + </api:returns> + <api:name>regress_test_array_fixed_out_objects</api:name> + <api:arg> + <api:type>[Regress.TestObj]</api:type> + <api:name>objs</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_array_fixed_out_objects</title> + +<synopsis><code mime="text/x-python"> +@accepts([Regress.TestObj]) +@returns(none) +def test_array_fixed_out_objects(objs): + # Python wrapper for regress_test_array_fixed_out_objects() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>objs</code></title> +<p>An array of <link xref="Regress.TestObj"/></p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_fixed_size_int_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_fixed_size_int_in.page new file mode 100644 index 00000000..eb816b81 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_fixed_size_int_in.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.test_array_fixed_size_int_in" + 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>int</api:type> + </api:returns> + <api:name>regress_test_array_fixed_size_int_in</api:name> + <api:arg> + <api:type>[int]</api:type> + <api:name>ints</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_array_fixed_size_int_in</title> + +<synopsis><code mime="text/x-python"> +@accepts([int]) +@returns(int) +def test_array_fixed_size_int_in(ints): + # Python wrapper for regress_test_array_fixed_size_int_in() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>ints</code></title> +<p>a list of 5 integers</p> +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_fixed_size_int_out.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_fixed_size_int_out.page new file mode 100644 index 00000000..39db1de3 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_fixed_size_int_out.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.test_array_fixed_size_int_out" + 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>none</api:type> + </api:returns> + <api:name>regress_test_array_fixed_size_int_out</api:name> + <api:arg> + <api:type>[int]</api:type> + <api:name>ints</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_array_fixed_size_int_out</title> + +<synopsis><code mime="text/x-python"> +@accepts([int]) +@returns(none) +def test_array_fixed_size_int_out(ints): + # Python wrapper for regress_test_array_fixed_size_int_out() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>ints</code></title> +<p>a list of 5 integers ranging from 0 to 4</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_fixed_size_int_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_fixed_size_int_return.page new file mode 100644 index 00000000..30cfee8d --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_fixed_size_int_return.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.test_array_fixed_size_int_return" + 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>[int]</api:type> + </api:returns> + <api:name>regress_test_array_fixed_size_int_return</api:name> + </api:function> + + </info> + <title>Index.test_array_fixed_size_int_return</title> + +<synopsis><code mime="text/x-python"> +@returns([int]) +def test_array_fixed_size_int_return(): + # Python wrapper for regress_test_array_fixed_size_int_return() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_gint16_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_gint16_in.page new file mode 100644 index 00000000..62c1c4c5 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_gint16_in.page @@ -0,0 +1,59 @@ +<?xml version="1.0"?> +<page id="Regress.test_array_gint16_in" + 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>int</api:type> + </api:returns> + <api:name>regress_test_array_gint16_in</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>n_ints</api:name> + </api:arg> + <api:arg> + <api:type>[gint16]</api:type> + <api:name>ints</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_array_gint16_in</title> + +<synopsis><code mime="text/x-python"> +@accepts(int, [gint16]) +@returns(int) +def test_array_gint16_in(n_ints, ints): + # Python wrapper for regress_test_array_gint16_in() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>n_ints</code></title> + +</item> +<item> +<title><code>ints</code></title> +<p>List of ints</p> +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_gint32_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_gint32_in.page new file mode 100644 index 00000000..948b271b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_gint32_in.page @@ -0,0 +1,59 @@ +<?xml version="1.0"?> +<page id="Regress.test_array_gint32_in" + 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>gint32</api:type> + </api:returns> + <api:name>regress_test_array_gint32_in</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>n_ints</api:name> + </api:arg> + <api:arg> + <api:type>[gint32]</api:type> + <api:name>ints</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_array_gint32_in</title> + +<synopsis><code mime="text/x-python"> +@accepts(int, [gint32]) +@returns(gint32) +def test_array_gint32_in(n_ints, ints): + # Python wrapper for regress_test_array_gint32_in() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>n_ints</code></title> + +</item> +<item> +<title><code>ints</code></title> +<p>List of ints</p> +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_gint64_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_gint64_in.page new file mode 100644 index 00000000..6756e0d0 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_gint64_in.page @@ -0,0 +1,59 @@ +<?xml version="1.0"?> +<page id="Regress.test_array_gint64_in" + 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>int</api:type> + </api:returns> + <api:name>regress_test_array_gint64_in</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>n_ints</api:name> + </api:arg> + <api:arg> + <api:type>[int]</api:type> + <api:name>ints</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_array_gint64_in</title> + +<synopsis><code mime="text/x-python"> +@accepts(int, [int]) +@returns(int) +def test_array_gint64_in(n_ints, ints): + # Python wrapper for regress_test_array_gint64_in() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>n_ints</code></title> + +</item> +<item> +<title><code>ints</code></title> +<p>List of ints</p> +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_gint8_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_gint8_in.page new file mode 100644 index 00000000..a7d70018 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_gint8_in.page @@ -0,0 +1,59 @@ +<?xml version="1.0"?> +<page id="Regress.test_array_gint8_in" + 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>int</api:type> + </api:returns> + <api:name>regress_test_array_gint8_in</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>n_ints</api:name> + </api:arg> + <api:arg> + <api:type>[gint8]</api:type> + <api:name>ints</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_array_gint8_in</title> + +<synopsis><code mime="text/x-python"> +@accepts(int, [gint8]) +@returns(int) +def test_array_gint8_in(n_ints, ints): + # Python wrapper for regress_test_array_gint8_in() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>n_ints</code></title> + +</item> +<item> +<title><code>ints</code></title> +<p>List of ints</p> +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_gtype_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_gtype_in.page new file mode 100644 index 00000000..e56b5223 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_gtype_in.page @@ -0,0 +1,59 @@ +<?xml version="1.0"?> +<page id="Regress.test_array_gtype_in" + 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>unicode</api:type> + </api:returns> + <api:name>regress_test_array_gtype_in</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>n_types</api:name> + </api:arg> + <api:arg> + <api:type>[GType]</api:type> + <api:name>types</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_array_gtype_in</title> + +<synopsis><code mime="text/x-python"> +@accepts(int, [GType]) +@returns(unicode) +def test_array_gtype_in(n_types, types): + # Python wrapper for regress_test_array_gtype_in() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>n_types</code></title> + +</item> +<item> +<title><code>types</code></title> +<p>List of types</p> +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_full_out.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_full_out.page new file mode 100644 index 00000000..42cbb0f8 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_full_out.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.test_array_int_full_out" + 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>[int]</api:type> + </api:returns> + <api:name>regress_test_array_int_full_out</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>len</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_array_int_full_out</title> + +<synopsis><code mime="text/x-python"> +@accepts(int) +@returns([int]) +def test_array_int_full_out(len): + # Python wrapper for regress_test_array_int_full_out() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>len</code></title> +<p>length of the returned array.</p> +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_in.page new file mode 100644 index 00000000..8e706e8f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_in.page @@ -0,0 +1,59 @@ +<?xml version="1.0"?> +<page id="Regress.test_array_int_in" + 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>int</api:type> + </api:returns> + <api:name>regress_test_array_int_in</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>n_ints</api:name> + </api:arg> + <api:arg> + <api:type>[int]</api:type> + <api:name>ints</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_array_int_in</title> + +<synopsis><code mime="text/x-python"> +@accepts(int, [int]) +@returns(int) +def test_array_int_in(n_ints, ints): + # Python wrapper for regress_test_array_int_in() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>n_ints</code></title> + +</item> +<item> +<title><code>ints</code></title> +<p>List of ints</p> +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_inout.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_inout.page new file mode 100644 index 00000000..b3f4448b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_inout.page @@ -0,0 +1,55 @@ +<?xml version="1.0"?> +<page id="Regress.test_array_int_inout" + 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>none</api:type> + </api:returns> + <api:name>regress_test_array_int_inout</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>n_ints</api:name> + </api:arg> + <api:arg> + <api:type>[int]</api:type> + <api:name>ints</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_array_int_inout</title> + +<synopsis><code mime="text/x-python"> +@accepts(int, [int]) +@returns(none) +def test_array_int_inout(n_ints, ints): + # Python wrapper for regress_test_array_int_inout() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>n_ints</code></title> +<p>the length of <code>ints</code></p> +</item> +<item> +<title><code>ints</code></title> +<p>a list of integers whose items will be increased by 1, except the first that will be dropped</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_none_out.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_none_out.page new file mode 100644 index 00000000..21e5bac0 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_none_out.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.test_array_int_none_out" + 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>[int]</api:type> + </api:returns> + <api:name>regress_test_array_int_none_out</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>len</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_array_int_none_out</title> + +<synopsis><code mime="text/x-python"> +@accepts(int) +@returns([int]) +def test_array_int_none_out(len): + # Python wrapper for regress_test_array_int_none_out() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>len</code></title> +<p>length of the returned array.</p> +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_null_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_null_in.page new file mode 100644 index 00000000..9b3fc8b0 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_null_in.page @@ -0,0 +1,55 @@ +<?xml version="1.0"?> +<page id="Regress.test_array_int_null_in" + 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>none</api:type> + </api:returns> + <api:name>regress_test_array_int_null_in</api:name> + <api:arg> + <api:type>[int]</api:type> + <api:name>arr</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>len</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_array_int_null_in</title> + +<synopsis><code mime="text/x-python"> +@accepts([int], int) +@returns(none) +def test_array_int_null_in(arr, len): + # Python wrapper for regress_test_array_int_null_in() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>arr</code></title> + +</item> +<item> +<title><code>len</code></title> +<p>length</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_null_out.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_null_out.page new file mode 100644 index 00000000..5b83b30a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_null_out.page @@ -0,0 +1,55 @@ +<?xml version="1.0"?> +<page id="Regress.test_array_int_null_out" + 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>none</api:type> + </api:returns> + <api:name>regress_test_array_int_null_out</api:name> + <api:arg> + <api:type>[int]</api:type> + <api:name>arr</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>len</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_array_int_null_out</title> + +<synopsis><code mime="text/x-python"> +@accepts([int], int) +@returns(none) +def test_array_int_null_out(arr, len): + # Python wrapper for regress_test_array_int_null_out() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>arr</code></title> + +</item> +<item> +<title><code>len</code></title> +<p>length</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_out.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_out.page new file mode 100644 index 00000000..b8f44411 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_out.page @@ -0,0 +1,55 @@ +<?xml version="1.0"?> +<page id="Regress.test_array_int_out" + 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>none</api:type> + </api:returns> + <api:name>regress_test_array_int_out</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>n_ints</api:name> + </api:arg> + <api:arg> + <api:type>[int]</api:type> + <api:name>ints</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_array_int_out</title> + +<synopsis><code mime="text/x-python"> +@accepts(int, [int]) +@returns(none) +def test_array_int_out(n_ints, ints): + # Python wrapper for regress_test_array_int_out() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>n_ints</code></title> +<p>the length of <code>ints</code></p> +</item> +<item> +<title><code>ints</code></title> +<p>a list of 5 integers, from 0 to 4 in consecutive order</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_async_ready_callback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_async_ready_callback.page new file mode 100644 index 00000000..1dcf46cd --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_async_ready_callback.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.test_async_ready_callback" + 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>none</api:type> + </api:returns> + <api:name>regress_test_async_ready_callback</api:name> + <api:arg> + <api:type>Gio.AsyncReadyCallback</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_async_ready_callback</title> + +<synopsis><code mime="text/x-python"> +@accepts(Gio.AsyncReadyCallback) +@returns(none) +def test_async_ready_callback(callback): + # Python wrapper for regress_test_async_ready_callback() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>callback</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_boolean.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_boolean.page new file mode 100644 index 00000000..22d2ebfa --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_boolean.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.test_boolean" + 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>bool</api:type> + </api:returns> + <api:name>regress_test_boolean</api:name> + <api:arg> + <api:type>bool</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_boolean</title> + +<synopsis><code mime="text/x-python"> +@accepts(bool) +@returns(bool) +def test_boolean(in): + # Python wrapper for regress_test_boolean() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>in</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_boolean_false.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_boolean_false.page new file mode 100644 index 00000000..877f5820 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_boolean_false.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.test_boolean_false" + 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>bool</api:type> + </api:returns> + <api:name>regress_test_boolean_false</api:name> + <api:arg> + <api:type>bool</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_boolean_false</title> + +<synopsis><code mime="text/x-python"> +@accepts(bool) +@returns(bool) +def test_boolean_false(in): + # Python wrapper for regress_test_boolean_false() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>in</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_boolean_true.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_boolean_true.page new file mode 100644 index 00000000..3a1fc20a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_boolean_true.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.test_boolean_true" + 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>bool</api:type> + </api:returns> + <api:name>regress_test_boolean_true</api:name> + <api:arg> + <api:type>bool</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_boolean_true</title> + +<synopsis><code mime="text/x-python"> +@accepts(bool) +@returns(bool) +def test_boolean_true(in): + # Python wrapper for regress_test_boolean_true() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>in</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_cairo_context_full_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_cairo_context_full_return.page new file mode 100644 index 00000000..4bf83f02 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_cairo_context_full_return.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.test_cairo_context_full_return" + 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>cairo.Context</api:type> + </api:returns> + <api:name>regress_test_cairo_context_full_return</api:name> + </api:function> + + </info> + <title>Index.test_cairo_context_full_return</title> + +<synopsis><code mime="text/x-python"> +@returns(cairo.Context) +def test_cairo_context_full_return(): + # Python wrapper for regress_test_cairo_context_full_return() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_cairo_context_none_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_cairo_context_none_in.page new file mode 100644 index 00000000..a30b8d27 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_cairo_context_none_in.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.test_cairo_context_none_in" + 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>none</api:type> + </api:returns> + <api:name>regress_test_cairo_context_none_in</api:name> + <api:arg> + <api:type>cairo.Context</api:type> + <api:name>context</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_cairo_context_none_in</title> + +<synopsis><code mime="text/x-python"> +@accepts(cairo.Context) +@returns(none) +def test_cairo_context_none_in(context): + # Python wrapper for regress_test_cairo_context_none_in() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>context</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_cairo_surface_full_out.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_cairo_surface_full_out.page new file mode 100644 index 00000000..cfda6fdf --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_cairo_surface_full_out.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.test_cairo_surface_full_out" + 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>none</api:type> + </api:returns> + <api:name>regress_test_cairo_surface_full_out</api:name> + <api:arg> + <api:type>cairo.Surface</api:type> + <api:name>surface</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_cairo_surface_full_out</title> + +<synopsis><code mime="text/x-python"> +@accepts(cairo.Surface) +@returns(none) +def test_cairo_surface_full_out(surface): + # Python wrapper for regress_test_cairo_surface_full_out() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>surface</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_cairo_surface_full_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_cairo_surface_full_return.page new file mode 100644 index 00000000..5de20a93 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_cairo_surface_full_return.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.test_cairo_surface_full_return" + 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>cairo.Surface</api:type> + </api:returns> + <api:name>regress_test_cairo_surface_full_return</api:name> + </api:function> + + </info> + <title>Index.test_cairo_surface_full_return</title> + +<synopsis><code mime="text/x-python"> +@returns(cairo.Surface) +def test_cairo_surface_full_return(): + # Python wrapper for regress_test_cairo_surface_full_return() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_cairo_surface_none_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_cairo_surface_none_in.page new file mode 100644 index 00000000..af1b9489 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_cairo_surface_none_in.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.test_cairo_surface_none_in" + 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>none</api:type> + </api:returns> + <api:name>regress_test_cairo_surface_none_in</api:name> + <api:arg> + <api:type>cairo.Surface</api:type> + <api:name>surface</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_cairo_surface_none_in</title> + +<synopsis><code mime="text/x-python"> +@accepts(cairo.Surface) +@returns(none) +def test_cairo_surface_none_in(surface): + # Python wrapper for regress_test_cairo_surface_none_in() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>surface</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_cairo_surface_none_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_cairo_surface_none_return.page new file mode 100644 index 00000000..98fa6eba --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_cairo_surface_none_return.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.test_cairo_surface_none_return" + 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>cairo.Surface</api:type> + </api:returns> + <api:name>regress_test_cairo_surface_none_return</api:name> + </api:function> + + </info> + <title>Index.test_cairo_surface_none_return</title> + +<synopsis><code mime="text/x-python"> +@returns(cairo.Surface) +def test_cairo_surface_none_return(): + # Python wrapper for regress_test_cairo_surface_none_return() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback.page new file mode 100644 index 00000000..3481fc13 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.test_callback" + 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>int</api:type> + </api:returns> + <api:name>regress_test_callback</api:name> + <api:arg> + <api:type>Regress.TestCallback</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_callback</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestCallback) +@returns(int) +def test_callback(callback): + # Python wrapper for regress_test_callback() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>callback</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback_async.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback_async.page new file mode 100644 index 00000000..21dc7ee7 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback_async.page @@ -0,0 +1,55 @@ +<?xml version="1.0"?> +<page id="Regress.test_callback_async" + 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>none</api:type> + </api:returns> + <api:name>regress_test_callback_async</api:name> + <api:arg> + <api:type>Regress.TestCallbackUserData</api:type> + <api:name>callback</api:name> + </api:arg> + <api:arg> + <api:type>gpointer</api:type> + <api:name>user_data</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_callback_async</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestCallbackUserData, gpointer) +@returns(none) +def test_callback_async(callback, user_data): + # Python wrapper for regress_test_callback_async() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>callback</code></title> + +</item> +<item> +<title><code>user_data</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback_destroy_notify.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback_destroy_notify.page new file mode 100644 index 00000000..86df7941 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback_destroy_notify.page @@ -0,0 +1,68 @@ +<?xml version="1.0"?> +<page id="Regress.test_callback_destroy_notify" + 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>int</api:type> + </api:returns> + <api:name>regress_test_callback_destroy_notify</api:name> + <api:arg> + <api:type>Regress.TestCallbackUserData</api:type> + <api:name>callback</api:name> + </api:arg> + <api:arg> + <api:type>gpointer</api:type> + <api:name>user_data</api:name> + </api:arg> + <api:arg> + <api:type>GLib.DestroyNotify</api:type> + <api:name>notify</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_callback_destroy_notify</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestCallbackUserData, gpointer, GLib.DestroyNotify) +@returns(int) +def test_callback_destroy_notify(callback, user_data, notify): + # Python wrapper for regress_test_callback_destroy_notify() +</code></synopsis> + + + <p>Notified - callback persists until a DestroyNotify delegate +is invoked.</p> + + + + +<terms> +<item> +<title><code>callback</code></title> + +</item> +<item> +<title><code>user_data</code></title> + +</item> +<item> +<title><code>notify</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback_destroy_notify_no_user_data.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback_destroy_notify_no_user_data.page new file mode 100644 index 00000000..05883e8c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback_destroy_notify_no_user_data.page @@ -0,0 +1,60 @@ +<?xml version="1.0"?> +<page id="Regress.test_callback_destroy_notify_no_user_data" + 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>int</api:type> + </api:returns> + <api:name>regress_test_callback_destroy_notify_no_user_data</api:name> + <api:arg> + <api:type>Regress.TestCallbackUserData</api:type> + <api:name>callback</api:name> + </api:arg> + <api:arg> + <api:type>GLib.DestroyNotify</api:type> + <api:name>notify</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_callback_destroy_notify_no_user_data</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestCallbackUserData, GLib.DestroyNotify) +@returns(int) +def test_callback_destroy_notify_no_user_data(callback, notify): + # Python wrapper for regress_test_callback_destroy_notify_no_user_data() +</code></synopsis> + + + <p>Adds a scope notified callback with no user data. This can invoke an error +condition in bindings which needs to be tested.</p> + + + + +<terms> +<item> +<title><code>callback</code></title> + +</item> +<item> +<title><code>notify</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback_thaw_async.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback_thaw_async.page new file mode 100644 index 00000000..d362cb86 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback_thaw_async.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.test_callback_thaw_async" + 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>int</api:type> + </api:returns> + <api:name>regress_test_callback_thaw_async</api:name> + </api:function> + + </info> + <title>Index.test_callback_thaw_async</title> + +<synopsis><code mime="text/x-python"> +@returns(int) +def test_callback_thaw_async(): + # Python wrapper for regress_test_callback_thaw_async() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback_thaw_notifications.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback_thaw_notifications.page new file mode 100644 index 00000000..485e69b8 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback_thaw_notifications.page @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<page id="Regress.test_callback_thaw_notifications" + 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>int</api:type> + </api:returns> + <api:name>regress_test_callback_thaw_notifications</api:name> + </api:function> + + </info> + <title>Index.test_callback_thaw_notifications</title> + +<synopsis><code mime="text/x-python"> +@returns(int) +def test_callback_thaw_notifications(): + # Python wrapper for regress_test_callback_thaw_notifications() +</code></synopsis> + + + <p>Invokes all callbacks installed by #test_callback_destroy_notify(), +adding up their return values, and removes them, invoking the +corresponding destroy notfications.</p> + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback_user_data.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback_user_data.page new file mode 100644 index 00000000..8ec83767 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback_user_data.page @@ -0,0 +1,60 @@ +<?xml version="1.0"?> +<page id="Regress.test_callback_user_data" + 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>int</api:type> + </api:returns> + <api:name>regress_test_callback_user_data</api:name> + <api:arg> + <api:type>Regress.TestCallbackUserData</api:type> + <api:name>callback</api:name> + </api:arg> + <api:arg> + <api:type>gpointer</api:type> + <api:name>user_data</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_callback_user_data</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestCallbackUserData, gpointer) +@returns(int) +def test_callback_user_data(callback, user_data): + # Python wrapper for regress_test_callback_user_data() +</code></synopsis> + + + <p>Call - callback parameter persists for the duration of the method +call and can be released on return.</p> + + + + +<terms> +<item> +<title><code>callback</code></title> + +</item> +<item> +<title><code>user_data</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_closure.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_closure.page new file mode 100644 index 00000000..d11a8a08 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_closure.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.test_closure" + 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>int</api:type> + </api:returns> + <api:name>regress_test_closure</api:name> + <api:arg> + <api:type>GObject.Closure</api:type> + <api:name>closure</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_closure</title> + +<synopsis><code mime="text/x-python"> +@accepts(GObject.Closure) +@returns(int) +def test_closure(closure): + # Python wrapper for regress_test_closure() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>closure</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_closure_one_arg.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_closure_one_arg.page new file mode 100644 index 00000000..f8d91f13 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_closure_one_arg.page @@ -0,0 +1,59 @@ +<?xml version="1.0"?> +<page id="Regress.test_closure_one_arg" + 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>int</api:type> + </api:returns> + <api:name>regress_test_closure_one_arg</api:name> + <api:arg> + <api:type>GObject.Closure</api:type> + <api:name>closure</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>arg</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_closure_one_arg</title> + +<synopsis><code mime="text/x-python"> +@accepts(GObject.Closure, int) +@returns(int) +def test_closure_one_arg(closure, arg): + # Python wrapper for regress_test_closure_one_arg() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>closure</code></title> + +</item> +<item> +<title><code>arg</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_closure_variant.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_closure_variant.page new file mode 100644 index 00000000..7d6a1ac3 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_closure_variant.page @@ -0,0 +1,59 @@ +<?xml version="1.0"?> +<page id="Regress.test_closure_variant" + 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>GLib.Variant</api:type> + </api:returns> + <api:name>regress_test_closure_variant</api:name> + <api:arg> + <api:type>GObject.Closure</api:type> + <api:name>closure</api:name> + </api:arg> + <api:arg> + <api:type>GLib.Variant</api:type> + <api:name>arg</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_closure_variant</title> + +<synopsis><code mime="text/x-python"> +@accepts(GObject.Closure, GLib.Variant) +@returns(GLib.Variant) +def test_closure_variant(closure, arg): + # Python wrapper for regress_test_closure_variant() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>closure</code></title> +<p>GClosure which takes one GVariant and returns a GVariant</p> +</item> +<item> +<title><code>arg</code></title> +<p>a GVariant passed as argument to <code>closure</code></p> +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_date_in_gvalue.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_date_in_gvalue.page new file mode 100644 index 00000000..04289860 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_date_in_gvalue.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.test_date_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_date_in_gvalue</api:name> + </api:function> + + </info> + <title>Index.test_date_in_gvalue</title> + +<synopsis><code mime="text/x-python"> +@returns(GObject.Value) +def test_date_in_gvalue(): + # Python wrapper for regress_test_date_in_gvalue() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_def_error_quark.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_def_error_quark.page new file mode 100644 index 00000000..95f40e3c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_def_error_quark.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.test_def_error_quark" + 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>GLib.Quark</api:type> + </api:returns> + <api:name>regress_test_def_error_quark</api:name> + </api:function> + + </info> + <title>Index.test_def_error_quark</title> + +<synopsis><code mime="text/x-python"> +@returns(GLib.Quark) +def test_def_error_quark(): + # Python wrapper for regress_test_def_error_quark() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_double.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_double.page new file mode 100644 index 00000000..9a2b7866 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_double.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.test_double" + 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>float</api:type> + </api:returns> + <api:name>regress_test_double</api:name> + <api:arg> + <api:type>float</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_double</title> + +<synopsis><code mime="text/x-python"> +@accepts(float) +@returns(float) +def test_double(in): + # Python wrapper for regress_test_double() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>in</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_filename_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_filename_return.page new file mode 100644 index 00000000..d267b55a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_filename_return.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.test_filename_return" + 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>[filename]</api:type> + </api:returns> + <api:name>regress_test_filename_return</api:name> + </api:function> + + </info> + <title>Index.test_filename_return</title> + +<synopsis><code mime="text/x-python"> +@returns([filename]) +def test_filename_return(): + # Python wrapper for regress_test_filename_return() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_float.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_float.page new file mode 100644 index 00000000..9d362f8d --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_float.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.test_float" + 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>float</api:type> + </api:returns> + <api:name>regress_test_float</api:name> + <api:arg> + <api:type>float</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_float</title> + +<synopsis><code mime="text/x-python"> +@accepts(float) +@returns(float) +def test_float(in): + # Python wrapper for regress_test_float() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>in</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_garray_container_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_garray_container_return.page new file mode 100644 index 00000000..43990b2c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_garray_container_return.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.test_garray_container_return" + 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>[unicode]</api:type> + </api:returns> + <api:name>regress_test_garray_container_return</api:name> + </api:function> + + </info> + <title>Index.test_garray_container_return</title> + +<synopsis><code mime="text/x-python"> +@returns([unicode]) +def test_garray_container_return(): + # Python wrapper for regress_test_garray_container_return() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_garray_full_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_garray_full_return.page new file mode 100644 index 00000000..f0bfb6d3 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_garray_full_return.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.test_garray_full_return" + 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>[unicode]</api:type> + </api:returns> + <api:name>regress_test_garray_full_return</api:name> + </api:function> + + </info> + <title>Index.test_garray_full_return</title> + +<synopsis><code mime="text/x-python"> +@returns([unicode]) +def test_garray_full_return(): + # Python wrapper for regress_test_garray_full_return() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_gerror_callback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gerror_callback.page new file mode 100644 index 00000000..5630526c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gerror_callback.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.test_gerror_callback" + 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>none</api:type> + </api:returns> + <api:name>regress_test_gerror_callback</api:name> + <api:arg> + <api:type>Regress.TestCallbackGError</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_gerror_callback</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestCallbackGError) +@returns(none) +def test_gerror_callback(callback): + # Python wrapper for regress_test_gerror_callback() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>callback</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_container_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_container_return.page new file mode 100644 index 00000000..ec91c452 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_container_return.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.test_ghash_container_return" + 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>{unicode: unicode}</api:type> + </api:returns> + <api:name>regress_test_ghash_container_return</api:name> + </api:function> + + </info> + <title>Index.test_ghash_container_return</title> + +<synopsis><code mime="text/x-python"> +@returns({unicode: unicode}) +def test_ghash_container_return(): + # Python wrapper for regress_test_ghash_container_return() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_everything_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_everything_return.page new file mode 100644 index 00000000..5356c011 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_everything_return.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.test_ghash_everything_return" + 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>{unicode: unicode}</api:type> + </api:returns> + <api:name>regress_test_ghash_everything_return</api:name> + </api:function> + + </info> + <title>Index.test_ghash_everything_return</title> + +<synopsis><code mime="text/x-python"> +@returns({unicode: unicode}) +def test_ghash_everything_return(): + # Python wrapper for regress_test_ghash_everything_return() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_gvalue_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_gvalue_in.page new file mode 100644 index 00000000..8273602b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_gvalue_in.page @@ -0,0 +1,48 @@ +<?xml version="1.0"?> +<page id="Regress.test_ghash_gvalue_in" + 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>none</api:type> + </api:returns> + <api:name>regress_test_ghash_gvalue_in</api:name> + <api:arg> + <api:type>{unicode: GObject.Value}</api:type> + <api:name>hash</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_ghash_gvalue_in</title> + +<synopsis><code mime="text/x-python"> +@accepts({unicode: GObject.Value}) +@returns(none) +def test_ghash_gvalue_in(hash): + # Python wrapper for regress_test_ghash_gvalue_in() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>hash</code></title> +<p>the hash table returned by +<link xref="Regress.test_ghash_gvalue_return"/>.</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_gvalue_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_gvalue_return.page new file mode 100644 index 00000000..6d6a257f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_gvalue_return.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.test_ghash_gvalue_return" + 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>{unicode: GObject.Value}</api:type> + </api:returns> + <api:name>regress_test_ghash_gvalue_return</api:name> + </api:function> + + </info> + <title>Index.test_ghash_gvalue_return</title> + +<synopsis><code mime="text/x-python"> +@returns({unicode: GObject.Value}) +def test_ghash_gvalue_return(): + # Python wrapper for regress_test_ghash_gvalue_return() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_nested_everything_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_nested_everything_return.page new file mode 100644 index 00000000..6bc643fb --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_nested_everything_return.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.test_ghash_nested_everything_return" + 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>{unicode: {unicode: unicode}}</api:type> + </api:returns> + <api:name>regress_test_ghash_nested_everything_return</api:name> + </api:function> + + </info> + <title>Index.test_ghash_nested_everything_return</title> + +<synopsis><code mime="text/x-python"> +@returns({unicode: {unicode: unicode}}) +def test_ghash_nested_everything_return(): + # Python wrapper for regress_test_ghash_nested_everything_return() +</code></synopsis> + + + <p>Specify nested parameterized types directly with the (type ) annotation.</p> + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_nested_everything_return2.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_nested_everything_return2.page new file mode 100644 index 00000000..1cb34424 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_nested_everything_return2.page @@ -0,0 +1,43 @@ +<?xml version="1.0"?> +<page id="Regress.test_ghash_nested_everything_return2" + 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>{unicode: {unicode: unicode}}</api:type> + </api:returns> + <api:name>regress_test_ghash_nested_everything_return2</api:name> + </api:function> + + </info> + <title>Index.test_ghash_nested_everything_return2</title> + +<synopsis><code mime="text/x-python"> +@returns({unicode: {unicode: unicode}}) +def test_ghash_nested_everything_return2(): + # Python wrapper for regress_test_ghash_nested_everything_return2() +</code></synopsis> + + + <p>Another way of specifying nested parameterized types: using the +element-type annotation.</p> + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_nothing_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_nothing_in.page new file mode 100644 index 00000000..b1d295cf --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_nothing_in.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.test_ghash_nothing_in" + 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>none</api:type> + </api:returns> + <api:name>regress_test_ghash_nothing_in</api:name> + <api:arg> + <api:type>{unicode: unicode}</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_ghash_nothing_in</title> + +<synopsis><code mime="text/x-python"> +@accepts({unicode: unicode}) +@returns(none) +def test_ghash_nothing_in(in): + # Python wrapper for regress_test_ghash_nothing_in() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>in</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_nothing_in2.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_nothing_in2.page new file mode 100644 index 00000000..df58bb6d --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_nothing_in2.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.test_ghash_nothing_in2" + 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>none</api:type> + </api:returns> + <api:name>regress_test_ghash_nothing_in2</api:name> + <api:arg> + <api:type>{unicode: unicode}</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_ghash_nothing_in2</title> + +<synopsis><code mime="text/x-python"> +@accepts({unicode: unicode}) +@returns(none) +def test_ghash_nothing_in2(in): + # Python wrapper for regress_test_ghash_nothing_in2() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>in</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_nothing_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_nothing_return.page new file mode 100644 index 00000000..072fed9b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_nothing_return.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.test_ghash_nothing_return" + 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>{unicode: unicode}</api:type> + </api:returns> + <api:name>regress_test_ghash_nothing_return</api:name> + </api:function> + + </info> + <title>Index.test_ghash_nothing_return</title> + +<synopsis><code mime="text/x-python"> +@returns({unicode: unicode}) +def test_ghash_nothing_return(): + # Python wrapper for regress_test_ghash_nothing_return() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_nothing_return2.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_nothing_return2.page new file mode 100644 index 00000000..161d3f62 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_nothing_return2.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.test_ghash_nothing_return2" + 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>{unicode: unicode}</api:type> + </api:returns> + <api:name>regress_test_ghash_nothing_return2</api:name> + </api:function> + + </info> + <title>Index.test_ghash_nothing_return2</title> + +<synopsis><code mime="text/x-python"> +@returns({unicode: unicode}) +def test_ghash_nothing_return2(): + # Python wrapper for regress_test_ghash_nothing_return2() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_null_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_null_in.page new file mode 100644 index 00000000..ee3ed32e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_null_in.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.test_ghash_null_in" + 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>none</api:type> + </api:returns> + <api:name>regress_test_ghash_null_in</api:name> + <api:arg> + <api:type>{unicode: unicode}</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_ghash_null_in</title> + +<synopsis><code mime="text/x-python"> +@accepts({unicode: unicode}) +@returns(none) +def test_ghash_null_in(in): + # Python wrapper for regress_test_ghash_null_in() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>in</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_null_out.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_null_out.page new file mode 100644 index 00000000..683efc41 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_null_out.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.test_ghash_null_out" + 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>none</api:type> + </api:returns> + <api:name>regress_test_ghash_null_out</api:name> + <api:arg> + <api:type>{unicode: unicode}</api:type> + <api:name>out</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_ghash_null_out</title> + +<synopsis><code mime="text/x-python"> +@accepts({unicode: unicode}) +@returns(none) +def test_ghash_null_out(out): + # Python wrapper for regress_test_ghash_null_out() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>out</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_null_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_null_return.page new file mode 100644 index 00000000..ea516226 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_null_return.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.test_ghash_null_return" + 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>{unicode: unicode}</api:type> + </api:returns> + <api:name>regress_test_ghash_null_return</api:name> + </api:function> + + </info> + <title>Index.test_ghash_null_return</title> + +<synopsis><code mime="text/x-python"> +@returns({unicode: unicode}) +def test_ghash_null_return(): + # Python wrapper for regress_test_ghash_null_return() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_container_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_container_return.page new file mode 100644 index 00000000..9d098baa --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_container_return.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.test_glist_container_return" + 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>[unicode]</api:type> + </api:returns> + <api:name>regress_test_glist_container_return</api:name> + </api:function> + + </info> + <title>Index.test_glist_container_return</title> + +<synopsis><code mime="text/x-python"> +@returns([unicode]) +def test_glist_container_return(): + # Python wrapper for regress_test_glist_container_return() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_everything_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_everything_return.page new file mode 100644 index 00000000..6b2d3704 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_everything_return.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.test_glist_everything_return" + 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>[unicode]</api:type> + </api:returns> + <api:name>regress_test_glist_everything_return</api:name> + </api:function> + + </info> + <title>Index.test_glist_everything_return</title> + +<synopsis><code mime="text/x-python"> +@returns([unicode]) +def test_glist_everything_return(): + # Python wrapper for regress_test_glist_everything_return() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_nothing_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_nothing_in.page new file mode 100644 index 00000000..4873a198 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_nothing_in.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.test_glist_nothing_in" + 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>none</api:type> + </api:returns> + <api:name>regress_test_glist_nothing_in</api:name> + <api:arg> + <api:type>[unicode]</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_glist_nothing_in</title> + +<synopsis><code mime="text/x-python"> +@accepts([unicode]) +@returns(none) +def test_glist_nothing_in(in): + # Python wrapper for regress_test_glist_nothing_in() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>in</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_nothing_in2.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_nothing_in2.page new file mode 100644 index 00000000..e28d3a89 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_nothing_in2.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.test_glist_nothing_in2" + 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>none</api:type> + </api:returns> + <api:name>regress_test_glist_nothing_in2</api:name> + <api:arg> + <api:type>[unicode]</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_glist_nothing_in2</title> + +<synopsis><code mime="text/x-python"> +@accepts([unicode]) +@returns(none) +def test_glist_nothing_in2(in): + # Python wrapper for regress_test_glist_nothing_in2() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>in</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_nothing_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_nothing_return.page new file mode 100644 index 00000000..b4b12c81 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_nothing_return.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.test_glist_nothing_return" + 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>[unicode]</api:type> + </api:returns> + <api:name>regress_test_glist_nothing_return</api:name> + </api:function> + + </info> + <title>Index.test_glist_nothing_return</title> + +<synopsis><code mime="text/x-python"> +@returns([unicode]) +def test_glist_nothing_return(): + # Python wrapper for regress_test_glist_nothing_return() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_nothing_return2.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_nothing_return2.page new file mode 100644 index 00000000..aab83e50 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_nothing_return2.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.test_glist_nothing_return2" + 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>[unicode]</api:type> + </api:returns> + <api:name>regress_test_glist_nothing_return2</api:name> + </api:function> + + </info> + <title>Index.test_glist_nothing_return2</title> + +<synopsis><code mime="text/x-python"> +@returns([unicode]) +def test_glist_nothing_return2(): + # Python wrapper for regress_test_glist_nothing_return2() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_null_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_null_in.page new file mode 100644 index 00000000..ac3f3d62 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_null_in.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.test_glist_null_in" + 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>none</api:type> + </api:returns> + <api:name>regress_test_glist_null_in</api:name> + <api:arg> + <api:type>[unicode]</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_glist_null_in</title> + +<synopsis><code mime="text/x-python"> +@accepts([unicode]) +@returns(none) +def test_glist_null_in(in): + # Python wrapper for regress_test_glist_null_in() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>in</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_null_out.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_null_out.page new file mode 100644 index 00000000..335d1b21 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_null_out.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.test_glist_null_out" + 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>none</api:type> + </api:returns> + <api:name>regress_test_glist_null_out</api:name> + <api:arg> + <api:type>[unicode]</api:type> + <api:name>out_list</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_glist_null_out</title> + +<synopsis><code mime="text/x-python"> +@accepts([unicode]) +@returns(none) +def test_glist_null_out(out_list): + # Python wrapper for regress_test_glist_null_out() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>out_list</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_container_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_container_return.page new file mode 100644 index 00000000..702c635c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_container_return.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.test_gslist_container_return" + 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>[unicode]</api:type> + </api:returns> + <api:name>regress_test_gslist_container_return</api:name> + </api:function> + + </info> + <title>Index.test_gslist_container_return</title> + +<synopsis><code mime="text/x-python"> +@returns([unicode]) +def test_gslist_container_return(): + # Python wrapper for regress_test_gslist_container_return() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_everything_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_everything_return.page new file mode 100644 index 00000000..95fd40c8 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_everything_return.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.test_gslist_everything_return" + 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>[unicode]</api:type> + </api:returns> + <api:name>regress_test_gslist_everything_return</api:name> + </api:function> + + </info> + <title>Index.test_gslist_everything_return</title> + +<synopsis><code mime="text/x-python"> +@returns([unicode]) +def test_gslist_everything_return(): + # Python wrapper for regress_test_gslist_everything_return() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_nothing_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_nothing_in.page new file mode 100644 index 00000000..534ac13e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_nothing_in.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.test_gslist_nothing_in" + 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>none</api:type> + </api:returns> + <api:name>regress_test_gslist_nothing_in</api:name> + <api:arg> + <api:type>[unicode]</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_gslist_nothing_in</title> + +<synopsis><code mime="text/x-python"> +@accepts([unicode]) +@returns(none) +def test_gslist_nothing_in(in): + # Python wrapper for regress_test_gslist_nothing_in() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>in</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_nothing_in2.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_nothing_in2.page new file mode 100644 index 00000000..a7e0635b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_nothing_in2.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.test_gslist_nothing_in2" + 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>none</api:type> + </api:returns> + <api:name>regress_test_gslist_nothing_in2</api:name> + <api:arg> + <api:type>[unicode]</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_gslist_nothing_in2</title> + +<synopsis><code mime="text/x-python"> +@accepts([unicode]) +@returns(none) +def test_gslist_nothing_in2(in): + # Python wrapper for regress_test_gslist_nothing_in2() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>in</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_nothing_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_nothing_return.page new file mode 100644 index 00000000..ff7d7e56 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_nothing_return.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.test_gslist_nothing_return" + 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>[unicode]</api:type> + </api:returns> + <api:name>regress_test_gslist_nothing_return</api:name> + </api:function> + + </info> + <title>Index.test_gslist_nothing_return</title> + +<synopsis><code mime="text/x-python"> +@returns([unicode]) +def test_gslist_nothing_return(): + # Python wrapper for regress_test_gslist_nothing_return() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_nothing_return2.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_nothing_return2.page new file mode 100644 index 00000000..cf0f67ab --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_nothing_return2.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.test_gslist_nothing_return2" + 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>[unicode]</api:type> + </api:returns> + <api:name>regress_test_gslist_nothing_return2</api:name> + </api:function> + + </info> + <title>Index.test_gslist_nothing_return2</title> + +<synopsis><code mime="text/x-python"> +@returns([unicode]) +def test_gslist_nothing_return2(): + # Python wrapper for regress_test_gslist_nothing_return2() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_null_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_null_in.page new file mode 100644 index 00000000..b0174663 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_null_in.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.test_gslist_null_in" + 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>none</api:type> + </api:returns> + <api:name>regress_test_gslist_null_in</api:name> + <api:arg> + <api:type>[unicode]</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_gslist_null_in</title> + +<synopsis><code mime="text/x-python"> +@accepts([unicode]) +@returns(none) +def test_gslist_null_in(in): + # Python wrapper for regress_test_gslist_null_in() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>in</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_null_out.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_null_out.page new file mode 100644 index 00000000..24ef27f1 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_null_out.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.test_gslist_null_out" + 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>none</api:type> + </api:returns> + <api:name>regress_test_gslist_null_out</api:name> + <api:arg> + <api:type>[unicode]</api:type> + <api:name>out_list</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_gslist_null_out</title> + +<synopsis><code mime="text/x-python"> +@accepts([unicode]) +@returns(none) +def test_gslist_null_out(out_list): + # Python wrapper for regress_test_gslist_null_out() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>out_list</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_gtype.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gtype.page new file mode 100644 index 00000000..38ffb442 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gtype.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.test_gtype" + 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>GType</api:type> + </api:returns> + <api:name>regress_test_gtype</api:name> + <api:arg> + <api:type>GType</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_gtype</title> + +<synopsis><code mime="text/x-python"> +@accepts(GType) +@returns(GType) +def test_gtype(in): + # Python wrapper for regress_test_gtype() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>in</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_gvariant_as.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gvariant_as.page new file mode 100644 index 00000000..f4c4cd80 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gvariant_as.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.test_gvariant_as" + 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>GLib.Variant</api:type> + </api:returns> + <api:name>regress_test_gvariant_as</api:name> + </api:function> + + </info> + <title>Index.test_gvariant_as</title> + +<synopsis><code mime="text/x-python"> +@returns(GLib.Variant) +def test_gvariant_as(): + # Python wrapper for regress_test_gvariant_as() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_gvariant_asv.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gvariant_asv.page new file mode 100644 index 00000000..8357191f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gvariant_asv.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.test_gvariant_asv" + 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>GLib.Variant</api:type> + </api:returns> + <api:name>regress_test_gvariant_asv</api:name> + </api:function> + + </info> + <title>Index.test_gvariant_asv</title> + +<synopsis><code mime="text/x-python"> +@returns(GLib.Variant) +def test_gvariant_asv(): + # Python wrapper for regress_test_gvariant_asv() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_gvariant_i.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gvariant_i.page new file mode 100644 index 00000000..c0db4608 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gvariant_i.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.test_gvariant_i" + 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>GLib.Variant</api:type> + </api:returns> + <api:name>regress_test_gvariant_i</api:name> + </api:function> + + </info> + <title>Index.test_gvariant_i</title> + +<synopsis><code mime="text/x-python"> +@returns(GLib.Variant) +def test_gvariant_i(): + # Python wrapper for regress_test_gvariant_i() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_gvariant_s.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gvariant_s.page new file mode 100644 index 00000000..454fc8a9 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gvariant_s.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.test_gvariant_s" + 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>GLib.Variant</api:type> + </api:returns> + <api:name>regress_test_gvariant_s</api:name> + </api:function> + + </info> + <title>Index.test_gvariant_s</title> + +<synopsis><code mime="text/x-python"> +@returns(GLib.Variant) +def test_gvariant_s(): + # Python wrapper for regress_test_gvariant_s() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_gvariant_v.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gvariant_v.page new file mode 100644 index 00000000..e8a6c00f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gvariant_v.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.test_gvariant_v" + 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>GLib.Variant</api:type> + </api:returns> + <api:name>regress_test_gvariant_v</api:name> + </api:function> + + </info> + <title>Index.test_gvariant_v</title> + +<synopsis><code mime="text/x-python"> +@returns(GLib.Variant) +def test_gvariant_v(): + # Python wrapper for regress_test_gvariant_v() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_hash_table_callback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_hash_table_callback.page new file mode 100644 index 00000000..2f8ebcb6 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_hash_table_callback.page @@ -0,0 +1,55 @@ +<?xml version="1.0"?> +<page id="Regress.test_hash_table_callback" + 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>none</api:type> + </api:returns> + <api:name>regress_test_hash_table_callback</api:name> + <api:arg> + <api:type>{unicode: int}</api:type> + <api:name>data</api:name> + </api:arg> + <api:arg> + <api:type>Regress.TestCallbackHashtable</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_hash_table_callback</title> + +<synopsis><code mime="text/x-python"> +@accepts({unicode: int}, Regress.TestCallbackHashtable) +@returns(none) +def test_hash_table_callback(data, callback): + # Python wrapper for regress_test_hash_table_callback() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>data</code></title> +<p>GHashTable that gets passed to callback</p> +</item> +<item> +<title><code>callback</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_int.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_int.page new file mode 100644 index 00000000..d0398835 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_int.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.test_int" + 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>int</api:type> + </api:returns> + <api:name>regress_test_int</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_int</title> + +<synopsis><code mime="text/x-python"> +@accepts(int) +@returns(int) +def test_int(in): + # Python wrapper for regress_test_int() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>in</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_int16.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_int16.page new file mode 100644 index 00000000..7e995172 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_int16.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.test_int16" + 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>gint16</api:type> + </api:returns> + <api:name>regress_test_int16</api:name> + <api:arg> + <api:type>gint16</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_int16</title> + +<synopsis><code mime="text/x-python"> +@accepts(gint16) +@returns(gint16) +def test_int16(in): + # Python wrapper for regress_test_int16() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>in</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_int32.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_int32.page new file mode 100644 index 00000000..03e5c07c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_int32.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.test_int32" + 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>gint32</api:type> + </api:returns> + <api:name>regress_test_int32</api:name> + <api:arg> + <api:type>gint32</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_int32</title> + +<synopsis><code mime="text/x-python"> +@accepts(gint32) +@returns(gint32) +def test_int32(in): + # Python wrapper for regress_test_int32() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>in</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_int64.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_int64.page new file mode 100644 index 00000000..645792cf --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_int64.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.test_int64" + 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>int</api:type> + </api:returns> + <api:name>regress_test_int64</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_int64</title> + +<synopsis><code mime="text/x-python"> +@accepts(int) +@returns(int) +def test_int64(in): + # Python wrapper for regress_test_int64() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>in</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_int8.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_int8.page new file mode 100644 index 00000000..c733d1bd --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_int8.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.test_int8" + 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>gint8</api:type> + </api:returns> + <api:name>regress_test_int8</api:name> + <api:arg> + <api:type>gint8</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_int8</title> + +<synopsis><code mime="text/x-python"> +@accepts(gint8) +@returns(gint8) +def test_int8(in): + # Python wrapper for regress_test_int8() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>in</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_int_out_utf8.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_int_out_utf8.page new file mode 100644 index 00000000..f43f0bce --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_int_out_utf8.page @@ -0,0 +1,55 @@ +<?xml version="1.0"?> +<page id="Regress.test_int_out_utf8" + 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>none</api:type> + </api:returns> + <api:name>regress_test_int_out_utf8</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>length</api:name> + </api:arg> + <api:arg> + <api:type>unicode</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_int_out_utf8</title> + +<synopsis><code mime="text/x-python"> +@accepts(int, unicode) +@returns(none) +def test_int_out_utf8(length, in): + # Python wrapper for regress_test_int_out_utf8() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>length</code></title> + +</item> +<item> +<title><code>in</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_int_value_arg.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_int_value_arg.page new file mode 100644 index 00000000..d7210b5e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_int_value_arg.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.test_int_value_arg" + 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>int</api:type> + </api:returns> + <api:name>regress_test_int_value_arg</api:name> + <api:arg> + <api:type>GObject.Value</api:type> + <api:name>v</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_int_value_arg</title> + +<synopsis><code mime="text/x-python"> +@accepts(GObject.Value) +@returns(int) +def test_int_value_arg(v): + # Python wrapper for regress_test_int_value_arg() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>v</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_long.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_long.page new file mode 100644 index 00000000..147cae22 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_long.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.test_long" + 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>int</api:type> + </api:returns> + <api:name>regress_test_long</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_long</title> + +<synopsis><code mime="text/x-python"> +@accepts(int) +@returns(int) +def test_long(in): + # Python wrapper for regress_test_long() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>in</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_multi_callback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_multi_callback.page new file mode 100644 index 00000000..c195b821 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_multi_callback.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.test_multi_callback" + 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>int</api:type> + </api:returns> + <api:name>regress_test_multi_callback</api:name> + <api:arg> + <api:type>Regress.TestCallback</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_multi_callback</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestCallback) +@returns(int) +def test_multi_callback(callback): + # Python wrapper for regress_test_multi_callback() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>callback</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_multi_double_args.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_multi_double_args.page new file mode 100644 index 00000000..7946d576 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_multi_double_args.page @@ -0,0 +1,63 @@ +<?xml version="1.0"?> +<page id="Regress.test_multi_double_args" + 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>none</api:type> + </api:returns> + <api:name>regress_test_multi_double_args</api:name> + <api:arg> + <api:type>float</api:type> + <api:name>in</api:name> + </api:arg> + <api:arg> + <api:type>float</api:type> + <api:name>one</api:name> + </api:arg> + <api:arg> + <api:type>float</api:type> + <api:name>two</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_multi_double_args</title> + +<synopsis><code mime="text/x-python"> +@accepts(float, float, float) +@returns(none) +def test_multi_double_args(in, one, two): + # Python wrapper for regress_test_multi_double_args() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>in</code></title> + +</item> +<item> +<title><code>one</code></title> + +</item> +<item> +<title><code>two</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_multiline_doc_comments.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_multiline_doc_comments.page new file mode 100644 index 00000000..25161388 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_multiline_doc_comments.page @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<page id="Regress.test_multiline_doc_comments" + 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>none</api:type> + </api:returns> + <api:name>regress_test_multiline_doc_comments</api:name> + </api:function> + + </info> + <title>Index.test_multiline_doc_comments</title> + +<synopsis><code mime="text/x-python"> +@returns(none) +def test_multiline_doc_comments(): + # Python wrapper for regress_test_multiline_doc_comments() +</code></synopsis> + + + <p>This is a function.</p><p>It has multiple lines in the documentation.</p><p>The sky is blue.</p><p>You will give me your credit card number.</p> + + + + +<terms> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_nested_parameter.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_nested_parameter.page new file mode 100644 index 00000000..98c1fd3b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_nested_parameter.page @@ -0,0 +1,72 @@ +<?xml version="1.0"?> +<page id="Regress.test_nested_parameter" + 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>none</api:type> + </api:returns> + <api:name>regress_test_nested_parameter</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>a</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_nested_parameter</title> + +<synopsis><code mime="text/x-python"> +@accepts(int) +@returns(none) +def test_nested_parameter(a): + # Python wrapper for regress_test_nested_parameter() +</code></synopsis> + + + <p><informaltable> + <tgroup cols="3"> + <thead> + <row> + <entry>Syntax</entry> + <entry>Explanation</entry> + <entry>Examples</entry> + </row> + </thead> + <tbody> + <row> + <entry>rgb(@r, @g, @b)</entry> + <entry>An opaque color; @r, @g, @b can be either integers between + 0 and 255 or percentages</entry> + <entry><literallayout>rgb(128, 10, 54) +rgb(20%, 30%, 0%)</literallayout></entry> + </row> + <row> + <entry>rgba(@r, @g, @b, <code>a</code>)</entry> + <entry>A translucent color; @r, @g, @b are as in the previous row, + <code>a</code> is a floating point number between 0 and 1</entry> + <entry><literallayout>rgba(255, 255, 0, 0.5)</literallayout></entry> + </row> + </tbody> + </tgroup> +</informaltable></p><p>What we're testing here is that the scanner ignores the <code>a</code> nested inside XML.</p> + + + + +<terms> +<item> +<title><code>a</code></title> +<p>An integer</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_null_gerror_callback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_null_gerror_callback.page new file mode 100644 index 00000000..cdb1b928 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_null_gerror_callback.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.test_null_gerror_callback" + 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>none</api:type> + </api:returns> + <api:name>regress_test_null_gerror_callback</api:name> + <api:arg> + <api:type>Regress.TestCallbackGError</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_null_gerror_callback</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestCallbackGError) +@returns(none) +def test_null_gerror_callback(callback): + # Python wrapper for regress_test_null_gerror_callback() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>callback</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_owned_gerror_callback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_owned_gerror_callback.page new file mode 100644 index 00000000..f33b39ed --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_owned_gerror_callback.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.test_owned_gerror_callback" + 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>none</api:type> + </api:returns> + <api:name>regress_test_owned_gerror_callback</api:name> + <api:arg> + <api:type>Regress.TestCallbackOwnedGError</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_owned_gerror_callback</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestCallbackOwnedGError) +@returns(none) +def test_owned_gerror_callback(callback): + # Python wrapper for regress_test_owned_gerror_callback() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>callback</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_short.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_short.page new file mode 100644 index 00000000..e2f45632 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_short.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.test_short" + 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>gshort</api:type> + </api:returns> + <api:name>regress_test_short</api:name> + <api:arg> + <api:type>gshort</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_short</title> + +<synopsis><code mime="text/x-python"> +@accepts(gshort) +@returns(gshort) +def test_short(in): + # Python wrapper for regress_test_short() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>in</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_simple_callback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_simple_callback.page new file mode 100644 index 00000000..a9fa29c0 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_simple_callback.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.test_simple_callback" + 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>none</api:type> + </api:returns> + <api:name>regress_test_simple_callback</api:name> + <api:arg> + <api:type>Regress.TestSimpleCallback</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_simple_callback</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestSimpleCallback) +@returns(none) +def test_simple_callback(callback): + # Python wrapper for regress_test_simple_callback() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>callback</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_size.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_size.page new file mode 100644 index 00000000..7935c215 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_size.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.test_size" + 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>gsize</api:type> + </api:returns> + <api:name>regress_test_size</api:name> + <api:arg> + <api:type>gsize</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_size</title> + +<synopsis><code mime="text/x-python"> +@accepts(gsize) +@returns(gsize) +def test_size(in): + # Python wrapper for regress_test_size() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>in</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_ssize.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ssize.page new file mode 100644 index 00000000..47fe2cd3 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ssize.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.test_ssize" + 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>gssize</api:type> + </api:returns> + <api:name>regress_test_ssize</api:name> + <api:arg> + <api:type>gssize</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_ssize</title> + +<synopsis><code mime="text/x-python"> +@accepts(gssize) +@returns(gssize) +def test_ssize(in): + # Python wrapper for regress_test_ssize() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>in</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_strv_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_strv_in.page new file mode 100644 index 00000000..1121a7da --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_strv_in.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.test_strv_in" + 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>bool</api:type> + </api:returns> + <api:name>regress_test_strv_in</api:name> + <api:arg> + <api:type>[unicode]</api:type> + <api:name>arr</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_strv_in</title> + +<synopsis><code mime="text/x-python"> +@accepts([unicode]) +@returns(bool) +def test_strv_in(arr): + # Python wrapper for regress_test_strv_in() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>arr</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_strv_in_gvalue.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_strv_in_gvalue.page new file mode 100644 index 00000000..fcffe1bb --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_strv_in_gvalue.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.test_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_strv_in_gvalue</api:name> + </api:function> + + </info> + <title>Index.test_strv_in_gvalue</title> + +<synopsis><code mime="text/x-python"> +@returns(GObject.Value) +def test_strv_in_gvalue(): + # Python wrapper for regress_test_strv_in_gvalue() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_strv_out.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_strv_out.page new file mode 100644 index 00000000..eea084cb --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_strv_out.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.test_strv_out" + 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>[unicode]</api:type> + </api:returns> + <api:name>regress_test_strv_out</api:name> + </api:function> + + </info> + <title>Index.test_strv_out</title> + +<synopsis><code mime="text/x-python"> +@returns([unicode]) +def test_strv_out(): + # Python wrapper for regress_test_strv_out() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_strv_out_c.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_strv_out_c.page new file mode 100644 index 00000000..c800fa0a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_strv_out_c.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.test_strv_out_c" + 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>[unicode]</api:type> + </api:returns> + <api:name>regress_test_strv_out_c</api:name> + </api:function> + + </info> + <title>Index.test_strv_out_c</title> + +<synopsis><code mime="text/x-python"> +@returns([unicode]) +def test_strv_out_c(): + # Python wrapper for regress_test_strv_out_c() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_strv_out_container.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_strv_out_container.page new file mode 100644 index 00000000..69f6c56f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_strv_out_container.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.test_strv_out_container" + 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>[unicode]</api:type> + </api:returns> + <api:name>regress_test_strv_out_container</api:name> + </api:function> + + </info> + <title>Index.test_strv_out_container</title> + +<synopsis><code mime="text/x-python"> +@returns([unicode]) +def test_strv_out_container(): + # Python wrapper for regress_test_strv_out_container() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_strv_outarg.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_strv_outarg.page new file mode 100644 index 00000000..3624f8a9 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_strv_outarg.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.test_strv_outarg" + 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>none</api:type> + </api:returns> + <api:name>regress_test_strv_outarg</api:name> + <api:arg> + <api:type>[unicode]</api:type> + <api:name>retp</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_strv_outarg</title> + +<synopsis><code mime="text/x-python"> +@accepts([unicode]) +@returns(none) +def test_strv_outarg(retp): + # Python wrapper for regress_test_strv_outarg() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>retp</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_timet.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_timet.page new file mode 100644 index 00000000..51698280 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_timet.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.test_timet" + 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>int</api:type> + </api:returns> + <api:name>regress_test_timet</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_timet</title> + +<synopsis><code mime="text/x-python"> +@accepts(int) +@returns(int) +def test_timet(in): + # Python wrapper for regress_test_timet() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>in</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_torture_signature_0.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_torture_signature_0.page new file mode 100644 index 00000000..7875a817 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_torture_signature_0.page @@ -0,0 +1,87 @@ +<?xml version="1.0"?> +<page id="Regress.test_torture_signature_0" + 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>none</api:type> + </api:returns> + <api:name>regress_test_torture_signature_0</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + <api:arg> + <api:type>float</api:type> + <api:name>y</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>z</api:name> + </api:arg> + <api:arg> + <api:type>unicode</api:type> + <api:name>foo</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>q</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>m</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_torture_signature_0</title> + +<synopsis><code mime="text/x-python"> +@accepts(int, float, int, unicode, int, int) +@returns(none) +def test_torture_signature_0(x, y, z, foo, q, m): + # Python wrapper for regress_test_torture_signature_0() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>x</code></title> + +</item> +<item> +<title><code>y</code></title> + +</item> +<item> +<title><code>z</code></title> + +</item> +<item> +<title><code>foo</code></title> + +</item> +<item> +<title><code>q</code></title> + +</item> +<item> +<title><code>m</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_torture_signature_1.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_torture_signature_1.page new file mode 100644 index 00000000..6a499a56 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_torture_signature_1.page @@ -0,0 +1,91 @@ +<?xml version="1.0"?> +<page id="Regress.test_torture_signature_1" + 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>bool</api:type> + </api:returns> + <api:name>regress_test_torture_signature_1</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + <api:arg> + <api:type>float</api:type> + <api:name>y</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>z</api:name> + </api:arg> + <api:arg> + <api:type>unicode</api:type> + <api:name>foo</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>q</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>m</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_torture_signature_1</title> + +<synopsis><code mime="text/x-python"> +@accepts(int, float, int, unicode, int, int) +@returns(bool) +def test_torture_signature_1(x, y, z, foo, q, m): + # Python wrapper for regress_test_torture_signature_1() +</code></synopsis> + + + <p>This function throws an error if m is odd.</p> + + + + +<terms> +<item> +<title><code>x</code></title> + +</item> +<item> +<title><code>y</code></title> + +</item> +<item> +<title><code>z</code></title> + +</item> +<item> +<title><code>foo</code></title> + +</item> +<item> +<title><code>q</code></title> + +</item> +<item> +<title><code>m</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_torture_signature_2.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_torture_signature_2.page new file mode 100644 index 00000000..01f77785 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_torture_signature_2.page @@ -0,0 +1,111 @@ +<?xml version="1.0"?> +<page id="Regress.test_torture_signature_2" + 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>none</api:type> + </api:returns> + <api:name>regress_test_torture_signature_2</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + <api:arg> + <api:type>Regress.TestCallbackUserData</api:type> + <api:name>callback</api:name> + </api:arg> + <api:arg> + <api:type>gpointer</api:type> + <api:name>user_data</api:name> + </api:arg> + <api:arg> + <api:type>GLib.DestroyNotify</api:type> + <api:name>notify</api:name> + </api:arg> + <api:arg> + <api:type>float</api:type> + <api:name>y</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>z</api:name> + </api:arg> + <api:arg> + <api:type>unicode</api:type> + <api:name>foo</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>q</api:name> + </api:arg> + <api:arg> + <api:type>int</api:type> + <api:name>m</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_torture_signature_2</title> + +<synopsis><code mime="text/x-python"> +@accepts(int, Regress.TestCallbackUserData, gpointer, GLib.DestroyNotify, float, int, unicode, int, int) +@returns(none) +def test_torture_signature_2(x, callback, user_data, notify, y, z, foo, q, m): + # Python wrapper for regress_test_torture_signature_2() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>x</code></title> + +</item> +<item> +<title><code>callback</code></title> + +</item> +<item> +<title><code>user_data</code></title> + +</item> +<item> +<title><code>notify</code></title> + +</item> +<item> +<title><code>y</code></title> + +</item> +<item> +<title><code>z</code></title> + +</item> +<item> +<title><code>foo</code></title> + +</item> +<item> +<title><code>q</code></title> + +</item> +<item> +<title><code>m</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_uint.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_uint.page new file mode 100644 index 00000000..f6943c0a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_uint.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.test_uint" + 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>int</api:type> + </api:returns> + <api:name>regress_test_uint</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_uint</title> + +<synopsis><code mime="text/x-python"> +@accepts(int) +@returns(int) +def test_uint(in): + # Python wrapper for regress_test_uint() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>in</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_uint16.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_uint16.page new file mode 100644 index 00000000..5ace288d --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_uint16.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.test_uint16" + 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>guint16</api:type> + </api:returns> + <api:name>regress_test_uint16</api:name> + <api:arg> + <api:type>guint16</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_uint16</title> + +<synopsis><code mime="text/x-python"> +@accepts(guint16) +@returns(guint16) +def test_uint16(in): + # Python wrapper for regress_test_uint16() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>in</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_uint32.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_uint32.page new file mode 100644 index 00000000..084d6192 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_uint32.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.test_uint32" + 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>guint32</api:type> + </api:returns> + <api:name>regress_test_uint32</api:name> + <api:arg> + <api:type>guint32</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_uint32</title> + +<synopsis><code mime="text/x-python"> +@accepts(guint32) +@returns(guint32) +def test_uint32(in): + # Python wrapper for regress_test_uint32() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>in</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_uint64.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_uint64.page new file mode 100644 index 00000000..b2234a3a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_uint64.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.test_uint64" + 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>int</api:type> + </api:returns> + <api:name>regress_test_uint64</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_uint64</title> + +<synopsis><code mime="text/x-python"> +@accepts(int) +@returns(int) +def test_uint64(in): + # Python wrapper for regress_test_uint64() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>in</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_uint8.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_uint8.page new file mode 100644 index 00000000..94e367b6 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_uint8.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.test_uint8" + 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>guint8</api:type> + </api:returns> + <api:name>regress_test_uint8</api:name> + <api:arg> + <api:type>guint8</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_uint8</title> + +<synopsis><code mime="text/x-python"> +@accepts(guint8) +@returns(guint8) +def test_uint8(in): + # Python wrapper for regress_test_uint8() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>in</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_ulong.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ulong.page new file mode 100644 index 00000000..dc98e475 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ulong.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.test_ulong" + 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>int</api:type> + </api:returns> + <api:name>regress_test_ulong</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_ulong</title> + +<synopsis><code mime="text/x-python"> +@accepts(int) +@returns(int) +def test_ulong(in): + # Python wrapper for regress_test_ulong() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>in</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_unichar.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_unichar.page new file mode 100644 index 00000000..abc373ea --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_unichar.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.test_unichar" + 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>unicode</api:type> + </api:returns> + <api:name>regress_test_unichar</api:name> + <api:arg> + <api:type>unicode</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_unichar</title> + +<synopsis><code mime="text/x-python"> +@accepts(unicode) +@returns(unicode) +def test_unichar(in): + # Python wrapper for regress_test_unichar() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>in</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_unsigned_enum_param.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_unsigned_enum_param.page new file mode 100644 index 00000000..eb7ff64b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_unsigned_enum_param.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.test_unsigned_enum_param" + 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>unicode</api:type> + </api:returns> + <api:name>regress_test_unsigned_enum_param</api:name> + <api:arg> + <api:type>Regress.TestEnumUnsigned</api:type> + <api:name>e</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_unsigned_enum_param</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestEnumUnsigned) +@returns(unicode) +def test_unsigned_enum_param(e): + # Python wrapper for regress_test_unsigned_enum_param() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>e</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_ushort.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ushort.page new file mode 100644 index 00000000..4bebadc3 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ushort.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.test_ushort" + 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>gushort</api:type> + </api:returns> + <api:name>regress_test_ushort</api:name> + <api:arg> + <api:type>gushort</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_ushort</title> + +<synopsis><code mime="text/x-python"> +@accepts(gushort) +@returns(gushort) +def test_ushort(in): + # Python wrapper for regress_test_ushort() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>in</code></title> + +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_const_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_const_in.page new file mode 100644 index 00000000..4d4ff1af --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_const_in.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.test_utf8_const_in" + 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>none</api:type> + </api:returns> + <api:name>regress_test_utf8_const_in</api:name> + <api:arg> + <api:type>unicode</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_utf8_const_in</title> + +<synopsis><code mime="text/x-python"> +@accepts(unicode) +@returns(none) +def test_utf8_const_in(in): + # Python wrapper for regress_test_utf8_const_in() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>in</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_const_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_const_return.page new file mode 100644 index 00000000..7149eac9 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_const_return.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.test_utf8_const_return" + 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>unicode</api:type> + </api:returns> + <api:name>regress_test_utf8_const_return</api:name> + </api:function> + + </info> + <title>Index.test_utf8_const_return</title> + +<synopsis><code mime="text/x-python"> +@returns(unicode) +def test_utf8_const_return(): + # Python wrapper for regress_test_utf8_const_return() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_inout.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_inout.page new file mode 100644 index 00000000..28ecfc27 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_inout.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.test_utf8_inout" + 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>none</api:type> + </api:returns> + <api:name>regress_test_utf8_inout</api:name> + <api:arg> + <api:type>unicode</api:type> + <api:name>inout</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_utf8_inout</title> + +<synopsis><code mime="text/x-python"> +@accepts(unicode) +@returns(none) +def test_utf8_inout(inout): + # Python wrapper for regress_test_utf8_inout() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>inout</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_nonconst_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_nonconst_return.page new file mode 100644 index 00000000..1d1be7dd --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_nonconst_return.page @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<page id="Regress.test_utf8_nonconst_return" + 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>unicode</api:type> + </api:returns> + <api:name>regress_test_utf8_nonconst_return</api:name> + </api:function> + + </info> + <title>Index.test_utf8_nonconst_return</title> + +<synopsis><code mime="text/x-python"> +@returns(unicode) +def test_utf8_nonconst_return(): + # Python wrapper for regress_test_utf8_nonconst_return() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_null_in.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_null_in.page new file mode 100644 index 00000000..8074cafd --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_null_in.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.test_utf8_null_in" + 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>none</api:type> + </api:returns> + <api:name>regress_test_utf8_null_in</api:name> + <api:arg> + <api:type>unicode</api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_utf8_null_in</title> + +<synopsis><code mime="text/x-python"> +@accepts(unicode) +@returns(none) +def test_utf8_null_in(in): + # Python wrapper for regress_test_utf8_null_in() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>in</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_null_out.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_null_out.page new file mode 100644 index 00000000..da98d744 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_null_out.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.test_utf8_null_out" + 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>none</api:type> + </api:returns> + <api:name>regress_test_utf8_null_out</api:name> + <api:arg> + <api:type>unicode</api:type> + <api:name>char_out</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_utf8_null_out</title> + +<synopsis><code mime="text/x-python"> +@accepts(unicode) +@returns(none) +def test_utf8_null_out(char_out): + # Python wrapper for regress_test_utf8_null_out() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>char_out</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_out.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_out.page new file mode 100644 index 00000000..3aa56f02 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_out.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.test_utf8_out" + 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>none</api:type> + </api:returns> + <api:name>regress_test_utf8_out</api:name> + <api:arg> + <api:type>unicode</api:type> + <api:name>out</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_utf8_out</title> + +<synopsis><code mime="text/x-python"> +@accepts(unicode) +@returns(none) +def test_utf8_out(out): + # Python wrapper for regress_test_utf8_out() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>out</code></title> + +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_out_nonconst_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_out_nonconst_return.page new file mode 100644 index 00000000..0b775cc3 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_out_nonconst_return.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.test_utf8_out_nonconst_return" + 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>unicode</api:type> + </api:returns> + <api:name>regress_test_utf8_out_nonconst_return</api:name> + <api:arg> + <api:type>unicode</api:type> + <api:name>out</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_utf8_out_nonconst_return</title> + +<synopsis><code mime="text/x-python"> +@accepts(unicode) +@returns(unicode) +def test_utf8_out_nonconst_return(out): + # Python wrapper for regress_test_utf8_out_nonconst_return() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>out</code></title> +<p>a copy of "second"</p> +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_out_out.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_out_out.page new file mode 100644 index 00000000..5a6bc2e6 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_out_out.page @@ -0,0 +1,55 @@ +<?xml version="1.0"?> +<page id="Regress.test_utf8_out_out" + 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>none</api:type> + </api:returns> + <api:name>regress_test_utf8_out_out</api:name> + <api:arg> + <api:type>unicode</api:type> + <api:name>out0</api:name> + </api:arg> + <api:arg> + <api:type>unicode</api:type> + <api:name>out1</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_utf8_out_out</title> + +<synopsis><code mime="text/x-python"> +@accepts(unicode, unicode) +@returns(none) +def test_utf8_out_out(out0, out1): + # Python wrapper for regress_test_utf8_out_out() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>out0</code></title> +<p>a copy of "first"</p> +</item> +<item> +<title><code>out1</code></title> +<p>a copy of "second"</p> +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_value_return.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_value_return.page new file mode 100644 index 00000000..ef9f97e3 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_value_return.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.test_value_return" + 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_value_return</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>i</api:name> + </api:arg> + </api:function> + + </info> + <title>Index.test_value_return</title> + +<synopsis><code mime="text/x-python"> +@accepts(int) +@returns(GObject.Value) +def test_value_return(i): + # Python wrapper for regress_test_value_return() +</code></synopsis> + + + + + + + +<terms> +<item> +<title><code>i</code></title> +<p>an int</p> +</item> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_versioning.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_versioning.page new file mode 100644 index 00000000..847a5c33 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_versioning.page @@ -0,0 +1,39 @@ +<?xml version="1.0"?> +<page id="Regress.test_versioning" + 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>none</api:type> + </api:returns> + <api:name>regress_test_versioning</api:name> + </api:function> + + </info> + <title>Index.test_versioning</title> + +<synopsis><code mime="text/x-python"> +@returns(none) +def test_versioning(): + # Python wrapper for regress_test_versioning() +</code></synopsis> + + + + + + <p>Since 1.32.1</p> + + +<terms> +</terms> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/index.page b/tests/scanner/Regress-1.0-Python-expected/index.page new file mode 100644 index 00000000..a5426d89 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/index.page @@ -0,0 +1,32 @@ +<?xml version="1.0"?> +<page id="index" + type="guide" + style="namespace" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/1.0/ui/"> + <info> + + + </info> + <title>Index</title> + + + + + + + + + + <links type="topic" ui:expanded="true" groups="class" style="linklist"> + <title>Classes</title> + </links> + <links type="topic" ui:expanded="true" groups="function" style="linklist"> + <title>Functions</title> + </links> + <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist"> + <title>Other</title> + </links> + +</page> |