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.TestObj-test.page | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-test.page (limited to 'tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-test.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 @@ + + + + + + test + + + Regress.TestObj::test + + +def callback(test_obj, user_param1, ...) + + + + + + + + +
+

test_obj :

+

instance of Regress.TestObj that is emitting the signal

+

user_param1 :

+

first user parameter (if any) specified with the connect() method

+

... :

+

additional user parameters (if any)

+
+ + + +
-- 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.TestObj-test.page | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-test.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 index 74a74548..2ec8ca2e 100644 --- a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-test.page +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-test.page @@ -23,14 +23,18 @@ def callback(test_obj, user_param1, ...) -
-

test_obj :

-

instance of Regress.TestObj that is emitting the signal

-

user_param1 :

-

first user parameter (if any) specified with the connect() method

-

... :

-

additional user parameters (if any)

-
+ + +<code>test_obj</code> +

instance of Regress.TestObj that is emitting the signal

+
+<code>user_param1</code> +

first user parameter (if any) specified with the connect() method

+ +<code>...</code> +

additional user parameters (if any)

+
+
-- cgit v1.2.1 From 29c381b0a1f077ddf3f8ce9fc2f7ab11b4f3628e Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Thu, 14 Feb 2013 23:14:02 -0500 Subject: doctool: Add an link for signal methods --- tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-test.page | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-test.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 index 2ec8ca2e..e7ea1607 100644 --- a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-test.page +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-test.page @@ -26,7 +26,7 @@ def callback(test_obj, user_param1, ...) <code>test_obj</code> -

instance of Regress.TestObj that is emitting the signal

+

instance of that is emitting the signal

<code>user_param1</code>

first user parameter (if any) specified with the connect() method

-- 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. --- tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-test.page | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-test.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 index e7ea1607..e09f531e 100644 --- a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-test.page +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-test.page @@ -7,7 +7,7 @@ xmlns:ui="http://projectmallard.org/1.0/ui/"> - + test -- cgit v1.2.1