![]() |
![]() |
![]() |
Cutter Reference Manual | ![]() |
---|---|---|---|---|
Assertions with GLib supportAssertions with GLib support — Checks that your program works as you expect with GLib support. |
#define gcut_assert_equal_type (expected, actual, ...) #define cut_assert_equal_g_type (expected, actual, ...) #define gcut_assert_equal_value (expected, actual, ...) #define cut_assert_equal_g_value (expected, actual, ...) #define gcut_assert_equal_list_int (expected, actual, ...) #define cut_assert_equal_g_list_int (expected, actual, ...) #define gcut_assert_equal_list_uint (expected, actual, ...) #define gcut_assert_equal_list_string (expected, actual, ...) #define cut_assert_equal_g_list_string (expected, actual, ...) #define gcut_assert_equal_hash_table_string_string(expected, actual, ...) #define gcut_assert_error (error, ...) #define cut_assert_g_error (error, ...) #define gcut_assert_remove_path (path, ...) #define cut_assert_remove_path (path, ...) #define gcut_assert_equal_time_val (expected, actual, ...)
#define gcut_assert_equal_type(expected, actual, ...)
Passes if expected
== actual
.
|
|
|
|
|
Since 1.0.3
#define cut_assert_equal_g_type(expected, actual, ...)
cut_assert_equal_g_type
has been deprecated since version 1.0.3 and should not be used in newly-written code. Use gcut_assert_equal_type()
instead.
Passes if expected
== actual
.
|
|
|
|
|
#define gcut_assert_equal_value(expected, actual, ...)
Passes if expected
== actual
.
|
|
|
|
|
Since 1.0.3
#define cut_assert_equal_g_value(expected, actual, ...)
cut_assert_equal_g_value
has been deprecated since version 1.0.3 and should not be used in newly-written code. Use gcut_assert_equal_value()
instead.
Passes if expected
== actual
.
|
|
|
|
|
#define gcut_assert_equal_list_int(expected, actual, ...)
Passes if expected
== actual
.
|
|
|
|
|
Since 1.0.3
#define cut_assert_equal_g_list_int(expected, actual, ...)
cut_assert_equal_g_list_int
has been deprecated since version 1.0.3 and should not be used in newly-written code. Use gcut_assert_equal_list_int()
instead.
Passes if expected
== actual
.
|
|
|
|
|
Since 0.8
#define gcut_assert_equal_list_uint(expected, actual, ...)
Passes if expected
== actual
.
|
|
|
|
|
Since 1.0.3
#define gcut_assert_equal_list_string(expected, actual, ...)
Passes if expected
== actual
.
|
|
|
|
|
Since 1.0.3
#define cut_assert_equal_g_list_string(expected, actual, ...)
cut_assert_equal_g_list_string
has been deprecated since version 1.0.3 and should not be used in newly-written code. Use gcut_assert_equal_list_string()
instead.
Passes if expected
== actual
.
|
|
|
|
|
Since 0.8
#define gcut_assert_equal_hash_table_string_string(expected, actual, ...)
Passes if expected
== actual
.
|
|
|
|
|
Since 1.0.4
#define gcut_assert_error(error, ...)
Passes if error
== NULL.
|
|
|
Since 1.0.3
#define cut_assert_g_error(error, ...)
cut_assert_g_error
has been deprecated since version 1.0.3 and should not be used in newly-written code. Use gcut_assert_error()
instead.
Passes if error
== NULL.
|
|
|
Since 1.0
#define gcut_assert_remove_path(path, ...)
Passes if cut_utils_build_path(path
, ...) is removed successfully.
|
|
|
Since 1.0.3
#define cut_assert_remove_path(path, ...)
cut_assert_remove_path
has been deprecated since version 1.0.3 and should not be used in newly-written code. Use gcut_assert_remove_path()
instead.
Passes if cut_utils_build_path(path
, ...) is removed successfully.
|
|
|
Since 1.0.2