[Bug 752175] New: tests: remove usage of g_assert()

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jul 9 07:32:45 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=752175

            Bug ID: 752175
           Summary: tests: remove usage of g_assert()
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: luis at debethencourt.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 307147
  --> https://bugzilla.gnome.org/attachment.cgi?id=307147&action=edit
proposed patch for gst-plugins-bad

In relation to the discussion in
https://bugzilla.gnome.org/show_bug.cgi?id=752123

Avoid usage of g_assert() in unit tests and use fail_unless() instead.

Would it be a good idea to create a new fail_if_reached() to replace the uses
of g_assert_not_reached() in unit tests?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list