![]() |
![]() |
![]() |
Cutter Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
Assertion Utilities for GErrorAssertion Utilities for GError — Utilities to write assertions related to GError more easily. |
gboolean gcut_error_equal (const GError *error1
,const GError *error2
); gchar * gcut_error_inspect (const GError *error
);
To write assertions, you need to check equality and show expected and actual values.
The utilities help you to write assertions that are related to GError.
gboolean gcut_error_equal (const GError *error1
,const GError *error2
);
Compares two GError, error1
and error2
.
|
a GError to be compared. |
|
a GError to be compared. |
Returns : |
TRUE if both of error1 and error2 have the same
domain, code and message, FALSE otherwise. |
Since 1.0.5