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.test_callback_destroy_notify.page | 59 ++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 tests/scanner/Regress-1.0-C-expected/Regress.test_callback_destroy_notify.page (limited to 'tests/scanner/Regress-1.0-C-expected/Regress.test_callback_destroy_notify.page') diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_callback_destroy_notify.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_callback_destroy_notify.page new file mode 100644 index 00000000..6a365139 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_callback_destroy_notify.page @@ -0,0 +1,59 @@ + + + + + + + + int + + regress_test_callback_destroy_notify + + RegressTestCallbackUserData + callback + + + gpointer + user_data + + + GDestroyNotify + notify + + + + + regress_test_callback_destroy_notify + + +int regress_test_callback_destroy_notify (RegressTestCallbackUserData callback, + gpointer user_data, + GDestroyNotify notify); + + + +

Notified - callback persists until a DestroyNotify delegate +is invoked.

+ + + + +
+

callback :

+
+

user_data :

+
+

notify :

+
+

Returns :

+
+
+ + + +
-- 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.test_callback_destroy_notify.page | 28 ++++++++++++++-------- 1 file changed, 18 insertions(+), 10 deletions(-) (limited to 'tests/scanner/Regress-1.0-C-expected/Regress.test_callback_destroy_notify.page') diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_callback_destroy_notify.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_callback_destroy_notify.page index 6a365139..31e48e9a 100644 --- a/tests/scanner/Regress-1.0-C-expected/Regress.test_callback_destroy_notify.page +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_callback_destroy_notify.page @@ -43,16 +43,24 @@ is invoked.

-
-

callback :

-
-

user_data :

-
-

notify :

-
-

Returns :

-
-
+ + +<code>callback</code> + + + +<code>user_data</code> + + + +<code>notify</code> + + + +<code>Returns</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-1.0-C-expected/Regress.test_callback_destroy_notify.page | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/scanner/Regress-1.0-C-expected/Regress.test_callback_destroy_notify.page') diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_callback_destroy_notify.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_callback_destroy_notify.page index 31e48e9a..f7a5e56c 100644 --- a/tests/scanner/Regress-1.0-C-expected/Regress.test_callback_destroy_notify.page +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_callback_destroy_notify.page @@ -7,7 +7,7 @@ xmlns:ui="http://projectmallard.org/1.0/ui/"> - + int -- cgit v1.2.1