diff options
author | Simon Feltman <sfeltman@src.gnome.org> | 2013-12-17 05:22:39 -0800 |
---|---|---|
committer | Simon Feltman <sfeltman@src.gnome.org> | 2014-01-02 14:34:42 -0800 |
commit | 4a64ab0b8e3e6cf0ebb4f34dd9276e964e1f303c (patch) | |
tree | 122cee10b008528340cb9043d3767008843df59b /tests/scanner/Typedefs-1.0-expected.gir | |
parent | 80b54bd0daf82e566570c6c952271e74fbb4542e (diff) | |
download | gobject-introspection-4a64ab0b8e3e6cf0ebb4f34dd9276e964e1f303c.tar.gz |
tests: Add tests for various struct typedef combinations
Add functional blackbox tests typedefs.[h|c] for various struct typedef
orderings. Use XFAIL_TESTS with the new Typedefs-1.0.gir target.
This allows for a differing expected gir that does not cause the suite
to fail but rather a goal to work towards.
https://bugzilla.gnome.org/show_bug.cgi?id=581525
Diffstat (limited to 'tests/scanner/Typedefs-1.0-expected.gir')
-rw-r--r-- | tests/scanner/Typedefs-1.0-expected.gir | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/tests/scanner/Typedefs-1.0-expected.gir b/tests/scanner/Typedefs-1.0-expected.gir new file mode 100644 index 00000000..9bfd0d08 --- /dev/null +++ b/tests/scanner/Typedefs-1.0-expected.gir @@ -0,0 +1,84 @@ +<?xml version="1.0"?> +<!-- This file was automatically generated from C sources - DO NOT EDIT! +To affect the contents of this file, edit the original C definitions, +and/or use gtk-doc annotations. --> +<repository version="1.2" + xmlns="http://www.gtk.org/introspection/core/1.0" + xmlns:c="http://www.gtk.org/introspection/c/1.0" + xmlns:glib="http://www.gtk.org/introspection/glib/1.0"> + <include name="GObject" version="2.0"/> + <package name="gobject-2.0"/> + <c:include name="typedefs.h"/> + <namespace name="Typedefs" + version="1.0" + shared-library="libtypedefs.so" + c:identifier-prefixes="Typedefs" + c:symbol-prefixes="typedefs"> + <record name="BoxedWithAnonymousTypedef" + c:type="TypedefsBoxedWithAnonymousTypedef" + glib:type-name="TypedefsBoxedWithAnonymousTypedef" + glib:get-type="typedefs_boxed_with_anonymous_typedef_get_type" + c:symbol-prefix="boxed_with_anonymous_typedef"> + <field name="value" writable="1"> + <type name="gint" c:type="int"/> + </field> + </record> + <record name="BoxedWithHiddenStruct" + c:type="TypedefsBoxedWithHiddenStruct" + glib:type-name="TypedefsBoxedWithHiddenStruct" + glib:get-type="typedefs_boxed_with_hidden_struct_get_type" + c:symbol-prefix="boxed_with_hidden_struct"> + </record> + <record name="BoxedWithTagAndTypedef" + c:type="TypedefsBoxedWithTagAndTypedef" + glib:type-name="TypedefsBoxedWithTagAndTypedef" + glib:get-type="typedefs_boxed_with_tag_and_typedef_get_type" + c:symbol-prefix="boxed_with_tag_and_typedef"> + <field name="value" writable="1"> + <type name="gint" c:type="int"/> + </field> + </record> + <record name="BoxedWithTypedefAfter" + c:type="TypedefsBoxedWithTypedefAfter" + glib:type-name="TypedefsBoxedWithTypedefAfter" + glib:get-type="typedefs_boxed_with_typedef_after_get_type" + c:symbol-prefix="boxed_with_typedef_after"> + <field name="value" writable="1"> + <type name="gint" c:type="int"/> + </field> + </record> + <record name="BoxedWithTypedefBefore" + c:type="TypedefsBoxedWithTypedefBefore" + glib:type-name="TypedefsBoxedWithTypedefBefore" + glib:get-type="typedefs_boxed_with_typedef_before_get_type" + c:symbol-prefix="boxed_with_typedef_before"> + <field name="value" writable="1"> + <type name="gint" c:type="int"/> + </field> + </record> + <record name="StructWithAnonymousTypedef" + c:type="TypedefsStructWithAnonymousTypedef"> + <field name="value" writable="1"> + <type name="gint" c:type="int"/> + </field> + </record> + <record name="StructWithTagAndTypedef" + c:type="TypedefsStructWithTagAndTypedef"> + <field name="value" writable="1"> + <type name="gint" c:type="int"/> + </field> + </record> + <record name="StructWithTypedefAfter" + c:type="TypedefsStructWithTypedefAfter"> + <field name="value" writable="1"> + <type name="gint" c:type="int"/> + </field> + </record> + <record name="StructWithTypedefBefore" + c:type="TypedefsStructWithTypedefBefore"> + <field name="value" writable="1"> + <type name="gint" c:type="int"/> + </field> + </record> + </namespace> +</repository> |