![]() |
![]() |
![]() |
Cutter Reference Manual | ![]() |
---|---|---|---|---|
Assertions with GLib supportAssertions with GLib support — Checks that your program works as you expect with GLib support. |
#define cut_assert_equal_g_type (expected, actual, ...) #define cut_assert_equal_g_value (expected, actual, ...) #define cut_assert_equal_g_list_int (expected, actual, ...) #define cut_assert_equal_g_list_string (expected, actual, ...) #define cut_assert_g_error (g_error, ...) #define cut_assert_remove_path (path, ...)
#define cut_assert_equal_g_type(expected, actual, ...)
Passes if expected
== actual
.
|
an expected GType. |
|
an actual GType. |
|
optional format string, followed by parameters to insert
into the format string (as with printf() )
|
#define cut_assert_equal_g_value(expected, actual, ...)
Passes if expected
== actual
.
|
an expected GValue *. |
|
an actual GValue *. |
|
optional format string, followed by parameters to insert
into the format string (as with printf() )
|
#define cut_assert_equal_g_list_int(expected, actual, ...)
Passes if expected
== actual
.
|
an expected GList * of integer. |
|
an actual GList * of integer. |
|
optional format string, followed by parameters to insert
into the format string (as with printf() )
|
Since 0.8
#define cut_assert_equal_g_list_string(expected, actual, ...)
Passes if expected
== actual
.
|
an expected GList * of string. |
|
an actual GList * of string. |
|
optional format string, followed by parameters to insert
into the format string (as with printf() )
|
Since 0.8
#define cut_assert_g_error(g_error, ...)
Passes if error
== NULL.
|
|
|
optional format string, followed by parameters to insert
into the format string (as with printf() )
|
Since 1.0