From 86f7acf0f139a917e460db26872b5a4306fca8d2 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Sun, 3 Feb 2013 06:58:53 -0500 Subject: tests: Use Regress GIR for doctool This makes us test a lot more functionality in the doc tool, and removes the need to have a lot of different test libraries, and different test infrastructure. --- .../Regress.annotation_custom_destroy.page | 58 ++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 tests/scanner/Regress-1.0-Python-expected/Regress.annotation_custom_destroy.page (limited to 'tests/scanner/Regress-1.0-Python-expected/Regress.annotation_custom_destroy.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 @@ + + + + + + + + none + + regress_annotation_custom_destroy + + Regress.AnnotationCallback + callback + + + Regress.AnnotationNotifyFunc + destroy + + + gpointer + data + + + + + annotation_custom_destroy + + +@accepts(Regress.AnnotationCallback, Regress.AnnotationNotifyFunc, gpointer) +@returns(none) +def annotation_custom_destroy(callback, destroy, data): + # Python wrapper for regress_annotation_custom_destroy() + + + +

Test messing up the heuristic of closure/destroy-notification +detection, and fixing it via regress_annotations.

+ + + + +
+

callback :

+

Destroy notification

+

destroy :

+
+

data :

+
+
+ + + +
-- cgit v1.2.1 From 3b64a2e808ae25b437c30bec237ada89dc4bcfb3 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Thu, 14 Feb 2013 22:47:10 -0500 Subject: doctool: Fix use of
tag in templates This isn't legal Mallard --- .../Regress.annotation_custom_destroy.page | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) (limited to 'tests/scanner/Regress-1.0-Python-expected/Regress.annotation_custom_destroy.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 index 439bd57f..d98c2b82 100644 --- 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 @@ -44,14 +44,20 @@ detection, and fixing it via regress_annotations.

-
-

callback :

-

Destroy notification

-

destroy :

-
-

data :

-
-
+ + +<code>callback</code> +

Destroy notification

+
+ +<code>destroy</code> + + + +<code>data</code> + + +
-- cgit v1.2.1 From d05e20a61d3e381e46fcb306f806566bbbd76312 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Fri, 15 Feb 2013 06:04:11 -0500 Subject: doctool: Use format_xref to format some links to pages We don't do a full 100% conversion for all link tags, yet, because I don't want to break too much here. This may come later. --- .../Regress.annotation_custom_destroy.page | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/scanner/Regress-1.0-Python-expected/Regress.annotation_custom_destroy.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 index d98c2b82..fb428b2c 100644 --- 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 @@ -7,7 +7,7 @@ xmlns:ui="http://projectmallard.org/1.0/ui/"> - + none @@ -28,7 +28,7 @@ - annotation_custom_destroy + Regress.annotation_custom_destroy @accepts(Regress.AnnotationCallback, Regress.AnnotationNotifyFunc, gpointer) -- cgit v1.2.1 From 3dba3c40da7bc026bfa83109dc46ceb67471dd9d Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Fri, 15 Feb 2013 08:23:10 -0500 Subject: docwriter: Use the fully-qualified name for functions and methods --- .../Regress-1.0-Python-expected/Regress.annotation_custom_destroy.page | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/scanner/Regress-1.0-Python-expected/Regress.annotation_custom_destroy.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 index fb428b2c..7afb97ce 100644 --- 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 @@ -28,7 +28,7 @@ - Regress.annotation_custom_destroy + Index.annotation_custom_destroy @accepts(Regress.AnnotationCallback, Regress.AnnotationNotifyFunc, gpointer) -- cgit v1.2.1 From 9625f52b5205f5c6f35b8300d60782a6ad6cb237 Mon Sep 17 00:00:00 2001 From: Dieter Verfaillie Date: Wed, 20 Mar 2013 16:54:53 +0100 Subject: tests: fix a too wide search/replace Changed by accident in 2df621c53cdffbc3c43c3745947ee859020c8338 https://bugzilla.gnome.org/show_bug.cgi?id=697613 --- .../Regress-1.0-Python-expected/Regress.annotation_custom_destroy.page | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/scanner/Regress-1.0-Python-expected/Regress.annotation_custom_destroy.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 index 7afb97ce..860107f1 100644 --- 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 @@ -39,7 +39,7 @@ def annotation_custom_destroy(callback, destroy, data):

Test messing up the heuristic of closure/destroy-notification -detection, and fixing it via regress_annotations.

+detection, and fixing it via annotations.

-- cgit v1.2.1