mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-10-05 05:09:21 +02:00
Add functions to mark tests as skipped or incomplete
We also expand the GTestResult enumeration to include values for skipped and incomplete tests, and pass that on when logging a test result. https://bugzilla.gnome.org/show_bug.cgi?id=692125
This commit is contained in:
@@ -129,6 +129,10 @@ void g_test_add_data_func_full (const char *testpath,
|
||||
/* tell about failure */
|
||||
GLIB_AVAILABLE_IN_2_30
|
||||
void g_test_fail (void);
|
||||
GLIB_AVAILABLE_IN_2_38
|
||||
void g_test_incomplete (const gchar *msg);
|
||||
GLIB_AVAILABLE_IN_2_38
|
||||
void g_test_skip (const gchar *msg);
|
||||
|
||||
/* hook up a test with fixture under test path */
|
||||
#define g_test_add(testpath, Fixture, tdata, fsetup, ftest, fteardown) \
|
||||
|
Reference in New Issue
Block a user