mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 12:41:05 +00:00
tests/elements/leaks.c: check get_tracer_by_name return value
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/557>
This commit is contained in:
parent
e2dc90273e
commit
3df82624ea
1 changed files with 6 additions and 0 deletions
|
@ -334,6 +334,8 @@ GST_START_TEST (test_activity_start_stop)
|
|||
GstMessage *m;
|
||||
GstTracer *tracer = get_tracer_by_name ("plain");
|
||||
|
||||
fail_unless (tracer);
|
||||
|
||||
g_signal_emit_by_name (tracer, "activity-start-tracking");
|
||||
|
||||
pipe = gst_pipeline_new ("pipeline");
|
||||
|
@ -372,6 +374,8 @@ GST_START_TEST (test_activity_log_checkpoint)
|
|||
GstMessage *m;
|
||||
GstTracer *tracer = get_tracer_by_name ("plain");
|
||||
|
||||
fail_unless (tracer);
|
||||
|
||||
g_signal_emit_by_name (tracer, "activity-start-tracking");
|
||||
|
||||
pipe = gst_pipeline_new ("pipeline");
|
||||
|
@ -413,6 +417,8 @@ GST_START_TEST (test_activity_get_checkpoint)
|
|||
GstMessage *m;
|
||||
GstTracer *tracer = get_tracer_by_name ("more");
|
||||
|
||||
fail_unless (tracer);
|
||||
|
||||
g_signal_emit_by_name (tracer, "activity-start-tracking");
|
||||
|
||||
pipe = gst_pipeline_new ("pipeline");
|
||||
|
|
Loading…
Reference in a new issue