diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2017-01-17 10:47:47 +0100 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2017-01-17 11:12:20 +0100 |
commit | 80186842445088c3767bd9c6ce6eb84c15fe27ce (patch) | |
tree | 81853e9c650d5ac51c2bc00be894e6216f9f572a | |
parent | ceddab4d6f0f65d773f361863ca3022b67b192bd (diff) | |
download | gobject-introspection-80186842445088c3767bd9c6ce6eb84c15fe27ce.tar.gz |
tests: Update "expected" for hidden fundamental class
https://bugzilla.gnome.org/show_bug.cgi?id=760056
11 files changed, 108 insertions, 6 deletions
diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-sig-with-array-len-prop.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-sig-with-array-len-prop.page index ab7407d5..c7436a2c 100644 --- a/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-sig-with-array-len-prop.page +++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj-sig-with-array-len-prop.page @@ -14,7 +14,7 @@ void sig-with-array-len-prop (guint* arr, gint len); </code></synopsis> -<p>This test signal similar to GSettings::change-event. + <p>This test signal similar to GSettings::change-event. You can use this with <link xref="Regress.TestObj.emit_sig_with_array_len_prop"/>, or raise from the introspection client language.</p> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_array_struct_out.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_array_struct_out.page index 84aee10f..7f6967b6 100644 --- a/tests/scanner/Regress-1.0-C-expected/Regress.test_array_struct_out.page +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_array_struct_out.page @@ -27,7 +27,7 @@ void regress_test_array_struct_out (RegressTestStructA** arr, int* len); </code></synopsis> -<p>This is similar to gdk_keymap_get_entries_for_keyval().</p> + <p>This is similar to gdk_keymap_get_entries_for_keyval().</p> <terms> <item> diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.test_create_fundamental_hidden_class_instance.page b/tests/scanner/Regress-1.0-C-expected/Regress.test_create_fundamental_hidden_class_instance.page new file mode 100644 index 00000000..fd9f2b81 --- /dev/null +++ b/tests/scanner/Regress-1.0-C-expected/Regress.test_create_fundamental_hidden_class_instance.page @@ -0,0 +1,30 @@ +<?xml version="1.0"?> +<page id="Regress.test_create_fundamental_hidden_class_instance" + 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 xref="index" group="function" type="guide"/> + <api:function> + <api:returns> + <api:type>RegressTestFundamentalObject*</api:type> + </api:returns> + <api:name>regress_test_create_fundamental_hidden_class_instance</api:name> + </api:function> + </info> + <title>regress_test_create_fundamental_hidden_class_instance</title> + <synopsis><code mime="text/x-csrc"> +RegressTestFundamentalObject* regress_test_create_fundamental_hidden_class_instance (void); + </code></synopsis> + + +<terms> +<item> +<title><code>Returns</code></title> + +</item> +</terms> + +</page> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-array-len-prop.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-array-len-prop.page index 588eab4a..b93ea560 100644 --- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-array-len-prop.page +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj-sig-with-array-len-prop.page @@ -13,7 +13,7 @@ <synopsis><code mime="text/x-gjs"> connect('sig-with-array-len-prop', function (testObj, arr: Array(Number(guint)), ): void); </code></synopsis> -<p>This test signal similar to GSettings::change-event. + <p>This test signal similar to GSettings::change-event. You can use this with <link xref="Regress.TestObj.emit_sig_with_array_len_prop"/>, or raise from the introspection client language.</p> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_struct_out.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_struct_out.page index 46c7c13c..2204efb9 100644 --- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_struct_out.page +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_array_struct_out.page @@ -20,7 +20,7 @@ function test_array_struct_out(): Array(<link xref="Regress.TestStructA">Regress // Gjs wrapper for regress_test_array_struct_out() } </code></synopsis> -<p>This is similar to gdk_keymap_get_entries_for_keyval().</p> + <p>This is similar to gdk_keymap_get_entries_for_keyval().</p> <terms> <item> diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_create_fundamental_hidden_class_instance.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_create_fundamental_hidden_class_instance.page new file mode 100644 index 00000000..db72f6f0 --- /dev/null +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.test_create_fundamental_hidden_class_instance.page @@ -0,0 +1,32 @@ +<?xml version="1.0"?> +<page id="Regress.test_create_fundamental_hidden_class_instance" + 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 xref="index" group="function" type="guide"/> + <api:function> + <api:returns> + <api:type>Regress.TestFundamentalObject</api:type> + </api:returns> + <api:name>regress_test_create_fundamental_hidden_class_instance</api:name> + </api:function> + </info> + <title>Regress.test_create_fundamental_hidden_class_instance</title> + <synopsis><code mime="text/x-gjs"> +function test_create_fundamental_hidden_class_instance(): <link xref="Regress.TestFundamentalObject">Regress.TestFundamentalObject</link> { + // Gjs wrapper for regress_test_create_fundamental_hidden_class_instance() +} + </code></synopsis> + + +<terms> +<item> +<title><code>Returns</code></title> + +</item> +</terms> + +</page> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-array-len-prop.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-array-len-prop.page index 04c8eb25..53693b0a 100644 --- a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-array-len-prop.page +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj-sig-with-array-len-prop.page @@ -13,7 +13,7 @@ <synopsis><code mime="text/x-python"> def callback(test_obj, arr, len, user_param1, ...) </code></synopsis> -<p>This test signal similar to GSettings::change-event. + <p>This test signal similar to GSettings::change-event. You can use this with <link xref="Regress.TestObj.emit_sig_with_array_len_prop"/>, or raise from the introspection client language.</p> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_struct_out.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_struct_out.page index 5ca13632..affd811a 100644 --- a/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_struct_out.page +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_array_struct_out.page @@ -29,7 +29,7 @@ def test_array_struct_out(arr, len): # Python wrapper for regress_test_array_struct_out() </code></synopsis> -<p>This is similar to gdk_keymap_get_entries_for_keyval().</p> + <p>This is similar to gdk_keymap_get_entries_for_keyval().</p> <terms> <item> diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.test_create_fundamental_hidden_class_instance.page b/tests/scanner/Regress-1.0-Python-expected/Regress.test_create_fundamental_hidden_class_instance.page new file mode 100644 index 00000000..51fc94a2 --- /dev/null +++ b/tests/scanner/Regress-1.0-Python-expected/Regress.test_create_fundamental_hidden_class_instance.page @@ -0,0 +1,32 @@ +<?xml version="1.0"?> +<page id="Regress.test_create_fundamental_hidden_class_instance" + 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 xref="index" group="function" type="guide"/> + <api:function> + <api:returns> + <api:type>Regress.TestFundamentalObject</api:type> + </api:returns> + <api:name>regress_test_create_fundamental_hidden_class_instance</api:name> + </api:function> + </info> + <title>Regress.test_create_fundamental_hidden_class_instance</title> + <synopsis><code mime="text/x-python"> +@returns(Regress.TestFundamentalObject) +def test_create_fundamental_hidden_class_instance(): + # Python wrapper for regress_test_create_fundamental_hidden_class_instance() + </code></synopsis> + + +<terms> +<item> +<title><code>Returns</code></title> +{formatter.format(node, node.retval.doc)} +</item> +</terms> + +</page> diff --git a/tests/scanner/Regress-1.0-expected.gir b/tests/scanner/Regress-1.0-expected.gir index 2dca2f2c..3a80bedc 100644 --- a/tests/scanner/Regress-1.0-expected.gir +++ b/tests/scanner/Regress-1.0-expected.gir @@ -5641,6 +5641,13 @@ call and can be released on return.</doc> </parameter> </parameters> </function> + <function name="test_create_fundamental_hidden_class_instance" + c:identifier="regress_test_create_fundamental_hidden_class_instance"> + <return-value transfer-ownership="full"> + <type name="TestFundamentalObject" + c:type="RegressTestFundamentalObject*"/> + </return-value> + </function> <function name="test_date_in_gvalue" c:identifier="regress_test_date_in_gvalue"> <return-value transfer-ownership="full"> diff --git a/tests/scanner/Regress-1.0-sections-expected.txt b/tests/scanner/Regress-1.0-sections-expected.txt index 4c5100e4..8aa818e7 100644 --- a/tests/scanner/Regress-1.0-sections-expected.txt +++ b/tests/scanner/Regress-1.0-sections-expected.txt @@ -97,6 +97,7 @@ regress_test_callback_user_data regress_test_closure regress_test_closure_one_arg regress_test_closure_variant +regress_test_create_fundamental_hidden_class_instance regress_test_date_in_gvalue regress_test_def_error_quark regress_test_double |