mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-24 16:16:52 +02:00
Additions
svn path=/trunk/; revision=7042
This commit is contained in:
parent
b0c9ea5ca3
commit
666185a4fd
@ -1,6 +1,8 @@
|
|||||||
2008-06-14 Matthias Clasen <mclasen@redhat.com>
|
2008-06-14 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* glib/tmpl/testing.sgml: Move docs around
|
* glib/tmpl/macros_misc.sgml: Document G_GNUC_MAY_ALIAS
|
||||||
|
|
||||||
|
* glib/tmpl/testing.sgml: Move docs around, and add more
|
||||||
|
|
||||||
* glib/tmpl/unicode.sgml: Document break types
|
* glib/tmpl/unicode.sgml: Document break types
|
||||||
|
|
||||||
|
@ -362,9 +362,14 @@ Since: 2.6
|
|||||||
|
|
||||||
<!-- ##### MACRO G_GNUC_MAY_ALIAS ##### -->
|
<!-- ##### MACRO G_GNUC_MAY_ALIAS ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Expands to the GNU C <literal>may_alias</literal> type attribute
|
||||||
|
if the compiler is <command>gcc</command>. Types with this attribute
|
||||||
|
will not be subjected to type-based alias analysis, but are assumed
|
||||||
|
to alias with any other type, just like char.
|
||||||
|
See the GNU C documentation for details.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
Since: 2.14
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION G_LIKELY ##### -->
|
<!-- ##### FUNCTION G_LIKELY ##### -->
|
||||||
|
@ -245,10 +245,13 @@ Returns %TRUE if tests are run in quite mode.
|
|||||||
|
|
||||||
<!-- ##### MACRO g_test_queue_unref ##### -->
|
<!-- ##### MACRO g_test_queue_unref ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Enqueue an object to be released with g_object_unref() during
|
||||||
|
the next teardown phase. This is equivalent to calling g_test_queue_destroy()
|
||||||
|
with a destroy callback of g_object_unref().
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@gobject:
|
@gobject: the object to unref
|
||||||
|
@Since: 2.16
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### ENUM GTestTrapFlags ##### -->
|
<!-- ##### ENUM GTestTrapFlags ##### -->
|
||||||
@ -300,55 +303,67 @@ determine what traps to set.
|
|||||||
|
|
||||||
<!-- ##### MACRO g_test_trap_assert_passed ##### -->
|
<!-- ##### MACRO g_test_trap_assert_passed ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Assert that the last forked test passed. See g_test_trap_fork().
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
@Since: 2.16
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO g_test_trap_assert_failed ##### -->
|
<!-- ##### MACRO g_test_trap_assert_failed ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Assert that the last forked test failed. See g_test_trap_fork().
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
@Since: 2.16
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO g_test_trap_assert_stdout ##### -->
|
<!-- ##### MACRO g_test_trap_assert_stdout ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Assert that the stdout output of the last forked test matches @soutpattern.
|
||||||
|
See g_test_trap_fork().
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@soutpattern:
|
@soutpattern: a glob-style <link linkend="glib-Glob-style-pattern-matching">pattern</link>
|
||||||
|
@Since: 2.16
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO g_test_trap_assert_stdout_unmatched ##### -->
|
<!-- ##### MACRO g_test_trap_assert_stdout_unmatched ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Assert that the stdout output of the last forked test does not match
|
||||||
|
@soutpattern. See g_test_trap_fork().
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@soutpattern:
|
@soutpattern: a glob-style <link linkend="glib-Glob-style-pattern-matching">pattern</link>
|
||||||
|
@Since: 2.16
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO g_test_trap_assert_stderr ##### -->
|
<!-- ##### MACRO g_test_trap_assert_stderr ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Assert that the stderr output of the last forked test matches @serrpattern.
|
||||||
|
See g_test_trap_fork().
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@serrpattern:
|
@serrpattern: a glob-style <link linkend="glib-Glob-style-pattern-matching">pattern</link>
|
||||||
|
@Since: 2.16
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO g_test_trap_assert_stderr_unmatched ##### -->
|
<!-- ##### MACRO g_test_trap_assert_stderr_unmatched ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Assert that the stderr output of the last forked test does not match
|
||||||
|
@serrpattern. See g_test_trap_fork().
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@serrpattern:
|
@serrpattern: a glob-style <link linkend="glib-Glob-style-pattern-matching">pattern</link>
|
||||||
|
@Since: 2.16
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO g_test_rand_bit ##### -->
|
<!-- ##### MACRO g_test_rand_bit ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Get a reproducible random bit (0 or 1),
|
||||||
|
see g_test_rand_int() for details on test case random numbers.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
@Since: 2.16
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_test_rand_int ##### -->
|
<!-- ##### FUNCTION g_test_rand_int ##### -->
|
||||||
@ -432,7 +447,7 @@ and @s2.
|
|||||||
@s1: a string (may be %NULL)
|
@s1: a string (may be %NULL)
|
||||||
@cmp: The comparsion operator to use. One of ==, !=, <, >, <=, >=.
|
@cmp: The comparsion operator to use. One of ==, !=, <, >, <=, >=.
|
||||||
@s2: another string (may be %NULL)
|
@s2: another string (may be %NULL)
|
||||||
Since: 2.16
|
@Since: 2.16
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO g_assert_cmpint ##### -->
|
<!-- ##### MACRO g_assert_cmpint ##### -->
|
||||||
@ -450,7 +465,7 @@ and @n2.
|
|||||||
@n1: an integer
|
@n1: an integer
|
||||||
@cmp: The comparsion operator to use. One of ==, !=, <, >, <=, >=.
|
@cmp: The comparsion operator to use. One of ==, !=, <, >, <=, >=.
|
||||||
@n2: another integer
|
@n2: another integer
|
||||||
Since: 2.16
|
@Since: 2.16
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO g_assert_cmpuint ##### -->
|
<!-- ##### MACRO g_assert_cmpuint ##### -->
|
||||||
@ -468,7 +483,7 @@ and @n2.
|
|||||||
@n1: an unsigned integer
|
@n1: an unsigned integer
|
||||||
@cmp: The comparsion operator to use. One of ==, !=, <, >, <=, >=.
|
@cmp: The comparsion operator to use. One of ==, !=, <, >, <=, >=.
|
||||||
@n2: another unsigned integer
|
@n2: another unsigned integer
|
||||||
Since: 2.16
|
@Since: 2.16
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO g_assert_cmphex ##### -->
|
<!-- ##### MACRO g_assert_cmphex ##### -->
|
||||||
@ -482,7 +497,7 @@ in the message.
|
|||||||
@n1: an unsigned integer
|
@n1: an unsigned integer
|
||||||
@cmp: The comparsion operator to use. One of ==, !=, <, >, <=, >=.
|
@cmp: The comparsion operator to use. One of ==, !=, <, >, <=, >=.
|
||||||
@n2: another unsigned integer
|
@n2: another unsigned integer
|
||||||
Since: 2.16
|
@Since: 2.16
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO g_assert_cmpfloat ##### -->
|
<!-- ##### MACRO g_assert_cmpfloat ##### -->
|
||||||
@ -500,7 +515,7 @@ and @n2.
|
|||||||
@n1: an floating point number
|
@n1: an floating point number
|
||||||
@cmp: The comparsion operator to use. One of ==, !=, <, >, <=, >=.
|
@cmp: The comparsion operator to use. One of ==, !=, <, >, <=, >=.
|
||||||
@n2: another floating point number
|
@n2: another floating point number
|
||||||
Since: 2.16
|
@Since: 2.16
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_strcmp0 ##### -->
|
<!-- ##### FUNCTION g_strcmp0 ##### -->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user