diff options
author | Thibault Saunier <tsaunier@igalia.com> | 2023-04-18 17:19:16 -0400 |
---|---|---|
committer | GStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2023-05-31 12:13:48 +0000 |
commit | b51727e9fad50771e3fda429b99355639e3baeed (patch) | |
tree | 92a7527f1ecdb4e0bf4f2806a03b8dbee5c9e09b /subprojects/gst-editing-services | |
parent | 7f925c118235475720adfea0b394be8785ae933e (diff) |
ges: tests: Use assert_equals_int where it makes sense
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4743>
Diffstat (limited to 'subprojects/gst-editing-services')
-rw-r--r-- | subprojects/gst-editing-services/tests/check/ges/effects.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/subprojects/gst-editing-services/tests/check/ges/effects.c b/subprojects/gst-editing-services/tests/check/ges/effects.c index b89c0780bf..81ef9d7450 100644 --- a/subprojects/gst-editing-services/tests/check/ges/effects.c +++ b/subprojects/gst-editing-services/tests/check/ges/effects.c @@ -509,11 +509,11 @@ GST_START_TEST (test_effect_set_properties) ges_timeline_element_get_child_properties (effect, "GstAgingTV::scratch-lines", &scratch_line, "color-aging", &color_aging, NULL); - fail_unless (scratch_line == 17); - fail_unless (color_aging == FALSE); + assert_equals_int (scratch_line, 17); + assert_equals_int (color_aging, FALSE); pspecs = ges_timeline_element_list_children_properties (effect, &n_props); - fail_unless (n_props == 7); + assert_equals_int (n_props, 7); spec = pspecs[0]; i = 1; @@ -527,7 +527,7 @@ GST_START_TEST (test_effect_set_properties) ges_timeline_element_set_child_property_by_pspec (effect, spec, &val); ges_timeline_element_get_child_property_by_pspec (effect, spec, &nval); - fail_unless (g_value_get_uint (&nval) == 10); + assert_equals_int (g_value_get_uint (&nval), 10); for (i = 0; i < n_props; i++) { g_param_spec_unref (pspecs[i]); |