summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-09-29 14:00:31 -0400
committerColin Walters <walters@verbum.org>2010-09-29 14:02:35 -0400
commit9e21e287deb34be3a3e2a6d3d1f96e9e71a00c18 (patch)
tree124681f1f5ecbad559bde1beadbaab32aeeb19a9
parent022bfc5a66038e43e87c2c22e033f236858dddeb (diff)
downloadgobject-introspection-9e21e287deb34be3a3e2a6d3d1f96e9e71a00c18.tar.gz
Fix tests
-rw-r--r--tests/scanner/Annotation-1.0-expected.gir8
-rw-r--r--tests/scanner/annotation.c4
2 files changed, 10 insertions, 2 deletions
diff --git a/tests/scanner/Annotation-1.0-expected.gir b/tests/scanner/Annotation-1.0-expected.gir
index f922d582..050d888b 100644
--- a/tests/scanner/Annotation-1.0-expected.gir
+++ b/tests/scanner/Annotation-1.0-expected.gir
@@ -778,6 +778,14 @@ detection, and fixing it via annotations.</doc>
</parameter>
</parameters>
</function>
+ <function name="test_parsing_bug630862"
+ c:identifier="annotation_test_parsing_bug630862">
+ <doc xml:whitespace="preserve">See https://bugzilla.gnome.org/show_bug.cgi?id=630862</doc>
+ <return-value transfer-ownership="none">
+ <doc xml:whitespace="preserve">An object, note the colon:in here</doc>
+ <type name="GObject.Object" c:type="GObject*"/>
+ </return-value>
+ </function>
<function name="versioned"
c:identifier="annotation_versioned"
version="0.6">
diff --git a/tests/scanner/annotation.c b/tests/scanner/annotation.c
index 9fa422ce..280a9e58 100644
--- a/tests/scanner/annotation.c
+++ b/tests/scanner/annotation.c
@@ -89,7 +89,7 @@ annotation_object_class_init (AnnotationObjectClass *klass)
/**
* AnnotationObject::list-signal:
* @annotation: the annotation object
- * @list: (type GLib.List) (element-type utf8): (transfer container): a list of strings
+ * @list: (type GLib.List) (element-type utf8) (transfer container): a list of strings
*
* 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
@@ -210,7 +210,7 @@ annotation_object_out (AnnotationObject *object, int *outarg)
*
* This is a test for in arguments
*
- * @inarg: (in): (transfer none): This is an argument test
+ * @inarg: (in) (transfer none): This is an argument test
* Return value: an int
*/
gint