[gobject-introspection] tests: Update "expected" for hidden fundamental class
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] tests: Update "expected" for hidden fundamental class
- Date: Tue, 17 Jan 2017 10:16:59 +0000 (UTC)
commit 80186842445088c3767bd9c6ce6eb84c15fe27ce
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Tue Jan 17 10:47:47 2017 +0100
tests: Update "expected" for hidden fundamental class
https://bugzilla.gnome.org/show_bug.cgi?id=760056
.../Regress.TestObj-sig-with-array-len-prop.page | 2 +-
.../Regress.test_array_struct_out.page | 2 +-
...t_create_fundamental_hidden_class_instance.page | 30 ++++++++++++++++++
.../Regress.TestObj-sig-with-array-len-prop.page | 2 +-
.../Regress.test_array_struct_out.page | 2 +-
...t_create_fundamental_hidden_class_instance.page | 32 ++++++++++++++++++++
.../Regress.TestObj-sig-with-array-len-prop.page | 2 +-
.../Regress.test_array_struct_out.page | 2 +-
...t_create_fundamental_hidden_class_instance.page | 32 ++++++++++++++++++++
tests/scanner/Regress-1.0-expected.gir | 7 ++++
tests/scanner/Regress-1.0-sections-expected.txt | 1 +
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 ab7407d..c7436a2 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 84aee10..7f6967b 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 0000000..fd9f2b8
--- /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 588eab4..b93ea56 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 46c7c13..2204efb 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 0000000..db72f6f
--- /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 04c8eb2..53693b0 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 5ca1363..affd811 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 0000000..51fc94a
--- /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 2dca2f2..3a80bed 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 4c5100e..8aa818e 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]