diff options
Diffstat (limited to 'tests/scanner/Regress-1.0-Python-expected')
431 files changed, 18411 insertions, 0 deletions
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.ANNOTATION_CALCULATED_DEFINE.page b/tests/scanner/Regress-1.0-Python-expected/Regress.ANNOTATION_CALCULATED_DEFINE.page new file mode 100644 index 00000000..ebe71b0d --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.ANNOTATION_CALCULATED_DEFINE.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.ANNOTATION_CALCULATED_DEFINE" + 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 type="guide" xref="index"/> + + </info> + <title>Regress.ANNOTATION_CALCULATED_DEFINE</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.ANNOTATION_CALCULATED_LARGE.page b/tests/scanner/Regress-1.0-Python-expected/Regress.ANNOTATION_CALCULATED_LARGE.page new file mode 100644 index 00000000..4b38cc01 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.ANNOTATION_CALCULATED_LARGE.page @@ -0,0 +1,26 @@ +<?xml version="1.0"?> +<page id="Regress.ANNOTATION_CALCULATED_LARGE" + 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 type="guide" xref="index"/> + + </info> + <title>Regress.ANNOTATION_CALCULATED_LARGE</title> + + + + <p>Constant to define a calculated large value</p> + + + <p>Since 1.4</p> + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.ANNOTATION_CALCULATED_LARGE_DIV.page b/tests/scanner/Regress-1.0-Python-expected/Regress.ANNOTATION_CALCULATED_LARGE_DIV.page new file mode 100644 index 00000000..d6c8e76a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.ANNOTATION_CALCULATED_LARGE_DIV.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.ANNOTATION_CALCULATED_LARGE_DIV" + 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 type="guide" xref="index"/> + + </info> + <title>Regress.ANNOTATION_CALCULATED_LARGE_DIV</title> + + + + <p>Constant to define a calculated large value</p> + + + + + + + +</page> 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..dff139fd --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.ATestError.page @@ -0,0 +1,33 @@ +<?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 type="guide" xref="index"/> + + </info> + <title>Regress.ATestError</title> + + + + + + + + +<dl> +<dt><p>ATestError.CODE0 :</p></dt> +<dd></dd> +<dt><p>ATestError.CODE1 :</p></dt> +<dd></dd> +<dt><p>ATestError.CODE2 :</p></dt> +<dd></dd> +</dl> + + + +</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..2229245a --- /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 type="guide" xref="index"/> + + </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.AnnotationBitfield.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationBitfield.page new file mode 100644 index 00000000..8cbc8326 --- /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 type="guide" xref="index"/> + + </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..30f950c2 --- /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 type="guide" xref="index"/> + + </info> + <title>Regress.AnnotationCallback</title> + + + + <p>This is a callback.</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..506ceffd --- /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 type="guide" xref="index"/> + + </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..3f9409ed --- /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 type="guide" xref="index"/> + + </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..b2dc717c --- /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 type="guide" xref="index"/> + + </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..221c269a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject-attribute-signal.page @@ -0,0 +1,43 @@ +<?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 type="guide" xref="Regress.AnnotationObject" group="signal"/> + <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> + + + + +<dl> +<dt><p>annotation_object :</p></dt> +<dd><p>instance of Regress.AnnotationObject that is emitting the signal</p></dd> +<dt><p>arg1 :</p></dt> +<dd><p>a value</p></dd> +<dt><p>arg2 :</p></dt> +<dd><p>another value</p></dd> +<dt><p>user_param1 :</p></dt> +<dd><p>first user parameter (if any) specified with the connect() method</p></dd> +<dt><p>... :</p></dt> +<dd><p>additional user parameters (if any)</p></dd> +<dt><p>Returns :</p></dt> +<dd>gchar* <p>the return value</p></dd> +</dl> + + + +</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..03b488b2 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject-doc-empty-arg-parsing.page @@ -0,0 +1,39 @@ +<?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 type="guide" xref="Regress.AnnotationObject" group="signal"/> + <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> + + + + +<dl> +<dt><p>annotation_object :</p></dt> +<dd><p>instance of Regress.AnnotationObject that is emitting the signal</p></dd> +<dt><p>arg1 :</p></dt> +<dd></dd> +<dt><p>user_param1 :</p></dt> +<dd><p>first user parameter (if any) specified with the connect() method</p></dd> +<dt><p>... :</p></dt> +<dd><p>additional user parameters (if any)</p></dd> +</dl> + + + +</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..f526ea9b --- /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 type="guide" xref="Regress.AnnotationObject" group="property"/> + <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..d0da8d63 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject-list-signal.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="Regress.AnnotationObject" group="signal"/> + <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> + + + + +<dl> +<dt><p>annotation_object :</p></dt> +<dd><p>instance of Regress.AnnotationObject that is emitting the signal</p></dd> +<dt><p>list :</p></dt> +<dd><p>a list of strings</p></dd> +<dt><p>user_param1 :</p></dt> +<dd><p>first user parameter (if any) specified with the connect() method</p></dd> +<dt><p>... :</p></dt> +<dd><p>additional user parameters (if any)</p></dd> +</dl> + + + +</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..97391bc4 --- /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 type="guide" xref="Regress.AnnotationObject" group="property"/> + <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..66e2ee60 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject-string-signal.page @@ -0,0 +1,41 @@ +<?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 type="guide" xref="Regress.AnnotationObject" group="signal"/> + <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> + + +<dl> +<dt><p>annotation_object :</p></dt> +<dd><p>instance of Regress.AnnotationObject that is emitting the signal</p></dd> +<dt><p>string :</p></dt> +<dd><p>a string</p></dd> +<dt><p>user_param1 :</p></dt> +<dd><p>first user parameter (if any) specified with the connect() method</p></dd> +<dt><p>... :</p></dt> +<dd><p>additional user parameters (if any)</p></dd> +</dl> + + + +</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..db243c63 --- /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 type="guide" xref="Regress.AnnotationObject" group="property"/> + <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 regress_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..7d94a776 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.allow_none.page @@ -0,0 +1,53 @@ +<?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 type="guide" xref="Regress.AnnotationObject" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>somearg :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd><p><code>None</code> always</p></dd> +</dl> + + + +</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..157739d7 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.calleeowns.page @@ -0,0 +1,53 @@ +<?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 type="guide" xref="Regress.AnnotationObject" group="method"/> + <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>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> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>toown :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>Returns :</p></dt> +<dd><p>an int</p></dd> +</dl> + + + +</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..e9436824 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.calleesowns.page @@ -0,0 +1,59 @@ +<?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 type="guide" xref="Regress.AnnotationObject" group="method"/> + <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>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> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>toown1 :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>toown2 :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>Returns :</p></dt> +<dd><p>an int</p></dd> +</dl> + + + +</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..31c8d37e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.compute_sum.page @@ -0,0 +1,51 @@ +<?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 type="guide" xref="Regress.AnnotationObject" group="method"/> + <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>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> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>nums :</p></dt> +<dd><p>Sequence of numbers</p></dd> +</dl> + + + +</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..f017eb3a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.compute_sum_n.page @@ -0,0 +1,57 @@ +<?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 type="guide" xref="Regress.AnnotationObject" group="method"/> + <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>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> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>nums :</p></dt> +<dd><p>Sequence of numbers that are zero-terminated</p></dd> +<dt><p>n_nums :</p></dt> +<dd><p>Length of number array</p></dd> +</dl> + + + +</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..c7ae439f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.compute_sum_nz.page @@ -0,0 +1,57 @@ +<?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 type="guide" xref="Regress.AnnotationObject" group="method"/> + <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>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> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="Regress.AnnotationObject"/></p></dd> +<dt><p>nums :</p></dt> +<dd><p>Sequence of numbers that are zero-terminated</p></dd> +<dt><p>n_nums :</p></dt> +<dd><p>Length of number array</p></dd> +</dl> + + + +</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..66b74067 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.create_object.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="Regress.AnnotationObject" group="method"/> + <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>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> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>Returns :</p></dt> +<dd><p>The object</p></dd> +</dl> + + + +</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..648dc52b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.do_not_use.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="Regress.AnnotationObject" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>Returns :</p></dt> +<dd><p><code>None</code> always</p></dd> +</dl> + + + +</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..b3fa22dd --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.extra_annos.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="Regress.AnnotationObject" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +</dl> + + + +</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..be20587c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.foreach.page @@ -0,0 +1,57 @@ +<?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 type="guide" xref="Regress.AnnotationObject" group="method"/> + <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>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> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="Regress.AnnotationObject"/></p></dd> +<dt><p>func :</p></dt> +<dd><p>Callback to invoke</p></dd> +<dt><p>user_data :</p></dt> +<dd><p>Callback user data</p></dd> +</dl> + + + +</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..66d4b85c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.get_hash.page @@ -0,0 +1,48 @@ +<?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 type="guide" xref="Regress.AnnotationObject" group="method"/> + <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>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> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>Returns :</p></dt> +<dd><p>hash table</p></dd> +</dl> + + + +</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..4b0b3a05 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.get_objects.page @@ -0,0 +1,49 @@ +<?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 type="guide" xref="Regress.AnnotationObject" group="method"/> + <api:function> + <api:returns> + <api:type><list></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>AnnotationObject.get_objects</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject) +@returns(<list>) +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> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>Returns :</p></dt> +<dd><p>list of objects</p></dd> +</dl> + + + +</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..818168ba --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.get_strings.page @@ -0,0 +1,48 @@ +<?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 type="guide" xref="Regress.AnnotationObject" group="method"/> + <api:function> + <api:returns> + <api:type><list></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>AnnotationObject.get_strings</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject) +@returns(<list>) +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> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>Returns :</p></dt> +<dd><p>list of strings</p></dd> +</dl> + + + +</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..328a7bac --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.hidden_self.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="Regress.AnnotationObject" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>A <link xref="Regress.AnnotationObject"/></p></dd> +</dl> + + + +</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..71a0aef1 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.in.page @@ -0,0 +1,53 @@ +<?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 type="guide" xref="Regress.AnnotationObject" group="method"/> + <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>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> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>inarg :</p></dt> +<dd><p>This is an argument test</p></dd> +<dt><p>Returns :</p></dt> +<dd><p>an int</p></dd> +</dl> + + + +</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..7ddf3a7e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.inout.page @@ -0,0 +1,53 @@ +<?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 type="guide" xref="Regress.AnnotationObject" group="method"/> + <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>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> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>inoutarg :</p></dt> +<dd><p>This is an argument test</p></dd> +<dt><p>Returns :</p></dt> +<dd><p>an int</p></dd> +</dl> + + + +</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..82056c3b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.inout2.page @@ -0,0 +1,53 @@ +<?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 type="guide" xref="Regress.AnnotationObject" group="method"/> + <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>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> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>inoutarg :</p></dt> +<dd><p>This is an argument test</p></dd> +<dt><p>Returns :</p></dt> +<dd><p>an int</p></dd> +</dl> + + + +</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..45b89591 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.inout3.page @@ -0,0 +1,53 @@ +<?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 type="guide" xref="Regress.AnnotationObject" group="method"/> + <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>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> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>inoutarg :</p></dt> +<dd><p>This is an argument test</p></dd> +<dt><p>Returns :</p></dt> +<dd><p>an int</p></dd> +</dl> + + + +</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..bb23ba15 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.method.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="Regress.AnnotationObject" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>Returns :</p></dt> +<dd><p>an int</p></dd> +</dl> + + + +</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..73731e73 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.notrans.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="Regress.AnnotationObject" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>Returns :</p></dt> +<dd><p>An object, not referenced</p></dd> +</dl> + + + +</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..ba69737f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.out.page @@ -0,0 +1,53 @@ +<?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 type="guide" xref="Regress.AnnotationObject" group="method"/> + <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>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> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>outarg :</p></dt> +<dd><p>This is an argument test</p></dd> +<dt><p>Returns :</p></dt> +<dd><p>an int</p></dd> +</dl> + + + +</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..94313a6f --- /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 type="guide" xref="index"/> + + </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 regress_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..ac28c6fb --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.parse_args.page @@ -0,0 +1,57 @@ +<?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 type="guide" xref="Regress.AnnotationObject" group="method"/> + <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>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> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="Regress.AnnotationObject"/></p></dd> +<dt><p>argc :</p></dt> +<dd><p>Length of the argument vector</p></dd> +<dt><p>argv :</p></dt> +<dd><p>Argument vector</p></dd> +</dl> + + + +</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..8f949161 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.set_data.page @@ -0,0 +1,57 @@ +<?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 type="guide" xref="Regress.AnnotationObject" group="method"/> + <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>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> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="Regress.AnnotationObject"/></p></dd> +<dt><p>data :</p></dt> +<dd><p>The data</p></dd> +<dt><p>length :</p></dt> +<dd><p>Length of the data</p></dd> +</dl> + + + +</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..70c3e62a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.set_data2.page @@ -0,0 +1,57 @@ +<?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 type="guide" xref="Regress.AnnotationObject" group="method"/> + <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>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> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="Regress.AnnotationObject"/></p></dd> +<dt><p>data :</p></dt> +<dd><p>The data</p></dd> +<dt><p>length :</p></dt> +<dd><p>Length of the data</p></dd> +</dl> + + + +</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..1a5bb115 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.set_data3.page @@ -0,0 +1,58 @@ +<?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 type="guide" xref="Regress.AnnotationObject" group="method"/> + <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>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> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="Regress.AnnotationObject"/></p></dd> +<dt><p>data :</p></dt> +<dd><p>The data</p></dd> +<dt><p>length :</p></dt> +<dd><p>Length of the data</p></dd> +</dl> + + + +</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..5c02dbdb --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.string_out.page @@ -0,0 +1,53 @@ +<?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 type="guide" xref="Regress.AnnotationObject" group="method"/> + <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>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> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="Regress.AnnotationObject"/></p></dd> +<dt><p>str_out :</p></dt> +<dd><p>string return value</p></dd> +<dt><p>Returns :</p></dt> +<dd><p>some boolean</p></dd> +</dl> + + + +</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..2e5bba23 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.use_buffer.page @@ -0,0 +1,51 @@ +<?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 type="guide" xref="Regress.AnnotationObject" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="GObject.Object"/></p></dd> +<dt><p>bytes :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.watch.page b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.watch.page new file mode 100644 index 00000000..87fbe044 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.watch.page @@ -0,0 +1,58 @@ +<?xml version="1.0"?> +<page id="Regress.AnnotationObject.watch" + 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 type="guide" xref="Regress.AnnotationObject" group="method"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_annotation_object_watch</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>AnnotationObject.watch</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.AnnotationObject, Regress.AnnotationForeachFunc, gpointer) +@returns(none) +def watch(self, func, user_data): + # Python wrapper for regress_annotation_object_watch() +</code></synopsis> + + + <p>This is here just for the sake of being overriden by its +<link xref="Regress.AnnotationObject.watch_full"/>.</p> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>A <link xref="Regress.AnnotationObject"/></p></dd> +<dt><p>func :</p></dt> +<dd><p>The callback</p></dd> +<dt><p>user_data :</p></dt> +<dd><p>The callback data</p></dd> +</dl> + + + +</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..ced0ddcd --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.watch_full.page @@ -0,0 +1,63 @@ +<?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 type="guide" xref="Regress.AnnotationObject" group="method"/> + <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>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" regress_annotation.</p> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>A <link xref="Regress.AnnotationObject"/></p></dd> +<dt><p>func :</p></dt> +<dd><p>The callback</p></dd> +<dt><p>user_data :</p></dt> +<dd><p>The callback data</p></dd> +<dt><p>destroy :</p></dt> +<dd><p>Destroy notification</p></dd> +</dl> + + + +</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..086223d7 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.AnnotationObject.with_voidp.page @@ -0,0 +1,51 @@ +<?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 type="guide" xref="Regress.AnnotationObject" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>data :</p></dt> +<dd><p>Opaque pointer handle</p></dd> +</dl> + + + +</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..edc9fd18 --- /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 type="guide" xref="index"/> + + </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.DOUBLE_CONSTANT.page b/tests/scanner/Regress-1.0-Python-expected/Regress.DOUBLE_CONSTANT.page new file mode 100644 index 00000000..b1aa32d8 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.DOUBLE_CONSTANT.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.DOUBLE_CONSTANT" + 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 type="guide" xref="index"/> + + </info> + <title>Regress.DOUBLE_CONSTANT</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FOO_DEFINE_SHOULD_BE_EXPOSED.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FOO_DEFINE_SHOULD_BE_EXPOSED.page new file mode 100644 index 00000000..357665de --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FOO_DEFINE_SHOULD_BE_EXPOSED.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FOO_DEFINE_SHOULD_BE_EXPOSED" + 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 type="guide" xref="index"/> + + </info> + <title>Regress.FOO_DEFINE_SHOULD_BE_EXPOSED</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FOO_PIE_IS_TASTY.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FOO_PIE_IS_TASTY.page new file mode 100644 index 00000000..7dc308a1 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FOO_PIE_IS_TASTY.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FOO_PIE_IS_TASTY" + 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 type="guide" xref="index"/> + + </info> + <title>Regress.FOO_PIE_IS_TASTY</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FOO_SUCCESS_INT.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FOO_SUCCESS_INT.page new file mode 100644 index 00000000..f20f426f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FOO_SUCCESS_INT.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FOO_SUCCESS_INT" + 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 type="guide" xref="index"/> + + </info> + <title>Regress.FOO_SUCCESS_INT</title> + + + + + + + + + + + +</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..34f1ed7c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooASingle.page @@ -0,0 +1,29 @@ +<?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 type="guide" xref="index"/> + + </info> + <title>Regress.FooASingle</title> + + + + + + + + +<dl> +<dt><p>FooASingle.FOO_SOME_SINGLE_ENUM :</p></dt> +<dd></dd> +</dl> + + + +</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..2dafde03 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooAddressType.page @@ -0,0 +1,33 @@ +<?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 type="guide" xref="index"/> + + </info> + <title>Regress.FooAddressType</title> + + + + + + + + +<dl> +<dt><p>FooAddressType.INVALID :</p></dt> +<dd></dd> +<dt><p>FooAddressType.IPV4 :</p></dt> +<dd></dd> +<dt><p>FooAddressType.IPV6 :</p></dt> +<dd></dd> +</dl> + + + +</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..8654fb42 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooBRect.add.page @@ -0,0 +1,51 @@ +<?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 type="guide" xref="Regress.FooBRect" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>b2 :</p></dt> +<dd></dd> +</dl> + + + +</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..57e26525 --- /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 type="guide" xref="index"/> + + </info> + <title>Regress.FooBRect</title> + + + + + + + + + + + +</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..63831e74 --- /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 type="guide" xref="index"/> + + </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..b357ea2f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooBoxed.method.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="Regress.FooBoxed" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +</dl> + + + +</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..962300f3 --- /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 type="guide" xref="index"/> + + </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..c93a1f7f --- /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 type="guide" xref="index"/> + + </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..472d16b7 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooBuffer.some_method.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="Regress.FooBuffer" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +</dl> + + + +</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..241296e1 --- /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 type="guide" xref="index"/> + + </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..db6a6b05 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooDBusData.method.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="Regress.FooDBusData" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +</dl> + + + +</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..08ad0d2e --- /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 type="guide" xref="index"/> + + </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..a46070da --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooEnumFullname.page @@ -0,0 +1,33 @@ +<?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 type="guide" xref="index"/> + + </info> + <title>Regress.FooEnumFullname</title> + + + + + + + + +<dl> +<dt><p>FooEnumFullname.ONE :</p></dt> +<dd></dd> +<dt><p>FooEnumFullname.TWO :</p></dt> +<dd></dd> +<dt><p>FooEnumFullname.THREE :</p></dt> +<dd></dd> +</dl> + + + +</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..2313192d --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooEnumNoType.page @@ -0,0 +1,35 @@ +<?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 type="guide" xref="index"/> + + </info> + <title>Regress.FooEnumNoType</title> + + + + + + + + +<dl> +<dt><p>FooEnumNoType.UN :</p></dt> +<dd></dd> +<dt><p>FooEnumNoType.DEUX :</p></dt> +<dd></dd> +<dt><p>FooEnumNoType.TROIS :</p></dt> +<dd></dd> +<dt><p>FooEnumNoType.NEUF :</p></dt> +<dd></dd> +</dl> + + + +</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..37510f5c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooEnumType.page @@ -0,0 +1,33 @@ +<?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 type="guide" xref="index"/> + + </info> + <title>Regress.FooEnumType</title> + + + + + + + + +<dl> +<dt><p>FooEnumType.ALPHA :</p></dt> +<dd></dd> +<dt><p>FooEnumType.BETA :</p></dt> +<dd></dd> +<dt><p>FooEnumType.DELTA :</p></dt> +<dd></dd> +</dl> + + + +</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..0877e7c8 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooError.page @@ -0,0 +1,33 @@ +<?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 type="guide" xref="index"/> + + </info> + <title>Regress.FooError</title> + + + + + + + + +<dl> +<dt><p>FooError.GOOD :</p></dt> +<dd></dd> +<dt><p>FooError.BAD :</p></dt> +<dd></dd> +<dt><p>FooError.UGLY :</p></dt> +<dd></dd> +</dl> + + + +</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..0b77bcbb --- /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 type="guide" xref="index"/> + + </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..45cd3a13 --- /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 type="guide" xref="index"/> + + </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..7e9ca7d4 --- /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 type="guide" xref="index"/> + + </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..d4db757a --- /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 type="guide" xref="index"/> + + </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..e4f3edef --- /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 type="guide" xref="index"/> + + </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..8b7835fc --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooForeignStruct.copy.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="Regress.FooForeignStruct" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..06c5793f --- /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 type="guide" xref="index"/> + + </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..b942b553 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooInterface-do_regress_foo.page @@ -0,0 +1,36 @@ +<?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 type="guide" xref="index"/> + + </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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>x :</p></dt> +<dd></dd> +</dl> + + + +</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..60af8445 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooInterface.do_regress_foo.page @@ -0,0 +1,51 @@ +<?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 type="guide" xref="Regress.FooInterface" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>x :</p></dt> +<dd></dd> +</dl> + + + +</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..bc0b7df2 --- /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 type="guide" xref="index"/> + + </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..947a5e97 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooInterface.static_method.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="Regress.FooInterface" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>x :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject-hidden.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject-hidden.page new file mode 100644 index 00000000..b751ddb4 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject-hidden.page @@ -0,0 +1,29 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject-hidden" + 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 type="guide" xref="Regress.FooObject" group="property"/> + <title type="link" role="topic">hidden</title> + + </info> + <title>Regress.FooObject:hidden</title> + +<synopsis><code mime="text/x-python"> +"hidden" None : Read / Write / Construct Only +</code></synopsis> + + + + + + + + + + +</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..a634e4e2 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject-read_fn.page @@ -0,0 +1,38 @@ +<?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 type="guide" xref="index"/> + + </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> + + + + +<dl> +<dt><p>object :</p></dt> +<dd></dd> +<dt><p>offset :</p></dt> +<dd><p>offset</p></dd> +<dt><p>length :</p></dt> +<dd><p>length</p></dd> +</dl> + + + +</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..c663823d --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject-signal.page @@ -0,0 +1,43 @@ +<?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 type="guide" xref="Regress.FooObject" group="signal"/> + <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> + + + + + + + +<dl> +<dt><p>foo_object :</p></dt> +<dd><p>instance of Regress.FooObject that is emitting the signal</p></dd> +<dt><p>object :</p></dt> +<dd></dd> +<dt><p>p0 :</p></dt> +<dd></dd> +<dt><p>user_param1 :</p></dt> +<dd><p>first user parameter (if any) specified with the connect() method</p></dd> +<dt><p>... :</p></dt> +<dd><p>additional user parameters (if any)</p></dd> +<dt><p>Returns :</p></dt> +<dd>gchar* </dd> +</dl> + + + +</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..ce48885e --- /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 type="guide" xref="Regress.FooObject" group="property"/> + <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..1ad7512f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject-virtual_method.page @@ -0,0 +1,38 @@ +<?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 type="guide" xref="index"/> + + </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> + + + + + + + +<dl> +<dt><p>object :</p></dt> +<dd></dd> +<dt><p>first_param :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..6cb51386 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.a_global_method.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="Regress.FooObject" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>obj :</p></dt> +<dd></dd> +</dl> + + + +</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..a3e39f1c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.append_new_stack_layer.page @@ -0,0 +1,53 @@ +<?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 type="guide" xref="Regress.FooObject" group="method"/> + <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>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> + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..a0237951 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.dup_name.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="Regress.FooObject" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..48d5e591 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.external_type.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="Regress.FooObject" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="Regress.FooObject"/></p></dd> +<dt><p>Returns :</p></dt> +<dd><p><code>None</code> always</p></dd> +</dl> + + + +</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..b1208bdc --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.get_default.page @@ -0,0 +1,41 @@ +<?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 type="guide" xref="Regress.FooObject" group="function"/> + <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>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> + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>The global <link xref="Regress.FooSubobject"/></p></dd> +</dl> + + + +</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..fc87e4a9 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.get_name.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="Regress.FooObject" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..20fea248 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.handle_glyph.page @@ -0,0 +1,51 @@ +<?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 type="guide" xref="Regress.FooObject" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>glyph :</p></dt> +<dd></dd> +</dl> + + + +</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..3ee60dd2 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.is_it_time_yet.page @@ -0,0 +1,51 @@ +<?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 type="guide" xref="Regress.FooObject" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>time :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.new_cookie.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.new_cookie.page new file mode 100644 index 00000000..aadefdff --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.new_cookie.page @@ -0,0 +1,53 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject.new_cookie" + 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 type="guide" xref="Regress.FooObject" group="method"/> + <api:function> + <api:returns> + <api:type>Regress.FooObjectCookie</api:type> + </api:returns> + <api:name>regress_foo_object_new_cookie</api:name> + <api:arg> + <api:type>Regress.FooObject</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>unicode</api:type> + <api:name>target</api:name> + </api:arg> + </api:function> + + </info> + <title>FooObject.new_cookie</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooObject, unicode) +@returns(Regress.FooObjectCookie) +def new_cookie(self, target): + # Python wrapper for regress_foo_object_new_cookie() +</code></synopsis> + + + <p>Not sure why this test is here...</p> + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>target :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..9a635381 --- /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 type="guide" xref="index"/> + + </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..d3ec000f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.read.page @@ -0,0 +1,57 @@ +<?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 type="guide" xref="Regress.FooObject" group="method"/> + <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>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> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>obj</p></dd> +<dt><p>offset :</p></dt> +<dd><p>offset</p></dd> +<dt><p>length :</p></dt> +<dd><p>length</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.skipped_method.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.skipped_method.page new file mode 100644 index 00000000..7a56e3c9 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.skipped_method.page @@ -0,0 +1,45 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject.skipped_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 type="guide" xref="Regress.FooObject" group="method"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_foo_object_skipped_method</api:name> + <api:arg> + <api:type>Regress.FooObject</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> + + </info> + <title>FooObject.skipped_method</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooObject) +@returns(none) +def skipped_method(self): + # Python wrapper for regress_foo_object_skipped_method() +</code></synopsis> + + + <p>This is only useful from C.</p> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>obj</p></dd> +</dl> + + + +</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..2212da02 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.static_meth.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="Regress.FooObject" group="function"/> + <api:function> + <api:returns> + <api:type>int</api:type> + </api:returns> + <api:name>regress_foo_object_static_meth</api:name> + </api:function> + + </info> + <title>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> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.take_all.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.take_all.page new file mode 100644 index 00000000..be7b23f5 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.take_all.page @@ -0,0 +1,54 @@ +<?xml version="1.0"?> +<page id="Regress.FooObject.take_all" + 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 type="guide" xref="Regress.FooObject" group="method"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_foo_object_take_all</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:varargs/> + </api:function> + + </info> + <title>FooObject.take_all</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooObject, int, <varargs>) +@returns(none) +def take_all(self, x, ...): + # Python wrapper for regress_foo_object_take_all() +</code></synopsis> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>... :</p></dt> +<dd></dd> +</dl> + + + +</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..702a6e85 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.various.page @@ -0,0 +1,57 @@ +<?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 type="guide" xref="Regress.FooObject" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>data :</p></dt> +<dd></dd> +<dt><p>some_type :</p></dt> +<dd></dd> +</dl> + + + +</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..68a94097 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooObject.virtual_method.page @@ -0,0 +1,53 @@ +<?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 type="guide" xref="Regress.FooObject" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>first_param :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..4d9cabc6 --- /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 type="guide" xref="index"/> + + </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..111b2aca --- /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 type="guide" xref="index"/> + + </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..ea8bf20c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooRectangle.add.page @@ -0,0 +1,51 @@ +<?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 type="guide" xref="Regress.FooRectangle" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>add to this rect</p></dd> +<dt><p>r2 :</p></dt> +<dd><p>source rectangle</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooRectangle.new.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooRectangle.new.page new file mode 100644 index 00000000..392f67ae --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooRectangle.new.page @@ -0,0 +1,66 @@ +<?xml version="1.0"?> +<page id="Regress.FooRectangle.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 type="guide" xref="Regress.FooRectangle" group="function"/> + <api:function> + <api:returns> + <api:type>Regress.FooRectangle</api:type> + </api:returns> + <api:name>regress_foo_rectangle_new</api:name> + <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: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>FooRectangle.new</title> + +<synopsis><code mime="text/x-python"> +@accepts(int, int, int, int) +@returns(Regress.FooRectangle) +def new(x, y, width, height): + # Python wrapper for regress_foo_rectangle_new() +</code></synopsis> + + + <p>This is a C convenience constructor; we have to (skip) +it because it's not a boxed type.</p> + + + + +<dl> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>y :</p></dt> +<dd></dd> +<dt><p>width :</p></dt> +<dd></dd> +<dt><p>height :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..521a68bc --- /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 type="guide" xref="index"/> + + </info> + <title>Regress.FooRectangle</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooSkippable.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooSkippable.page new file mode 100644 index 00000000..605ccf5b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooSkippable.page @@ -0,0 +1,32 @@ +<?xml version="1.0"?> +<page id="Regress.FooSkippable" + 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 type="guide" xref="index"/> + + </info> + <title>Regress.FooSkippable</title> + + + + <p>Some type that is only interesting from C and should not be +exposed to language bindings.</p> + + + + +<dl> +<dt><p>FooSkippable.ONE :</p></dt> +<dd><p>a skippable enum value</p></dd> +<dt><p>FooSkippable.TWO :</p></dt> +<dd><p>another skippable enum value</p></dd> +</dl> + + + +</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..83ca6a12 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooStackLayer.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index"/> + + </info> + <title>Regress.FooStackLayer</title> + + + + + + + + +<dl> +<dt><p>FooStackLayer.DESKTOP :</p></dt> +<dd></dd> +<dt><p>FooStackLayer.BOTTOM :</p></dt> +<dd></dd> +<dt><p>FooStackLayer.NORMAL :</p></dt> +<dd></dd> +<dt><p>FooStackLayer.TOP :</p></dt> +<dd></dd> +<dt><p>FooStackLayer.DOCK :</p></dt> +<dd></dd> +<dt><p>FooStackLayer.FULLSCREEN :</p></dt> +<dd></dd> +<dt><p>FooStackLayer.FOCUSED_WINDOW :</p></dt> +<dd></dd> +<dt><p>FooStackLayer.OVERRIDE_REDIRECT :</p></dt> +<dd></dd> +<dt><p>FooStackLayer.LAST :</p></dt> +<dd></dd> +</dl> + + + +</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..4088a6c2 --- /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 type="guide" xref="index"/> + + </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..bb146abf --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface-destroy-event.page @@ -0,0 +1,37 @@ +<?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 type="guide" xref="Regress.FooSubInterface" group="signal"/> + <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> + + + + + + + +<dl> +<dt><p>foo_sub_interface :</p></dt> +<dd><p>instance of Regress.FooSubInterface that is emitting the signal</p></dd> +<dt><p>user_param1 :</p></dt> +<dd><p>first user parameter (if any) specified with the connect() method</p></dd> +<dt><p>... :</p></dt> +<dd><p>additional user parameters (if any)</p></dd> +</dl> + + + +</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..5f014dfa --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface-destroy_event.page @@ -0,0 +1,34 @@ +<?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 type="guide" xref="index"/> + + </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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +</dl> + + + +</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..fd55d897 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface-do_bar.page @@ -0,0 +1,34 @@ +<?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 type="guide" xref="index"/> + + </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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +</dl> + + + +</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..1078dfca --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface-do_baz.page @@ -0,0 +1,38 @@ +<?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 type="guide" xref="index"/> + + </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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>callback :</p></dt> +<dd></dd> +<dt><p>user_data :</p></dt> +<dd></dd> +</dl> + + + +</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..6be01ab8 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface.do_bar.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="Regress.FooSubInterface" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +</dl> + + + +</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..af759a15 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooSubInterface.do_baz.page @@ -0,0 +1,57 @@ +<?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 type="guide" xref="Regress.FooSubInterface" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>callback :</p></dt> +<dd></dd> +<dt><p>user_data :</p></dt> +<dd></dd> +</dl> + + + +</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..e4d936ab --- /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 type="guide" xref="index"/> + + </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..c4e1ce26 --- /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 type="guide" xref="index"/> + + </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..7ae6ae56 --- /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 type="guide" xref="index"/> + + </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..06d2e800 --- /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 type="guide" xref="index"/> + + </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..0471b871 --- /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 type="guide" xref="index"/> + + </info> + <title>Regress.FooUtilityStruct</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.FooVarargsCallback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.FooVarargsCallback.page new file mode 100644 index 00000000..d477638a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.FooVarargsCallback.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.FooVarargsCallback" + 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 type="guide" xref="index"/> + + </info> + <title>Regress.FooVarargsCallback</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..18122490 --- /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 type="guide" xref="index"/> + + </info> + <title>Regress.FooXEvent</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.GUINT64_CONSTANT.page b/tests/scanner/Regress-1.0-Python-expected/Regress.GUINT64_CONSTANT.page new file mode 100644 index 00000000..9a0cd162 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.GUINT64_CONSTANT.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.GUINT64_CONSTANT" + 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 type="guide" xref="index"/> + + </info> + <title>Regress.GUINT64_CONSTANT</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.GUINT64_CONSTANTA.page b/tests/scanner/Regress-1.0-Python-expected/Regress.GUINT64_CONSTANTA.page new file mode 100644 index 00000000..4faf765f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.GUINT64_CONSTANTA.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.GUINT64_CONSTANTA" + 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 type="guide" xref="index"/> + + </info> + <title>Regress.GUINT64_CONSTANTA</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.G_GINT64_CONSTANT.page b/tests/scanner/Regress-1.0-Python-expected/Regress.G_GINT64_CONSTANT.page new file mode 100644 index 00000000..b4a66f69 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.G_GINT64_CONSTANT.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.G_GINT64_CONSTANT" + 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 type="guide" xref="index"/> + + </info> + <title>Regress.G_GINT64_CONSTANT</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.INT_CONSTANT.page b/tests/scanner/Regress-1.0-Python-expected/Regress.INT_CONSTANT.page new file mode 100644 index 00000000..e4df9a1e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.INT_CONSTANT.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.INT_CONSTANT" + 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 type="guide" xref="index"/> + + </info> + <title>Regress.INT_CONSTANT</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.IntSet.page b/tests/scanner/Regress-1.0-Python-expected/Regress.IntSet.page new file mode 100644 index 00000000..e285bc28 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.IntSet.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.IntSet" + 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 type="guide" xref="index"/> + + </info> + <title>Regress.IntSet</title> + + + + <p>Compatibility typedef, like telepathy-glib's TpIntSet</p> + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.LONG_STRING_CONSTANT.page b/tests/scanner/Regress-1.0-Python-expected/Regress.LONG_STRING_CONSTANT.page new file mode 100644 index 00000000..3c0409a7 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.LONG_STRING_CONSTANT.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.LONG_STRING_CONSTANT" + 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 type="guide" xref="index"/> + + </info> + <title>Regress.LONG_STRING_CONSTANT</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..05362e5c --- /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 type="guide" xref="index"/> + + </info> + <title>Regress.LikeGnomeKeyringPasswordSchema</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.MAXUINT64.page b/tests/scanner/Regress-1.0-Python-expected/Regress.MAXUINT64.page new file mode 100644 index 00000000..be1afd19 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.MAXUINT64.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.MAXUINT64" + 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 type="guide" xref="index"/> + + </info> + <title>Regress.MAXUINT64</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.MININT64.page b/tests/scanner/Regress-1.0-Python-expected/Regress.MININT64.page new file mode 100644 index 00000000..35c3e584 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.MININT64.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.MININT64" + 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 type="guide" xref="index"/> + + </info> + <title>Regress.MININT64</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.Mixed_Case_Constant.page b/tests/scanner/Regress-1.0-Python-expected/Regress.Mixed_Case_Constant.page new file mode 100644 index 00000000..5ea8d9b0 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.Mixed_Case_Constant.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.Mixed_Case_Constant" + 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 type="guide" xref="index"/> + + </info> + <title>Regress.Mixed_Case_Constant</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.NEGATIVE_INT_CONSTANT.page b/tests/scanner/Regress-1.0-Python-expected/Regress.NEGATIVE_INT_CONSTANT.page new file mode 100644 index 00000000..576c690f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.NEGATIVE_INT_CONSTANT.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.NEGATIVE_INT_CONSTANT" + 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 type="guide" xref="index"/> + + </info> + <title>Regress.NEGATIVE_INT_CONSTANT</title> + + + + + + + + + + + +</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..9af00b51 --- /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 type="guide" xref="index"/> + + </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.STRING_CONSTANT.page b/tests/scanner/Regress-1.0-Python-expected/Regress.STRING_CONSTANT.page new file mode 100644 index 00000000..945ba986 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.STRING_CONSTANT.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.STRING_CONSTANT" + 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 type="guide" xref="index"/> + + </info> + <title>Regress.STRING_CONSTANT</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.SkippedStructure.page b/tests/scanner/Regress-1.0-Python-expected/Regress.SkippedStructure.page new file mode 100644 index 00000000..2e67ac03 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.SkippedStructure.page @@ -0,0 +1,26 @@ +<?xml version="1.0"?> +<page id="Regress.SkippedStructure" + 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 type="guide" xref="index"/> + + </info> + <title>Regress.SkippedStructure</title> + + + + <p>This should be skipped, and moreover, all function which +use it should be.</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..fea8d58e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestABCError.page @@ -0,0 +1,33 @@ +<?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 type="guide" xref="index"/> + + </info> + <title>Regress.TestABCError</title> + + + + + + + + +<dl> +<dt><p>TestABCError.CODE1 :</p></dt> +<dd></dd> +<dt><p>TestABCError.CODE2 :</p></dt> +<dd></dd> +<dt><p>TestABCError.CODE3 :</p></dt> +<dd></dd> +</dl> + + + +</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..489f3ffa --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxed.copy.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="Regress.TestBoxed" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..68a19e07 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxed.equals.page @@ -0,0 +1,53 @@ +<?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 type="guide" xref="Regress.TestBoxed" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>other :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..c6792c50 --- /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 type="guide" xref="index"/> + + </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..f770ecfe --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedB.copy.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="Regress.TestBoxedB" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..46cf7c15 --- /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 type="guide" xref="index"/> + + </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..88dd1a4c --- /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 type="guide" xref="index"/> + + </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..84a66e51 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedD.copy.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="Regress.TestBoxedD" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..5c37368c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedD.free.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="Regress.TestBoxedD" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +</dl> + + + +</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..af75b8f6 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestBoxedD.get_magic.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="Regress.TestBoxedD" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..17b3c79b --- /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 type="guide" xref="index"/> + + </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..9a219e9e --- /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 type="guide" xref="index"/> + + </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..7ceb2e07 --- /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 type="guide" xref="index"/> + + </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..3de1fbe8 --- /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 type="guide" xref="index"/> + + </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..1f6f2bdb --- /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 type="guide" xref="index"/> + + </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..906947c1 --- /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 type="guide" xref="index"/> + + </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..e7397a1b --- /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 type="guide" xref="index"/> + + </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..f3047cfd --- /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 type="guide" xref="index"/> + + </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..b6f0eb88 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestDEFError.page @@ -0,0 +1,33 @@ +<?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 type="guide" xref="index"/> + + </info> + <title>Regress.TestDEFError</title> + + + + + + + + +<dl> +<dt><p>TestDEFError.CODE0 :</p></dt> +<dd></dd> +<dt><p>TestDEFError.CODE1 :</p></dt> +<dd></dd> +<dt><p>TestDEFError.CODE2 :</p></dt> +<dd></dd> +</dl> + + + +</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..3de1bbf6 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestEnum.page @@ -0,0 +1,35 @@ +<?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 type="guide" xref="index"/> + + </info> + <title>Regress.TestEnum</title> + + + + <p>By purpose, not all members have documentation</p> + + + + +<dl> +<dt><p>TestEnum.VALUE1 :</p></dt> +<dd><p>value 1</p></dd> +<dt><p>TestEnum.VALUE2 :</p></dt> +<dd><p>value 2</p></dd> +<dt><p>TestEnum.VALUE3 :</p></dt> +<dd></dd> +<dt><p>TestEnum.VALUE4 :</p></dt> +<dd></dd> +</dl> + + + +</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..625c8703 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestEnumNoGEnum.page @@ -0,0 +1,33 @@ +<?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 type="guide" xref="index"/> + + </info> + <title>Regress.TestEnumNoGEnum</title> + + + + + + + + +<dl> +<dt><p>TestEnumNoGEnum.EVALUE1 :</p></dt> +<dd></dd> +<dt><p>TestEnumNoGEnum.EVALUE2 :</p></dt> +<dd></dd> +<dt><p>TestEnumNoGEnum.EVALUE3 :</p></dt> +<dd></dd> +</dl> + + + +</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..3069d8e3 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestEnumUnsigned.page @@ -0,0 +1,31 @@ +<?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 type="guide" xref="index"/> + + </info> + <title>Regress.TestEnumUnsigned</title> + + + + + + + + +<dl> +<dt><p>TestEnumUnsigned.VALUE1 :</p></dt> +<dd></dd> +<dt><p>TestEnumUnsigned.VALUE2 :</p></dt> +<dd></dd> +</dl> + + + +</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..57a21163 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestError.page @@ -0,0 +1,33 @@ +<?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 type="guide" xref="index"/> + + </info> + <title>Regress.TestError</title> + + + + + + + + +<dl> +<dt><p>TestError.CODE1 :</p></dt> +<dd></dd> +<dt><p>TestError.CODE2 :</p></dt> +<dd></dd> +<dt><p>TestError.CODE3 :</p></dt> +<dd></dd> +</dl> + + + +</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..d5451972 --- /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 type="guide" xref="index"/> + + </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..87520bd8 --- /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 type="guide" xref="index"/> + + </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..af4623a2 --- /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 type="guide" xref="index"/> + + </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..243e8fdb --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestFundamentalObject.ref.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="Regress.TestFundamentalObject" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd><p>A new <link xref="Regress.TestFundamentalObject"/></p></dd> +</dl> + + + +</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..eec1dbf7 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestFundamentalObject.unref.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="Regress.TestFundamentalObject" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +</dl> + + + +</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..dfd65cef --- /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 type="guide" xref="index"/> + + </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..2b9d965c --- /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 type="guide" xref="index"/> + + </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..6f3a246e --- /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 type="guide" xref="index"/> + + </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..5c97095e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestInheritDrawable.do_foo.page @@ -0,0 +1,51 @@ +<?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 type="guide" xref="Regress.TestInheritDrawable" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>x :</p></dt> +<dd></dd> +</dl> + + + +</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..1e3d0419 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestInheritDrawable.do_foo_maybe_throw.page @@ -0,0 +1,51 @@ +<?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 type="guide" xref="Regress.TestInheritDrawable" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>x :</p></dt> +<dd></dd> +</dl> + + + +</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..908bdec2 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestInheritDrawable.get_origin.page @@ -0,0 +1,57 @@ +<?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 type="guide" xref="Regress.TestInheritDrawable" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>y :</p></dt> +<dd></dd> +</dl> + + + +</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..f6bb0368 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestInheritDrawable.get_size.page @@ -0,0 +1,57 @@ +<?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 type="guide" xref="Regress.TestInheritDrawable" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>width :</p></dt> +<dd></dd> +<dt><p>height :</p></dt> +<dd></dd> +</dl> + + + +</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..d7ed30bc --- /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 type="guide" xref="index"/> + + </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..deaeea50 --- /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 type="guide" xref="index"/> + + </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..454ff74f --- /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 type="guide" xref="index"/> + + </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..1a1be536 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-all.page @@ -0,0 +1,37 @@ +<?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 type="guide" xref="Regress.TestObj" group="signal"/> + <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> + + + + + + + +<dl> +<dt><p>test_obj :</p></dt> +<dd><p>instance of Regress.TestObj that is emitting the signal</p></dd> +<dt><p>user_param1 :</p></dt> +<dd><p>first user parameter (if any) specified with the connect() method</p></dd> +<dt><p>... :</p></dt> +<dd><p>additional user parameters (if any)</p></dd> +</dl> + + + +</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..3f72a491 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-allow_none_vfunc.page @@ -0,0 +1,36 @@ +<?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 type="guide" xref="index"/> + + </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> + + + + + + + +<dl> +<dt><p>obj :</p></dt> +<dd></dd> +<dt><p>two :</p></dt> +<dd><p>Another object</p></dd> +</dl> + + + +</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..97c7ee68 --- /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 type="guide" xref="Regress.TestObj" group="property"/> + <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..e8706270 --- /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 type="guide" xref="Regress.TestObj" group="property"/> + <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..6c3bca29 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-cleanup.page @@ -0,0 +1,37 @@ +<?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 type="guide" xref="Regress.TestObj" group="signal"/> + <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> + + + + + + + +<dl> +<dt><p>test_obj :</p></dt> +<dd><p>instance of Regress.TestObj that is emitting the signal</p></dd> +<dt><p>user_param1 :</p></dt> +<dd><p>first user parameter (if any) specified with the connect() method</p></dd> +<dt><p>... :</p></dt> +<dd><p>additional user parameters (if any)</p></dd> +</dl> + + + +</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..8243a454 --- /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 type="guide" xref="Regress.TestObj" group="property"/> + <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..8a05f090 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-first.page @@ -0,0 +1,37 @@ +<?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 type="guide" xref="Regress.TestObj" group="signal"/> + <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> + + + + + + + +<dl> +<dt><p>test_obj :</p></dt> +<dd><p>instance of Regress.TestObj that is emitting the signal</p></dd> +<dt><p>user_param1 :</p></dt> +<dd><p>first user parameter (if any) specified with the connect() method</p></dd> +<dt><p>... :</p></dt> +<dd><p>additional user parameters (if any)</p></dd> +</dl> + + + +</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..8ff32c00 --- /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 type="guide" xref="Regress.TestObj" group="property"/> + <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..b477bed4 --- /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 type="guide" xref="Regress.TestObj" group="property"/> + <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..57d37ae5 --- /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 type="guide" xref="Regress.TestObj" group="property"/> + <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..1c5a6eaf --- /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 type="guide" xref="Regress.TestObj" group="property"/> + <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..18089ad7 --- /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 type="guide" xref="Regress.TestObj" group="property"/> + <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..fe821889 --- /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 type="guide" xref="Regress.TestObj" group="property"/> + <title type="link" role="topic">list-old</title> + + </info> + <title>Regress.TestObj:list-old</title> + +<synopsis><code mime="text/x-python"> +"list-old" <list> : 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..30d452db --- /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 type="guide" xref="Regress.TestObj" group="property"/> + <title type="link" role="topic">list</title> + + </info> + <title>Regress.TestObj:list</title> + +<synopsis><code mime="text/x-python"> +"list" <list> : 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..b41a4072 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-matrix.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index"/> + + </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> + + + + +<dl> +<dt><p>obj :</p></dt> +<dd></dd> +<dt><p>somestr :</p></dt> +<dd><p>Meaningless string</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..d326c878 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-array-prop.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="Regress.TestObj" group="signal"/> + <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> + + + + +<dl> +<dt><p>test_obj :</p></dt> +<dd><p>instance of Regress.TestObj that is emitting the signal</p></dd> +<dt><p>arr :</p></dt> +<dd><p>numbers</p></dd> +<dt><p>user_param1 :</p></dt> +<dd><p>first user parameter (if any) specified with the connect() method</p></dd> +<dt><p>... :</p></dt> +<dd><p>additional user parameters (if any)</p></dd> +</dl> + + + +</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..38e632a0 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-foreign-struct.page @@ -0,0 +1,39 @@ +<?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 type="guide" xref="Regress.TestObj" group="signal"/> + <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> + + + + + + + +<dl> +<dt><p>test_obj :</p></dt> +<dd><p>instance of Regress.TestObj that is emitting the signal</p></dd> +<dt><p>cr :</p></dt> +<dd><p>A cairo context.</p></dd> +<dt><p>user_param1 :</p></dt> +<dd><p>first user parameter (if any) specified with the connect() method</p></dd> +<dt><p>... :</p></dt> +<dd><p>additional user parameters (if any)</p></dd> +</dl> + + + +</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..467f995f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-hash-prop.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="Regress.TestObj" group="signal"/> + <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> + + + + +<dl> +<dt><p>test_obj :</p></dt> +<dd><p>instance of Regress.TestObj that is emitting the signal</p></dd> +<dt><p>hash :</p></dt> +<dd></dd> +<dt><p>user_param1 :</p></dt> +<dd><p>first user parameter (if any) specified with the connect() method</p></dd> +<dt><p>... :</p></dt> +<dd><p>additional user parameters (if any)</p></dd> +</dl> + + + +</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..357847ba --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-int64-prop.page @@ -0,0 +1,42 @@ +<?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 type="guide" xref="Regress.TestObj" group="signal"/> + <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> + + + + +<dl> +<dt><p>test_obj :</p></dt> +<dd><p>instance of Regress.TestObj that is emitting the signal</p></dd> +<dt><p>i :</p></dt> +<dd><p>an integer</p></dd> +<dt><p>user_param1 :</p></dt> +<dd><p>first user parameter (if any) specified with the connect() method</p></dd> +<dt><p>... :</p></dt> +<dd><p>additional user parameters (if any)</p></dd> +<dt><p>Returns :</p></dt> +<dd>gint64 </dd> +</dl> + + + +</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..7f2bd5c6 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-intarray-ret.page @@ -0,0 +1,39 @@ +<?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 type="guide" xref="Regress.TestObj" group="signal"/> + <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> + + + + + + + +<dl> +<dt><p>test_obj :</p></dt> +<dd><p>instance of Regress.TestObj that is emitting the signal</p></dd> +<dt><p>i :</p></dt> +<dd><p>an integer</p></dd> +<dt><p>user_param1 :</p></dt> +<dd><p>first user parameter (if any) specified with the connect() method</p></dd> +<dt><p>... :</p></dt> +<dd><p>additional user parameters (if any)</p></dd> +</dl> + + + +</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..a4106050 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-obj.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="Regress.TestObj" group="signal"/> + <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> + + + + +<dl> +<dt><p>test_obj :</p></dt> +<dd><p>instance of Regress.TestObj that is emitting the signal</p></dd> +<dt><p>obj :</p></dt> +<dd><p>A newly created RegressTestObj</p></dd> +<dt><p>user_param1 :</p></dt> +<dd><p>first user parameter (if any) specified with the connect() method</p></dd> +<dt><p>... :</p></dt> +<dd><p>additional user parameters (if any)</p></dd> +</dl> + + + +</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..b6b5b25c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-strv.page @@ -0,0 +1,39 @@ +<?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 type="guide" xref="Regress.TestObj" group="signal"/> + <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> + + + + +<dl> +<dt><p>test_obj :</p></dt> +<dd><p>instance of Regress.TestObj that is emitting the signal</p></dd> +<dt><p>strs :</p></dt> +<dd><p>strings</p></dd> +<dt><p>user_param1 :</p></dt> +<dd><p>first user parameter (if any) specified with the connect() method</p></dd> +<dt><p>... :</p></dt> +<dd><p>additional user parameters (if any)</p></dd> +</dl> + + + +</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..5617c5c7 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-uint64-prop.page @@ -0,0 +1,42 @@ +<?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 type="guide" xref="Regress.TestObj" group="signal"/> + <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> + + + + +<dl> +<dt><p>test_obj :</p></dt> +<dd><p>instance of Regress.TestObj that is emitting the signal</p></dd> +<dt><p>i :</p></dt> +<dd><p>an integer</p></dd> +<dt><p>user_param1 :</p></dt> +<dd><p>first user parameter (if any) specified with the connect() method</p></dd> +<dt><p>... :</p></dt> +<dd><p>additional user parameters (if any)</p></dd> +<dt><p>Returns :</p></dt> +<dd>guint64 </dd> +</dl> + + + +</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..345a8218 --- /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 type="guide" xref="Regress.TestObj" group="property"/> + <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..bdd3b3eb --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-test-with-static-scope-arg.page @@ -0,0 +1,39 @@ +<?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 type="guide" xref="Regress.TestObj" group="signal"/> + <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> + + + + + + + +<dl> +<dt><p>test_obj :</p></dt> +<dd><p>instance of Regress.TestObj that is emitting the signal</p></dd> +<dt><p>object :</p></dt> +<dd></dd> +<dt><p>user_param1 :</p></dt> +<dd><p>first user parameter (if any) specified with the connect() method</p></dd> +<dt><p>... :</p></dt> +<dd><p>additional user parameters (if any)</p></dd> +</dl> + + + +</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..74a74548 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-test.page @@ -0,0 +1,37 @@ +<?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 type="guide" xref="Regress.TestObj" group="signal"/> + <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> + + + + + + + +<dl> +<dt><p>test_obj :</p></dt> +<dd><p>instance of Regress.TestObj that is emitting the signal</p></dd> +<dt><p>user_param1 :</p></dt> +<dd><p>first user parameter (if any) specified with the connect() method</p></dd> +<dt><p>... :</p></dt> +<dd><p>additional user parameters (if any)</p></dd> +</dl> + + + +</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..a7140188 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.do_matrix.page @@ -0,0 +1,55 @@ +<?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 type="guide" xref="Regress.TestObj" group="method"/> + <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>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> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>A <link xref="Regress.TestObj"/></p></dd> +<dt><p>somestr :</p></dt> +<dd><p>Meaningless string</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..b0eafb02 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.emit_sig_with_foreign_struct.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="Regress.TestObj" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +</dl> + + + +</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..86c6b93d --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.emit_sig_with_int64.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="Regress.TestObj" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +</dl> + + + +</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..ccd5ad82 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.emit_sig_with_obj.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="Regress.TestObj" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +</dl> + + + +</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..e2f98768 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.emit_sig_with_uint64.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="Regress.TestObj" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +</dl> + + + +</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..8cb577f9 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.forced_method.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="Regress.TestObj" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>A <link xref="Regress.TestObj"/></p></dd> +</dl> + + + +</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..165c467e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.instance_method.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="Regress.TestObj" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..e57bcb6d --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.instance_method_callback.page @@ -0,0 +1,51 @@ +<?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 type="guide" xref="Regress.TestObj" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>callback :</p></dt> +<dd></dd> +</dl> + + + +</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..24c015c8 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.null_out.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="Regress.TestObj" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>obj :</p></dt> +<dd><p>A <link xref="Regress.TestObj"/></p></dd> +</dl> + + + +</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..2da014f5 --- /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 type="guide" xref="index"/> + + </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..b4681739 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.set_bare.page @@ -0,0 +1,51 @@ +<?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 type="guide" xref="Regress.TestObj" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>bare :</p></dt> +<dd></dd> +</dl> + + + +</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..21f9418f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.skip_inout_param.page @@ -0,0 +1,89 @@ +<?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 type="guide" xref="Regress.TestObj" group="method"/> + <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>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> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>A <link xref="Regress.TestObj"/>.</p></dd> +<dt><p>a :</p></dt> +<dd><p>Parameter.</p></dd> +<dt><p>out_b :</p></dt> +<dd><p>Return value.</p></dd> +<dt><p>c :</p></dt> +<dd><p>Other parameter.</p></dd> +<dt><p>inout_d :</p></dt> +<dd><p>Will be incremented.</p></dd> +<dt><p>out_sum :</p></dt> +<dd><p>Return value.</p></dd> +<dt><p>num1 :</p></dt> +<dd><p>Number.</p></dd> +<dt><p>num2 :</p></dt> +<dd><p>Number.</p></dd> +<dt><p>Returns :</p></dt> +<dd><p><code>True</code> if the call succeeds, <code>False</code> if @error is set.</p></dd> +</dl> + + + +</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..b8eab28e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.skip_out_param.page @@ -0,0 +1,89 @@ +<?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 type="guide" xref="Regress.TestObj" group="method"/> + <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>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> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>A <link xref="Regress.TestObj"/>.</p></dd> +<dt><p>a :</p></dt> +<dd><p>Parameter.</p></dd> +<dt><p>out_b :</p></dt> +<dd><p>Return value.</p></dd> +<dt><p>c :</p></dt> +<dd><p>Other parameter.</p></dd> +<dt><p>inout_d :</p></dt> +<dd><p>Will be incremented.</p></dd> +<dt><p>out_sum :</p></dt> +<dd><p>Return value.</p></dd> +<dt><p>num1 :</p></dt> +<dd><p>Number.</p></dd> +<dt><p>num2 :</p></dt> +<dd><p>Number.</p></dd> +<dt><p>Returns :</p></dt> +<dd><p><code>True</code> if the call succeeds, <code>False</code> if @error is set.</p></dd> +</dl> + + + +</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..57f91672 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.skip_param.page @@ -0,0 +1,89 @@ +<?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 type="guide" xref="Regress.TestObj" group="method"/> + <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>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> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>A <link xref="Regress.TestObj"/>.</p></dd> +<dt><p>a :</p></dt> +<dd><p>Parameter.</p></dd> +<dt><p>out_b :</p></dt> +<dd><p>Return value.</p></dd> +<dt><p>c :</p></dt> +<dd><p>Other parameter.</p></dd> +<dt><p>inout_d :</p></dt> +<dd><p>Will be incremented.</p></dd> +<dt><p>out_sum :</p></dt> +<dd><p>Return value.</p></dd> +<dt><p>num1 :</p></dt> +<dd><p>Number.</p></dd> +<dt><p>num2 :</p></dt> +<dd><p>Number.</p></dd> +<dt><p>Returns :</p></dt> +<dd><p><code>True</code> if the call succeeds, <code>False</code> if @error is set.</p></dd> +</dl> + + + +</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..92d58ebd --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.skip_return_val.page @@ -0,0 +1,89 @@ +<?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 type="guide" xref="Regress.TestObj" group="method"/> + <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>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> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="Regress.TestObj"/></p></dd> +<dt><p>a :</p></dt> +<dd><p>Parameter.</p></dd> +<dt><p>out_b :</p></dt> +<dd><p>A return value.</p></dd> +<dt><p>c :</p></dt> +<dd><p>Other parameter.</p></dd> +<dt><p>inout_d :</p></dt> +<dd><p>Will be incremented.</p></dd> +<dt><p>out_sum :</p></dt> +<dd><p>Return value.</p></dd> +<dt><p>num1 :</p></dt> +<dd><p>Number.</p></dd> +<dt><p>num2 :</p></dt> +<dd><p>Number.</p></dd> +<dt><p>Returns :</p></dt> +<dd><p><code>True</code> if the call succeeds, <code>False</code> if @error is set.</p></dd> +</dl> + + + +</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..5feb3153 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.skip_return_val_no_out.page @@ -0,0 +1,54 @@ +<?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 type="guide" xref="Regress.TestObj" group="method"/> + <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>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> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>a <link xref="Regress.TestObj"/></p></dd> +<dt><p>a :</p></dt> +<dd><p>Parameter.</p></dd> +<dt><p>Returns :</p></dt> +<dd><p><code>True</code> if the call succeeds, <code>False</code> if @error is set.</p></dd> +</dl> + + + +</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..1294c2ad --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.static_method.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="Regress.TestObj" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..3d7d2645 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.static_method_callback.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="Regress.TestObj" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +</dl> + + + +</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..c4e4e774 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.torture_signature_0.page @@ -0,0 +1,81 @@ +<?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 type="guide" xref="Regress.TestObj" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>A <link xref="Regress.TestObj"/></p></dd> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>y :</p></dt> +<dd></dd> +<dt><p>z :</p></dt> +<dd></dd> +<dt><p>foo :</p></dt> +<dd></dd> +<dt><p>q :</p></dt> +<dd></dd> +<dt><p>m :</p></dt> +<dd></dd> +</dl> + + + +</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..787a5c35 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.torture_signature_1.page @@ -0,0 +1,83 @@ +<?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 type="guide" xref="Regress.TestObj" group="method"/> + <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>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> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>A <link xref="Regress.TestObj"/></p></dd> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>y :</p></dt> +<dd></dd> +<dt><p>z :</p></dt> +<dd></dd> +<dt><p>foo :</p></dt> +<dd></dd> +<dt><p>q :</p></dt> +<dd></dd> +<dt><p>m :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..1d907d24 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestOtherError.page @@ -0,0 +1,33 @@ +<?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 type="guide" xref="index"/> + + </info> + <title>Regress.TestOtherError</title> + + + + + + + + +<dl> +<dt><p>TestOtherError.CODE1 :</p></dt> +<dd></dd> +<dt><p>TestOtherError.CODE2 :</p></dt> +<dd></dd> +<dt><p>TestOtherError.CODE3 :</p></dt> +<dd></dd> +</dl> + + + +</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..788441ac --- /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 type="guide" xref="index"/> + + </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..fa508137 --- /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 type="guide" xref="index"/> + + </info> + <title>Regress.TestPrivateStruct</title> + + + + + + + + + + + +</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..b4444d2e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSimpleBoxedA.const_return.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="Regress.TestSimpleBoxedA" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..4976e9ac --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSimpleBoxedA.copy.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="Regress.TestSimpleBoxedA" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..a9f6577e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSimpleBoxedA.equals.page @@ -0,0 +1,53 @@ +<?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 type="guide" xref="Regress.TestSimpleBoxedA" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>other_a :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..2a8dd629 --- /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 type="guide" xref="index"/> + + </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..c04d3cda --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSimpleBoxedB.copy.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="Regress.TestSimpleBoxedB" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..b775b867 --- /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 type="guide" xref="index"/> + + </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..61bafb5f --- /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 type="guide" xref="index"/> + + </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..2b609bb4 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructA.clone.page @@ -0,0 +1,51 @@ +<?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 type="guide" xref="Regress.TestStructA" group="method"/> + <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>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> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>the structure</p></dd> +<dt><p>a_out :</p></dt> +<dd><p>the cloned structure</p></dd> +</dl> + + + +</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..07b1752d --- /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 type="guide" xref="index"/> + + </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..d18fcf7b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructA.parse.page @@ -0,0 +1,51 @@ +<?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 type="guide" xref="Regress.TestStructA" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>a_out :</p></dt> +<dd><p>the structure that is to be filled</p></dd> +<dt><p>string :</p></dt> +<dd><p>ignored</p></dd> +</dl> + + + +</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..2a95a23d --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructB.clone.page @@ -0,0 +1,51 @@ +<?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 type="guide" xref="Regress.TestStructB" group="method"/> + <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>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> + + + + +<dl> +<dt><p>self :</p></dt> +<dd><p>the structure</p></dd> +<dt><p>b_out :</p></dt> +<dd><p>the cloned structure</p></dd> +</dl> + + + +</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..b5b2ff3f --- /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 type="guide" xref="index"/> + + </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..1db74ca2 --- /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 type="guide" xref="index"/> + + </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..cf224e3e --- /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 type="guide" xref="index"/> + + </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..75684f3d --- /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 type="guide" xref="index"/> + + </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..6f77035b --- /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 type="guide" xref="index"/> + + </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..fe5e7bc6 --- /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 type="guide" xref="index"/> + + </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..ffd3fae0 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestStructFixedArray.frob.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="Regress.TestStructFixedArray" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +</dl> + + + +</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..b5df5294 --- /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 type="guide" xref="index"/> + + </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..bc854f46 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSubObj.instance_method.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="Regress.TestSubObj" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..fef2f914 --- /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 type="guide" xref="index"/> + + </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..fa4dcc1a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestSubObj.unset_bare.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="Regress.TestSubObj" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +</dl> + + + +</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..d815a3fe --- /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 type="guide" xref="index"/> + + </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..5846ac62 --- /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 type="guide" xref="Regress.TestWi8021x" group="property"/> + <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..c0bffe8a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestWi8021x.get_testbool.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="Regress.TestWi8021x" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..67b7ecae --- /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 type="guide" xref="index"/> + + </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..ae043639 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestWi8021x.set_testbool.page @@ -0,0 +1,51 @@ +<?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 type="guide" xref="Regress.TestWi8021x" group="method"/> + <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>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> + + + + + + + +<dl> +<dt><p>self :</p></dt> +<dd></dd> +<dt><p>v :</p></dt> +<dd></dd> +</dl> + + + +</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..3c04ae74 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestWi8021x.static_method.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="Regress.TestWi8021x" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.UTF8_CONSTANT.page b/tests/scanner/Regress-1.0-Python-expected/Regress.UTF8_CONSTANT.page new file mode 100644 index 00000000..8f3f5324 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.UTF8_CONSTANT.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.UTF8_CONSTANT" + 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 type="guide" xref="index"/> + + </info> + <title>Regress.UTF8_CONSTANT</title> + + + + + + + + + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.VaListAlias.page b/tests/scanner/Regress-1.0-Python-expected/Regress.VaListAlias.page new file mode 100644 index 00000000..bfd52d28 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.VaListAlias.page @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<page id="Regress.VaListAlias" + 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 type="guide" xref="index"/> + + </info> + <title>Regress.VaListAlias</title> + + + + <p>Typedef'd va_list for additional reasons</p> + + + + + + + +</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..f0476b84 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.aliased_caller_alloc.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>boxed :</p></dt> +<dd></dd> +</dl> + + + +</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..f48f724e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_attribute_func.page @@ -0,0 +1,53 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>object :</p></dt> +<dd><p>A <link xref="Regress.AnnotationObject"/>.</p></dd> +<dt><p>data :</p></dt> +<dd><p>Some data.</p></dd> +<dt><p>Returns :</p></dt> +<dd><p>The return value.</p></dd> +</dl> + + + +</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..439bd57f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_custom_destroy.page @@ -0,0 +1,58 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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 regress_annotations.</p> + + + + +<dl> +<dt><p>callback :</p></dt> +<dd><p>Destroy notification</p></dd> +<dt><p>destroy :</p></dt> +<dd></dd> +<dt><p>data :</p></dt> +<dd></dd> +</dl> + + + +</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..339ad90b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_get_source_file.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>filename</api:type> + </api:returns> + <api:name>regress_annotation_get_source_file</api:name> + </api:function> + + </info> + <title>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> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>Source file</p></dd> +</dl> + + + +</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..0fc0f5c4 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_init.page @@ -0,0 +1,51 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>argc :</p></dt> +<dd><p>The number of args.</p></dd> +<dt><p>argv :</p></dt> +<dd><p>The arguments.</p></dd> +</dl> + + + +</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..d173a8f2 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_invalid_regress_annotation.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>foo :</p></dt> +<dd><p>some text (e.g. example) or else</p></dd> +</dl> + + + +</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..774a0181 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_ptr_array.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>array :</p></dt> +<dd><p>the array</p></dd> +</dl> + + + +</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..5902fd07 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_return_array.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>length :</p></dt> +<dd><p>Number of return values</p></dd> +<dt><p>Returns :</p></dt> +<dd><p>The return value</p></dd> +</dl> + + + +</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..961a4030 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_return_filename.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>filename</api:type> + </api:returns> + <api:name>regress_annotation_return_filename</api:name> + </api:function> + + </info> + <title>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> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>An annotated filename</p></dd> +</dl> + + + +</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..67ab7414 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_set_source_file.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>fname :</p></dt> +<dd><p>Source file</p></dd> +</dl> + + + +</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..4f718065 --- /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 type="guide" xref="index" group="function"/> + <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>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> + + + + +<dl> +</dl> + + + +</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..a1f859a3 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_string_array_length.page @@ -0,0 +1,51 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>n_properties :</p></dt> +<dd></dd> +<dt><p>properties :</p></dt> +<dd></dd> +</dl> + + + +</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..7aff5099 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_string_zero_terminated.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>[unicode]</api:type> + </api:returns> + <api:name>regress_annotation_string_zero_terminated</api:name> + </api:function> + + </info> + <title>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> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>The return value</p></dd> +</dl> + + + +</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..d7401ed5 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_string_zero_terminated_out.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>out :</p></dt> +<dd></dd> +</dl> + + + +</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..60210394 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_test_parsing_bug630862.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>An object, note the colon:in here</p></dd> +</dl> + + + +</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..321cd92d --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.annotation_transfer_floating.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>GObject.Object</api:type> + </api:returns> + <api:name>regress_annotation_transfer_floating</api:name> + </api:function> + + </info> + <title>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> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>A floating object</p></dd> +</dl> + + + +</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..046fa115 --- /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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_annotation_versioned</api:name> + </api:function> + + </info> + <title>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> + + +<dl> +</dl> + + + +</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..dcaa8148 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.atest_error_quark.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>GLib.Quark</api:type> + </api:returns> + <api:name>regress_atest_error_quark</api:name> + </api:function> + + </info> + <title>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> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..ef1f6142 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_async_ready_callback.page @@ -0,0 +1,57 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>cancellable :</p></dt> +<dd></dd> +<dt><p>callback :</p></dt> +<dd></dd> +<dt><p>user_data :</p></dt> +<dd></dd> +</dl> + + + +</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..dad0e224 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_destroy_notify_callback.page @@ -0,0 +1,57 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +<dt><p>data :</p></dt> +<dd></dd> +<dt><p>destroy :</p></dt> +<dd></dd> +</dl> + + + +</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..f7b916ef --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_init.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>int</api:type> + </api:returns> + <api:name>regress_foo_init</api:name> + </api:function> + + </info> + <title>foo_init</title> + +<synopsis><code mime="text/x-python"> +@returns(int) +def foo_init(): + # Python wrapper for regress_foo_init() +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..ce521acb --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_method_external_references.page @@ -0,0 +1,63 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>object :</p></dt> +<dd></dd> +<dt><p>e :</p></dt> +<dd></dd> +<dt><p>f :</p></dt> +<dd></dd> +<dt><p>s :</p></dt> +<dd></dd> +</dl> + + + +</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..d70d3375 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_not_a_constructor_new.page @@ -0,0 +1,41 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.foo_skip_me.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_skip_me.page new file mode 100644 index 00000000..8dc4a728 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_skip_me.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.foo_skip_me" + 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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_foo_skip_me</api:name> + <api:arg> + <api:type>Regress.FooSkippable</api:type> + <api:name>fs</api:name> + </api:arg> + </api:function> + + </info> + <title>foo_skip_me</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooSkippable) +@returns(none) +def foo_skip_me(fs): + # Python wrapper for regress_foo_skip_me() +</code></synopsis> + + + <p>Does something that's only interesting from C and should not be +exposed to language bindings.</p> + + + + +<dl> +<dt><p>fs :</p></dt> +<dd><p>a <link xref="Regress.FooSkippable"/></p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.foo_some_variant.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_some_variant.page new file mode 100644 index 00000000..3933bebe --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_some_variant.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.foo_some_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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_foo_some_variant</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + <api:arg> + <api:type>va_list</api:type> + <api:name>args</api:name> + </api:arg> + </api:function> + + </info> + <title>foo_some_variant</title> + +<synopsis><code mime="text/x-python"> +@accepts(int, va_list) +@returns(none) +def foo_some_variant(x, args): + # Python wrapper for regress_foo_some_variant() +</code></synopsis> + + + + + + + +<dl> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>args :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.foo_some_variant_ptr.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_some_variant_ptr.page new file mode 100644 index 00000000..dbe2d598 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_some_variant_ptr.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.foo_some_variant_ptr" + 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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_foo_some_variant_ptr</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + <api:arg> + <api:type>va_list</api:type> + <api:name>args</api:name> + </api:arg> + </api:function> + + </info> + <title>foo_some_variant_ptr</title> + +<synopsis><code mime="text/x-python"> +@accepts(int, va_list) +@returns(none) +def foo_some_variant_ptr(x, args): + # Python wrapper for regress_foo_some_variant_ptr() +</code></synopsis> + + + + + + + +<dl> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>args :</p></dt> +<dd></dd> +</dl> + + + +</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..c1c46521 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_array.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>[unicode]</api:type> + </api:returns> + <api:name>regress_foo_test_array</api:name> + </api:function> + + </info> + <title>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> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..61b2a569 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_const_char_param.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>param :</p></dt> +<dd></dd> +</dl> + + + +</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..d3079e2e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_const_char_retval.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..9c757d41 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_const_struct_param.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>param :</p></dt> +<dd></dd> +</dl> + + + +</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..870cca02 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_const_struct_retval.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..f5c7798f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_string_array.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>array :</p></dt> +<dd></dd> +</dl> + + + +</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..4d46cef6 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_string_array_with_g.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>array :</p></dt> +<dd></dd> +</dl> + + + +</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..8d795167 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_unsigned_qualifier.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>unsigned_param :</p></dt> +<dd></dd> +</dl> + + + +</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..97672a0d --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_unsigned_type.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>unsigned_param :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_varargs_callback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_varargs_callback.page new file mode 100644 index 00000000..3b2f1f3c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_varargs_callback.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.foo_test_varargs_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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_foo_test_varargs_callback</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>i</api:name> + </api:arg> + <api:arg> + <api:type>Regress.FooVarargsCallback</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>foo_test_varargs_callback</title> + +<synopsis><code mime="text/x-python"> +@accepts(int, Regress.FooVarargsCallback) +@returns(none) +def foo_test_varargs_callback(i, callback): + # Python wrapper for regress_foo_test_varargs_callback() +</code></synopsis> + + + + + + + +<dl> +<dt><p>i :</p></dt> +<dd></dd> +<dt><p>callback :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_varargs_callback2.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_varargs_callback2.page new file mode 100644 index 00000000..3a20a84c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_varargs_callback2.page @@ -0,0 +1,45 @@ +<?xml version="1.0"?> +<page id="Regress.foo_test_varargs_callback2" + 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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_foo_test_varargs_callback2</api:name> + <api:arg> + <api:type>Regress.FooVarargsCallback</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>foo_test_varargs_callback2</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooVarargsCallback) +@returns(none) +def foo_test_varargs_callback2(callback): + # Python wrapper for regress_foo_test_varargs_callback2() +</code></synopsis> + + + + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_varargs_callback3.page b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_varargs_callback3.page new file mode 100644 index 00000000..b2380f36 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.foo_test_varargs_callback3.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.foo_test_varargs_callback3" + 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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_foo_test_varargs_callback3</api:name> + <api:arg> + <api:type>Regress.FooVarargsCallback</api:type> + <api:name>callback</api:name> + </api:arg> + <api:arg> + <api:type>Regress.FooVarargsCallback</api:type> + <api:name>callback2</api:name> + </api:arg> + </api:function> + + </info> + <title>foo_test_varargs_callback3</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.FooVarargsCallback, Regress.FooVarargsCallback) +@returns(none) +def foo_test_varargs_callback3(callback, callback2): + # Python wrapper for regress_foo_test_varargs_callback3() +</code></synopsis> + + + + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +<dt><p>callback2 :</p></dt> +<dd></dd> +</dl> + + + +</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..681f45b2 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.func_obj_null_in.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>obj :</p></dt> +<dd><p>A <link xref="Regress.TestObj"/></p></dd> +</dl> + + + +</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..816a722f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.global_get_flags_out.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>v :</p></dt> +<dd><p>A flags value</p></dd> +</dl> + + + +</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..ed405229 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.has_parameter_named_attrs.page @@ -0,0 +1,52 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + +<dl> +<dt><p>foo :</p></dt> +<dd><p>some int</p></dd> +<dt><p>attributes :</p></dt> +<dd><p>list of attributes</p></dd> +</dl> + + + +</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..63ef956e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.introspectable_via_alias.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>data :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.not_introspectable_via_alias.page b/tests/scanner/Regress-1.0-Python-expected/Regress.not_introspectable_via_alias.page new file mode 100644 index 00000000..174a8660 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.not_introspectable_via_alias.page @@ -0,0 +1,45 @@ +<?xml version="1.0"?> +<page id="Regress.not_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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_not_introspectable_via_alias</api:name> + <api:arg> + <api:type>Regress.VaListAlias</api:type> + <api:name>ok</api:name> + </api:arg> + </api:function> + + </info> + <title>not_introspectable_via_alias</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.VaListAlias) +@returns(none) +def not_introspectable_via_alias(ok): + # Python wrapper for regress_not_introspectable_via_alias() +</code></synopsis> + + + + + + + +<dl> +<dt><p>ok :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.random_function_with_skipped_structure.page b/tests/scanner/Regress-1.0-Python-expected/Regress.random_function_with_skipped_structure.page new file mode 100644 index 00000000..e175decd --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.random_function_with_skipped_structure.page @@ -0,0 +1,57 @@ +<?xml version="1.0"?> +<page id="Regress.random_function_with_skipped_structure" + 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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_random_function_with_skipped_structure</api:name> + <api:arg> + <api:type>int</api:type> + <api:name>x</api:name> + </api:arg> + <api:arg> + <api:type>Regress.SkippedStructure</api:type> + <api:name>foo</api:name> + </api:arg> + <api:arg> + <api:type>float</api:type> + <api:name>v</api:name> + </api:arg> + </api:function> + + </info> + <title>random_function_with_skipped_structure</title> + +<synopsis><code mime="text/x-python"> +@accepts(int, Regress.SkippedStructure, float) +@returns(none) +def random_function_with_skipped_structure(x, foo, v): + # Python wrapper for regress_random_function_with_skipped_structure() +</code></synopsis> + + + + + + + +<dl> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>foo :</p></dt> +<dd></dd> +<dt><p>v :</p></dt> +<dd></dd> +</dl> + + + +</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..aa725200 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.set_abort_on_error.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>abort_on_error :</p></dt> +<dd></dd> +</dl> + + + +</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..9a170d7d --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_callback.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..a5cb3976 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_fixed_out_objects.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>objs :</p></dt> +<dd><p>An array of <link xref="Regress.TestObj"/></p></dd> +</dl> + + + +</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..de526c40 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_fixed_size_int_in.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>ints :</p></dt> +<dd><p>a list of 5 integers</p></dd> +<dt><p>Returns :</p></dt> +<dd><p>the sum of the items in <code>ints</code></p></dd> +</dl> + + + +</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..9d7ec741 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_fixed_size_int_out.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>ints :</p></dt> +<dd><p>a list of 5 integers ranging from 0 to 4</p></dd> +</dl> + + + +</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..bc33d6df --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_fixed_size_int_return.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>a list of 5 integers ranging from 0 to 4</p></dd> +</dl> + + + +</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..98f1e19e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_gint16_in.page @@ -0,0 +1,53 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>n_ints :</p></dt> +<dd></dd> +<dt><p>ints :</p></dt> +<dd><p>List of ints</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..74fb671f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_gint32_in.page @@ -0,0 +1,53 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>n_ints :</p></dt> +<dd></dd> +<dt><p>ints :</p></dt> +<dd><p>List of ints</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..0f2ad40b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_gint64_in.page @@ -0,0 +1,53 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>n_ints :</p></dt> +<dd></dd> +<dt><p>ints :</p></dt> +<dd><p>List of ints</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..4ad4fc7c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_gint8_in.page @@ -0,0 +1,53 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>n_ints :</p></dt> +<dd></dd> +<dt><p>ints :</p></dt> +<dd><p>List of ints</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..bc9057b0 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_gtype_in.page @@ -0,0 +1,53 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>n_types :</p></dt> +<dd></dd> +<dt><p>types :</p></dt> +<dd><p>List of types</p></dd> +<dt><p>Returns :</p></dt> +<dd><p>string representation of provided types</p></dd> +</dl> + + + +</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..088ccfa2 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_full_out.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>len :</p></dt> +<dd><p>length of the returned array.</p></dd> +<dt><p>Returns :</p></dt> +<dd><p>a new array of integers.</p></dd> +</dl> + + + +</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..8bc291b1 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_in.page @@ -0,0 +1,53 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>n_ints :</p></dt> +<dd></dd> +<dt><p>ints :</p></dt> +<dd><p>List of ints</p></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..881cc86e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_inout.page @@ -0,0 +1,51 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>n_ints :</p></dt> +<dd><p>the length of <code>ints</code></p></dd> +<dt><p>ints :</p></dt> +<dd><p>a list of integers whose items will be increased by 1, except the first that will be dropped</p></dd> +</dl> + + + +</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..39542be1 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_none_out.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>len :</p></dt> +<dd><p>length of the returned array.</p></dd> +<dt><p>Returns :</p></dt> +<dd><p>a static array of integers.</p></dd> +</dl> + + + +</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..1e8007f7 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_null_in.page @@ -0,0 +1,51 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>arr :</p></dt> +<dd></dd> +<dt><p>len :</p></dt> +<dd><p>length</p></dd> +</dl> + + + +</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..894a37e3 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_null_out.page @@ -0,0 +1,51 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>arr :</p></dt> +<dd></dd> +<dt><p>len :</p></dt> +<dd><p>length</p></dd> +</dl> + + + +</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..3bfad946 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_int_out.page @@ -0,0 +1,51 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>n_ints :</p></dt> +<dd><p>the length of <code>ints</code></p></dd> +<dt><p>ints :</p></dt> +<dd><p>a list of 5 integers, from 0 to 4 in consecutive order</p></dd> +</dl> + + + +</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..39a24a23 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_async_ready_callback.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +</dl> + + + +</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..e7217be4 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_boolean.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..0f7783ab --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_boolean_false.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..65fec5ed --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_boolean_true.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..dfebfd05 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_cairo_context_full_return.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..922330df --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_cairo_context_none_in.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>context :</p></dt> +<dd></dd> +</dl> + + + +</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..1b32629a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_cairo_surface_full_out.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>surface :</p></dt> +<dd></dd> +</dl> + + + +</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..1cfa1513 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_cairo_surface_full_return.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..ad456c10 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_cairo_surface_none_in.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>surface :</p></dt> +<dd></dd> +</dl> + + + +</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..4e5dd409 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_cairo_surface_none_return.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..5da4505b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..8ffd9661 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback_async.page @@ -0,0 +1,51 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +<dt><p>user_data :</p></dt> +<dd></dd> +</dl> + + + +</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..fed66313 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback_destroy_notify.page @@ -0,0 +1,60 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +<dt><p>user_data :</p></dt> +<dd></dd> +<dt><p>notify :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..a343923a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback_destroy_notify_no_user_data.page @@ -0,0 +1,54 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +<dt><p>notify :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..459bd47d --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback_thaw_async.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>int</api:type> + </api:returns> + <api:name>regress_test_callback_thaw_async</api:name> + </api:function> + + </info> + <title>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> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..24c45e90 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback_thaw_notifications.page @@ -0,0 +1,42 @@ +<?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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>int</api:type> + </api:returns> + <api:name>regress_test_callback_thaw_notifications</api:name> + </api:function> + + </info> + <title>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> + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>Sum of the return values of the invoked callbacks.</p></dd> +</dl> + + + +</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..2b03a8fd --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_callback_user_data.page @@ -0,0 +1,54 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +<dt><p>user_data :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..a3290e54 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_closure.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>closure :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..c766153c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_closure_one_arg.page @@ -0,0 +1,53 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>closure :</p></dt> +<dd></dd> +<dt><p>arg :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..2151555c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_closure_variant.page @@ -0,0 +1,53 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>closure :</p></dt> +<dd><p>GClosure which takes one GVariant and returns a GVariant</p></dd> +<dt><p>arg :</p></dt> +<dd><p>a GVariant passed as argument to <code>closure</code></p></dd> +<dt><p>Returns :</p></dt> +<dd><p>the return value of <code>closure</code></p></dd> +</dl> + + + +</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..7e9400e4 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_date_in_gvalue.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..dc3c910a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_def_error_quark.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..986f57a5 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_double.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..9b259bfd --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_filename_return.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type><list></api:type> + </api:returns> + <api:name>regress_test_filename_return</api:name> + </api:function> + + </info> + <title>test_filename_return</title> + +<synopsis><code mime="text/x-python"> +@returns(<list>) +def test_filename_return(): + # Python wrapper for regress_test_filename_return() +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>list of strings</p></dd> +</dl> + + + +</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..5b5bdb81 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_float.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..132de1fa --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_garray_container_return.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>[unicode]</api:type> + </api:returns> + <api:name>regress_test_garray_container_return</api:name> + </api:function> + + </info> + <title>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> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..e7c1b0fc --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_garray_full_return.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>[unicode]</api:type> + </api:returns> + <api:name>regress_test_garray_full_return</api:name> + </api:function> + + </info> + <title>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> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..52ef85d3 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gerror_callback.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +</dl> + + + +</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..676e6652 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_container_return.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..0cca64bc --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_everything_return.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..39c476b5 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_gvalue_in.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>hash :</p></dt> +<dd><p>the hash table returned by <link xref="Regress.test_ghash_gvalue_return"/>.</p></dd> +</dl> + + + +</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..9a94e398 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_gvalue_return.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..6d0a2a7a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_nested_everything_return.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..a6837dad --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_nested_everything_return2.page @@ -0,0 +1,41 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..623aee60 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_nothing_in.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +</dl> + + + +</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..72e7c669 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_nothing_in2.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +</dl> + + + +</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..64438430 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_nothing_return.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..5748c38a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_nothing_return2.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..5eff48f8 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_null_in.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +</dl> + + + +</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..a1c9b5bf --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_null_out.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>out :</p></dt> +<dd></dd> +</dl> + + + +</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..0683dbed --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ghash_null_return.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..6963fb41 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_container_return.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type><list></api:type> + </api:returns> + <api:name>regress_test_glist_container_return</api:name> + </api:function> + + </info> + <title>test_glist_container_return</title> + +<synopsis><code mime="text/x-python"> +@returns(<list>) +def test_glist_container_return(): + # Python wrapper for regress_test_glist_container_return() +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..7c1d2313 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_everything_return.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type><list></api:type> + </api:returns> + <api:name>regress_test_glist_everything_return</api:name> + </api:function> + + </info> + <title>test_glist_everything_return</title> + +<synopsis><code mime="text/x-python"> +@returns(<list>) +def test_glist_everything_return(): + # Python wrapper for regress_test_glist_everything_return() +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..bb93930b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_nothing_in.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_test_glist_nothing_in</api:name> + <api:arg> + <api:type><list></api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_glist_nothing_in</title> + +<synopsis><code mime="text/x-python"> +@accepts(<list>) +@returns(none) +def test_glist_nothing_in(in): + # Python wrapper for regress_test_glist_nothing_in() +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +</dl> + + + +</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..fa87b14c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_nothing_in2.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_test_glist_nothing_in2</api:name> + <api:arg> + <api:type><list></api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_glist_nothing_in2</title> + +<synopsis><code mime="text/x-python"> +@accepts(<list>) +@returns(none) +def test_glist_nothing_in2(in): + # Python wrapper for regress_test_glist_nothing_in2() +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +</dl> + + + +</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..926d5f5f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_nothing_return.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type><list></api:type> + </api:returns> + <api:name>regress_test_glist_nothing_return</api:name> + </api:function> + + </info> + <title>test_glist_nothing_return</title> + +<synopsis><code mime="text/x-python"> +@returns(<list>) +def test_glist_nothing_return(): + # Python wrapper for regress_test_glist_nothing_return() +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..b6163879 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_nothing_return2.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type><list></api:type> + </api:returns> + <api:name>regress_test_glist_nothing_return2</api:name> + </api:function> + + </info> + <title>test_glist_nothing_return2</title> + +<synopsis><code mime="text/x-python"> +@returns(<list>) +def test_glist_nothing_return2(): + # Python wrapper for regress_test_glist_nothing_return2() +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..4da827e9 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_null_in.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_test_glist_null_in</api:name> + <api:arg> + <api:type><list></api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_glist_null_in</title> + +<synopsis><code mime="text/x-python"> +@accepts(<list>) +@returns(none) +def test_glist_null_in(in): + # Python wrapper for regress_test_glist_null_in() +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +</dl> + + + +</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..e96a9652 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_glist_null_out.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_test_glist_null_out</api:name> + <api:arg> + <api:type><list></api:type> + <api:name>out_list</api:name> + </api:arg> + </api:function> + + </info> + <title>test_glist_null_out</title> + +<synopsis><code mime="text/x-python"> +@accepts(<list>) +@returns(none) +def test_glist_null_out(out_list): + # Python wrapper for regress_test_glist_null_out() +</code></synopsis> + + + + + + + +<dl> +<dt><p>out_list :</p></dt> +<dd></dd> +</dl> + + + +</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..e7ab5c11 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_container_return.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type><list></api:type> + </api:returns> + <api:name>regress_test_gslist_container_return</api:name> + </api:function> + + </info> + <title>test_gslist_container_return</title> + +<synopsis><code mime="text/x-python"> +@returns(<list>) +def test_gslist_container_return(): + # Python wrapper for regress_test_gslist_container_return() +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..ea32632f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_everything_return.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type><list></api:type> + </api:returns> + <api:name>regress_test_gslist_everything_return</api:name> + </api:function> + + </info> + <title>test_gslist_everything_return</title> + +<synopsis><code mime="text/x-python"> +@returns(<list>) +def test_gslist_everything_return(): + # Python wrapper for regress_test_gslist_everything_return() +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..1cbf247c --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_nothing_in.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_test_gslist_nothing_in</api:name> + <api:arg> + <api:type><list></api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_gslist_nothing_in</title> + +<synopsis><code mime="text/x-python"> +@accepts(<list>) +@returns(none) +def test_gslist_nothing_in(in): + # Python wrapper for regress_test_gslist_nothing_in() +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +</dl> + + + +</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..3325a41a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_nothing_in2.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_test_gslist_nothing_in2</api:name> + <api:arg> + <api:type><list></api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_gslist_nothing_in2</title> + +<synopsis><code mime="text/x-python"> +@accepts(<list>) +@returns(none) +def test_gslist_nothing_in2(in): + # Python wrapper for regress_test_gslist_nothing_in2() +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +</dl> + + + +</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..0a4a5aaa --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_nothing_return.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type><list></api:type> + </api:returns> + <api:name>regress_test_gslist_nothing_return</api:name> + </api:function> + + </info> + <title>test_gslist_nothing_return</title> + +<synopsis><code mime="text/x-python"> +@returns(<list>) +def test_gslist_nothing_return(): + # Python wrapper for regress_test_gslist_nothing_return() +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..4fb5489f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_nothing_return2.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type><list></api:type> + </api:returns> + <api:name>regress_test_gslist_nothing_return2</api:name> + </api:function> + + </info> + <title>test_gslist_nothing_return2</title> + +<synopsis><code mime="text/x-python"> +@returns(<list>) +def test_gslist_nothing_return2(): + # Python wrapper for regress_test_gslist_nothing_return2() +</code></synopsis> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..470a6fff --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_null_in.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_test_gslist_null_in</api:name> + <api:arg> + <api:type><list></api:type> + <api:name>in</api:name> + </api:arg> + </api:function> + + </info> + <title>test_gslist_null_in</title> + +<synopsis><code mime="text/x-python"> +@accepts(<list>) +@returns(none) +def test_gslist_null_in(in): + # Python wrapper for regress_test_gslist_null_in() +</code></synopsis> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +</dl> + + + +</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..6c2dd5b4 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gslist_null_out.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_test_gslist_null_out</api:name> + <api:arg> + <api:type><list></api:type> + <api:name>out_list</api:name> + </api:arg> + </api:function> + + </info> + <title>test_gslist_null_out</title> + +<synopsis><code mime="text/x-python"> +@accepts(<list>) +@returns(none) +def test_gslist_null_out(out_list): + # Python wrapper for regress_test_gslist_null_out() +</code></synopsis> + + + + + + + +<dl> +<dt><p>out_list :</p></dt> +<dd></dd> +</dl> + + + +</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..f98195ac --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gtype.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..edd0a830 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gvariant_as.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>GLib.Variant</api:type> + </api:returns> + <api:name>regress_test_gvariant_as</api:name> + </api:function> + + </info> + <title>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> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>New variant</p></dd> +</dl> + + + +</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..2e9eeeb7 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gvariant_asv.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>GLib.Variant</api:type> + </api:returns> + <api:name>regress_test_gvariant_asv</api:name> + </api:function> + + </info> + <title>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> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>New variant</p></dd> +</dl> + + + +</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..c47377b5 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gvariant_i.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>GLib.Variant</api:type> + </api:returns> + <api:name>regress_test_gvariant_i</api:name> + </api:function> + + </info> + <title>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> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>New variant</p></dd> +</dl> + + + +</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..dfd123f8 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gvariant_s.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>GLib.Variant</api:type> + </api:returns> + <api:name>regress_test_gvariant_s</api:name> + </api:function> + + </info> + <title>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> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>New variant</p></dd> +</dl> + + + +</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..1f5d309e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_gvariant_v.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>GLib.Variant</api:type> + </api:returns> + <api:name>regress_test_gvariant_v</api:name> + </api:function> + + </info> + <title>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> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>New variant</p></dd> +</dl> + + + +</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..6429848b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_hash_table_callback.page @@ -0,0 +1,51 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>data :</p></dt> +<dd><p>GHashTable that gets passed to callback</p></dd> +<dt><p>callback :</p></dt> +<dd></dd> +</dl> + + + +</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..22c435f5 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_int.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..6f0945af --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_int16.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..8070a644 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_int32.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..c9456ad6 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_int64.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..73c17498 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_int8.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..9b5b728e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_int_out_utf8.page @@ -0,0 +1,51 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>length :</p></dt> +<dd></dd> +<dt><p>in :</p></dt> +<dd></dd> +</dl> + + + +</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..2d6d569b --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_int_value_arg.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>v :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..3b56821e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_long.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..ed15aba2 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_multi_callback.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..b781e796 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_multi_double_args.page @@ -0,0 +1,57 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>one :</p></dt> +<dd></dd> +<dt><p>two :</p></dt> +<dd></dd> +</dl> + + + +</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..6cfdbcd6 --- /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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_test_multiline_doc_comments</api:name> + </api:function> + + </info> + <title>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> + + + + +<dl> +</dl> + + + +</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..571dd0a5 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_nested_parameter.page @@ -0,0 +1,70 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + +<dl> +<dt><p>a :</p></dt> +<dd><p>An integer</p></dd> +</dl> + + + +</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..ce50e43e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_null_gerror_callback.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +</dl> + + + +</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..93cd72fc --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_owned_gerror_callback.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +</dl> + + + +</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..77ddd585 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_short.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..241d0a86 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_simple_callback.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>callback :</p></dt> +<dd></dd> +</dl> + + + +</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..3496e370 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_size.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_skip_unannotated_callback.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_skip_unannotated_callback.page new file mode 100644 index 00000000..8dc6a486 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_skip_unannotated_callback.page @@ -0,0 +1,46 @@ +<?xml version="1.0"?> +<page id="Regress.test_skip_unannotated_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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_test_skip_unannotated_callback</api:name> + <api:arg> + <api:type>Regress.TestCallback</api:type> + <api:name>callback</api:name> + </api:arg> + </api:function> + + </info> + <title>test_skip_unannotated_callback</title> + +<synopsis><code mime="text/x-python"> +@accepts(Regress.TestCallback) +@returns(none) +def test_skip_unannotated_callback(callback): + # Python wrapper for regress_test_skip_unannotated_callback() +</code></synopsis> + + + <p>Should not emit a warning: +https://bugzilla.gnome.org/show_bug.cgi?id=685399</p> + + + + +<dl> +<dt><p>callback :</p></dt> +<dd><p>No annotation here</p></dd> +</dl> + + + +</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..6e61bc83 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ssize.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..dee44c02 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_strv_in.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>arr :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..ab03bda9 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_strv_in_gvalue.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..e87d979f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_strv_out.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>[unicode]</api:type> + </api:returns> + <api:name>regress_test_strv_out</api:name> + </api:function> + + </info> + <title>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> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..8d5a73a7 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_strv_out_c.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>[unicode]</api:type> + </api:returns> + <api:name>regress_test_strv_out_c</api:name> + </api:function> + + </info> + <title>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> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..feaf8c78 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_strv_out_container.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>[unicode]</api:type> + </api:returns> + <api:name>regress_test_strv_out_container</api:name> + </api:function> + + </info> + <title>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> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..7cea6b43 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_strv_outarg.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>retp :</p></dt> +<dd></dd> +</dl> + + + +</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..3e7637ec --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_timet.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..542dc1f2 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_torture_signature_0.page @@ -0,0 +1,75 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>y :</p></dt> +<dd></dd> +<dt><p>z :</p></dt> +<dd></dd> +<dt><p>foo :</p></dt> +<dd></dd> +<dt><p>q :</p></dt> +<dd></dd> +<dt><p>m :</p></dt> +<dd></dd> +</dl> + + + +</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..333d386e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_torture_signature_1.page @@ -0,0 +1,77 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + +<dl> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>y :</p></dt> +<dd></dd> +<dt><p>z :</p></dt> +<dd></dd> +<dt><p>foo :</p></dt> +<dd></dd> +<dt><p>q :</p></dt> +<dd></dd> +<dt><p>m :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..449793bb --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_torture_signature_2.page @@ -0,0 +1,93 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>x :</p></dt> +<dd></dd> +<dt><p>callback :</p></dt> +<dd></dd> +<dt><p>user_data :</p></dt> +<dd></dd> +<dt><p>notify :</p></dt> +<dd></dd> +<dt><p>y :</p></dt> +<dd></dd> +<dt><p>z :</p></dt> +<dd></dd> +<dt><p>foo :</p></dt> +<dd></dd> +<dt><p>q :</p></dt> +<dd></dd> +<dt><p>m :</p></dt> +<dd></dd> +</dl> + + + +</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..84f702af --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_uint.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..b8e444a0 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_uint16.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..37da5482 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_uint32.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..b11cfbb2 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_uint64.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..58f7817a --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_uint8.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..f94fff0d --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ulong.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..363a5e33 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_unichar.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..4e77143e --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_unsigned_enum_param.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>e :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..2b0f0822 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_ushort.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..36e992bb --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_const_in.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +</dl> + + + +</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..9aef1f17 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_const_return.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>unicode</api:type> + </api:returns> + <api:name>regress_test_utf8_const_return</api:name> + </api:function> + + </info> + <title>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> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>UTF-8 string</p></dd> +</dl> + + + +</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..c7c32ccc --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_inout.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>inout :</p></dt> +<dd></dd> +</dl> + + + +</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..fd5de6a9 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_nonconst_return.page @@ -0,0 +1,40 @@ +<?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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>unicode</api:type> + </api:returns> + <api:name>regress_test_utf8_nonconst_return</api:name> + </api:function> + + </info> + <title>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> + + + + + + + +<dl> +<dt><p>Returns :</p></dt> +<dd><p>UTF-8 string</p></dd> +</dl> + + + +</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..c6aff047 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_null_in.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>in :</p></dt> +<dd></dd> +</dl> + + + +</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..65b277af --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_null_out.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>char_out :</p></dt> +<dd></dd> +</dl> + + + +</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..7f73b8d0 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_out.page @@ -0,0 +1,45 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>out :</p></dt> +<dd></dd> +</dl> + + + +</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..ed43d541 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_out_nonconst_return.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>out :</p></dt> +<dd><p>a copy of "second"</p></dd> +<dt><p>Returns :</p></dt> +<dd><p>a copy of "first"</p></dd> +</dl> + + + +</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..763053fa --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_utf8_out_out.page @@ -0,0 +1,51 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>out0 :</p></dt> +<dd><p>a copy of "first"</p></dd> +<dt><p>out1 :</p></dt> +<dd><p>a copy of "second"</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_value_get_fundamental_object.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_value_get_fundamental_object.page new file mode 100644 index 00000000..2f13d40f --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_value_get_fundamental_object.page @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<page id="Regress.test_value_get_fundamental_object" + 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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>Regress.TestFundamentalObject</api:type> + </api:returns> + <api:name>regress_test_value_get_fundamental_object</api:name> + <api:arg> + <api:type>GObject.Value</api:type> + <api:name>value</api:name> + </api:arg> + </api:function> + + </info> + <title>test_value_get_fundamental_object</title> + +<synopsis><code mime="text/x-python"> +@accepts(GObject.Value) +@returns(Regress.TestFundamentalObject) +def test_value_get_fundamental_object(value): + # Python wrapper for regress_test_value_get_fundamental_object() +</code></synopsis> + + + + + + + +<dl> +<dt><p>value :</p></dt> +<dd></dd> +<dt><p>Returns :</p></dt> +<dd></dd> +</dl> + + + +</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..54aaaa66 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_value_return.page @@ -0,0 +1,47 @@ +<?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 type="guide" xref="index" group="function"/> + <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>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> + + + + + + + +<dl> +<dt><p>i :</p></dt> +<dd><p>an int</p></dd> +<dt><p>Returns :</p></dt> +<dd><p>the int wrapped in a GValue.</p></dd> +</dl> + + + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_value_set_fundamental_object.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_value_set_fundamental_object.page new file mode 100644 index 00000000..e1efb486 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_value_set_fundamental_object.page @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<page id="Regress.test_value_set_fundamental_object" + 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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_test_value_set_fundamental_object</api:name> + <api:arg> + <api:type>GObject.Value</api:type> + <api:name>value</api:name> + </api:arg> + <api:arg> + <api:type>Regress.TestFundamentalObject</api:type> + <api:name>fundamental_object</api:name> + </api:arg> + </api:function> + + </info> + <title>test_value_set_fundamental_object</title> + +<synopsis><code mime="text/x-python"> +@accepts(GObject.Value, Regress.TestFundamentalObject) +@returns(none) +def test_value_set_fundamental_object(value, fundamental_object): + # Python wrapper for regress_test_value_set_fundamental_object() +</code></synopsis> + + + + + + + +<dl> +<dt><p>value :</p></dt> +<dd></dd> +<dt><p>fundamental_object :</p></dt> +<dd></dd> +</dl> + + + +</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..4a5cfd82 --- /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 type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>regress_test_versioning</api:name> + </api:function> + + </info> + <title>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> + + +<dl> +</dl> + + + +</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..1d89dedd --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/index.page @@ -0,0 +1,33 @@ +<?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> + + <link type="guide" xref="index"/> + + </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> |