summaryrefslogtreecommitdiff
path: root/gir/glib-2.0.c
diff options
context:
space:
mode:
Diffstat (limited to 'gir/glib-2.0.c')
-rw-r--r--gir/glib-2.0.c42
1 files changed, 42 insertions, 0 deletions
diff --git a/gir/glib-2.0.c b/gir/glib-2.0.c
index 2880a21a..2d2810ea 100644
--- a/gir/glib-2.0.c
+++ b/gir/glib-2.0.c
@@ -33513,11 +33513,29 @@
*
* If not called from inside a test, this function does nothing.
*
+ * Note that unlike g_test_skip() and g_test_incomplete(), this
+ * function does not log a message alongside the test failure.
+ * If details of the test failure are available, either log them with
+ * g_test_message() before g_test_fail(), or use g_test_fail_printf()
+ * instead.
+ *
* Since: 2.30
*/
/**
+ * g_test_fail_printf:
+ * @format: the format string
+ * @...: printf-like arguments to @format
+ *
+ * Equivalent to g_test_fail(), but also record a message like
+ * g_test_skip_printf().
+ *
+ * Since: 2.70
+ */
+
+
+/**
* g_test_failed:
*
* Returns whether a test has already failed. This will
@@ -33620,6 +33638,18 @@
/**
+ * g_test_incomplete_printf:
+ * @format: the format string
+ * @...: printf-like arguments to @format
+ *
+ * Equivalent to g_test_incomplete(), but the explanation is formatted
+ * as if by g_strdup_printf().
+ *
+ * Since: 2.70
+ */
+
+
+/**
* g_test_init:
* @argc: Address of the @argc parameter of the main() function.
* Changed if any arguments were handled.
@@ -34039,6 +34069,18 @@
/**
+ * g_test_skip_printf:
+ * @format: the format string
+ * @...: printf-like arguments to @format
+ *
+ * Equivalent to g_test_skip(), but the explanation is formatted
+ * as if by g_strdup_printf().
+ *
+ * Since: 2.70
+ */
+
+
+/**
* g_test_slow:
*
* Returns %TRUE if tests are run in slow mode.