diff options
author | Colin Walters <walters@verbum.org> | 2011-08-15 04:22:01 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2011-08-15 04:22:01 -0400 |
commit | 33d4e19e3663f4c026a668d0b6d4266c3febb18c (patch) | |
tree | 2b62b848acc4bb1edd9bf91f27097b2d22492db0 | |
parent | ff290d2982c6f7a3ee31a8275e9d78bf49ad9dbe (diff) | |
download | gobject-introspection-33d4e19e3663f4c026a668d0b6d4266c3febb18c.tar.gz |
Regress-1.0-expected: Update for previous change
-rw-r--r-- | tests/scanner/Regress-1.0-expected.gir | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/tests/scanner/Regress-1.0-expected.gir b/tests/scanner/Regress-1.0-expected.gir index e44ab2e6..80b0c68e 100644 --- a/tests/scanner/Regress-1.0-expected.gir +++ b/tests/scanner/Regress-1.0-expected.gir @@ -2403,6 +2403,46 @@ You will give me your credit card number.</doc> <type name="none" c:type="void"/> </return-value> </function> + <function name="test_nested_parameter" + c:identifier="regress_test_nested_parameter"> + <doc xml:whitespace="preserve"><informaltable> +<tgroup cols="3"> +<thead> +<row> +<entry>Syntax</entry> +<entry>Explanation</entry> +<entry>Examples</entry> +</row> +</thead> +<tbody> +<row> +<entry>rgb(@r, @g, @b)</entry> +<entry>An opaque color; @r, @g, @b can be either integers between +0 and 255 or percentages</entry> +<entry><literallayout>rgb(128, 10, 54) +rgb(20%, 30%, 0%)</literallayout></entry> +</row> +<row> +<entry>rgba(@r, @g, @b, @a)</entry> +<entry>A translucent color; @r, @g, @b are as in the previous row, +@a is a floating point number between 0 and 1</entry> +<entry><literallayout>rgba(255, 255, 0, 0.5)</literallayout></entry> +</row> +</tbody> +</tgroup> +</informaltable> + +What we're testing here is that the scanner ignores the @a nested inside XML.</doc> + <return-value transfer-ownership="none"> + <type name="none" c:type="void"/> + </return-value> + <parameters> + <parameter name="a" transfer-ownership="none"> + <doc xml:whitespace="preserve">An integer</doc> + <type name="gint" c:type="int"/> + </parameter> + </parameters> + </function> <function name="test_short" c:identifier="regress_test_short"> <return-value transfer-ownership="none"> <type name="gshort" c:type="gshort"/> |