mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-10 03:04:05 +02:00
Merge branch 'docs-examples' into 'master'
docs: Add example to g_test_summary() documentation See merge request GNOME/glib!992
This commit is contained in:
@@ -1941,6 +1941,18 @@ g_test_bug (const char *bug_uri_snippet)
|
|||||||
*
|
*
|
||||||
* This should be called at the top of a test function.
|
* This should be called at the top of a test function.
|
||||||
*
|
*
|
||||||
|
* For example:
|
||||||
|
* |[<!-- language="C" -->
|
||||||
|
* static void
|
||||||
|
* test_array_sort (void)
|
||||||
|
* {
|
||||||
|
* g_test_summary ("Test my_array_sort() sorts the array correctly and stably, "
|
||||||
|
* "including testing zero length and one-element arrays.");
|
||||||
|
*
|
||||||
|
* …
|
||||||
|
* }
|
||||||
|
* ]|
|
||||||
|
*
|
||||||
* Since: 2.62
|
* Since: 2.62
|
||||||
* See also: g_test_bug()
|
* See also: g_test_bug()
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user