[gobject-introspection] Regress-1.0-expected: Update for previous change
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] Regress-1.0-expected: Update for previous change
- Date: Mon, 15 Aug 2011 08:21:48 +0000 (UTC)
commit 33d4e19e3663f4c026a668d0b6d4266c3febb18c
Author: Colin Walters <walters verbum org>
Date: Mon Aug 15 04:22:01 2011 -0400
Regress-1.0-expected: Update for previous change
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 e44ab2e..80b0c68 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"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]