## GstCheck GstCheck |

## Functions

#define | GST_START_TEST()
#define | ASSERT_BUFFER_REFCOUNT()
#define | ASSERT_CAPS_REFCOUNT()
#define | ASSERT_CRITICAL()
#define | ASSERT_WARNING()
#define | ASSERT_MINI_OBJECT_REFCOUNT()
#define | ASSERT_OBJECT_REFCOUNT()
#define | ASSERT_OBJECT_REFCOUNT_BETWEEN()
#define | ASSERT_SET_STATE()
#define | fail_unless_equals_int()
#define | fail_unless_equals_float()
#define | fail_unless_equals_string()
#define | fail_unless_equals_uint64()
#define | fail_unless_equals_int64()
#define | fail_unless_equals_int_hex()
#define | fail_unless_equals_int64_hex()
#define | fail_unless_equals_uint64_hex()
#define | fail_unless_equals_pointer()
#define | fail_unless_message_error()
#define | assert_equals_int()
#define | assert_equals_float()
#define | assert_equals_string()
#define | assert_equals_uint64()
#define | assert_equals_int64()
#define | assert_equals_int_hex()
#define | assert_equals_int64_hex()
#define | assert_equals_uint64_hex()
#define | assert_equals_pointer()
#define | assert_message_error()
void | gst_check_init ()
void | gst_check_message_error ()
GstElement * | gst_check_setup_element ()
GstPad * | gst_check_setup_sink_pad ()
GstPad * | gst_check_setup_src_pad ()
GstPad * | gst_check_setup_sink_pad_by_name ()
GstPad * | gst_check_setup_src_pad_by_name ()
void | gst_check_teardown_pad_by_name ()
void | gst_check_teardown_element ()
void | gst_check_teardown_sink_pad ()
void | gst_check_teardown_src_pad ()
void | gst_check_drop_buffers ()
void | gst_check_buffer_data ()
void | gst_check_caps_equal ()
void | gst_check_element_push_buffer_list ()
void | gst_check_element_push_buffer ()
gint | gst_check_run_suite ()
void | gst_check_setup_events ()
void | gst_check_setup_events_with_stream_id ()
GstPad * | gst_check_setup_sink_pad_by_name_from_template ()
GstPad * | gst_check_setup_sink_pad_from_template ()
GstPad * | gst_check_setup_src_pad_by_name_from_template ()
GstPad * | gst_check_setup_src_pad_from_template ()
void | gst_check_objects_destroyed_on_unref ()
void | gst_check_object_destroyed_on_unref ()

## Types and Values

#define | GST_END_TEST

## Includes

    #include <gst/check/gstcheck.h>

## Description

## Functions

### GST_START_TEST()

    #define             GST_START_TEST(__testname)

### ASSERT_BUFFER_REFCOUNT()

    #define             ASSERT_BUFFER_REFCOUNT(buffer, name, value)

### ASSERT_CAPS_REFCOUNT()

    #define             ASSERT_CAPS_REFCOUNT(caps, name, value)

### ASSERT_CRITICAL()

    #define             ASSERT_CRITICAL(code)

### ASSERT_WARNING()

    #define             ASSERT_WARNING(code)

### ASSERT_MINI_OBJECT_REFCOUNT()

    #define             ASSERT_MINI_OBJECT_REFCOUNT(miniobj, name, value)

### ASSERT_OBJECT_REFCOUNT()

    #define             ASSERT_OBJECT_REFCOUNT(object, name, value)

### ASSERT_OBJECT_REFCOUNT_BETWEEN()

    #define             ASSERT_OBJECT_REFCOUNT_BETWEEN(object, name, lower, upper)

### ASSERT_SET_STATE()

    #define             ASSERT_SET_STATE(element, state, ret)

### fail_unless_equals_int()

    #define             fail_unless_equals_int(a, b)

### fail_unless_equals_float()

    #define             fail_unless_equals_float(a, b)

### fail_unless_equals_string()

    #define             fail_unless_equals_string(a, b)

### fail_unless_equals_uint64()

    #define             fail_unless_equals_uint64(a, b)

### fail_unless_equals_int64()

    #define             fail_unless_equals_int64(a, b)

### fail_unless_equals_int_hex()

    #define             fail_unless_equals_int_hex(a, b)

### fail_unless_equals_int64_hex()

    #define             fail_unless_equals_int64_hex(a, b)

### fail_unless_equals_uint64_hex()

    #define             fail_unless_equals_uint64_hex(a, b)

### fail_unless_equals_pointer()

    #define             fail_unless_equals_pointer(a, b)

### fail_unless_message_error()

    #define             fail_unless_message_error(msg, domain, code)

### assert_equals_int()

    #define assert_equals_int(a, b) fail_unless_equals_int(a, b)

### assert_equals_float()

    #define assert_equals_float(a, b) fail_unless_equals_float(a, b)

### assert_equals_string()

    #define assert_equals_string(a, b) fail_unless_equals_string(a, b)

### assert_equals_uint64()

    #define assert_equals_uint64(a, b) fail_unless_equals_uint64(a, b)

### assert_equals_int64()

    #define assert_equals_int64(a, b) fail_unless_equals_int64(a, b)

### assert_equals_int_hex()

    #define assert_equals_int_hex(a, b) fail_unless_equals_int_hex(a, b)

### assert_equals_int64_hex()

    #define assert_equals_int64_hex(a,b) fail_unless_equals_int64_hex(a,b)

### assert_equals_uint64_hex()

    #define assert_equals_uint64_hex(a,b) fail_unless_equals_uint64_hex(a,b)

### assert_equals_pointer()

    #define assert_equals_pointer(a, b) fail_unless_equals_pointer(a, b)

### assert_message_error()

    #define assert_message_error(m, d, c) fail_unless_message_error(m, d, c)

### gst_check_init ()

    void
    gst_check_init (int *argc,
                    char **argv[]);

### gst_check_message_error ()

    void
    gst_check_message_error (GstMessage *message,
                             GstMessageType type,
                             GQuark domain,
                             gint code);

### gst_check_setup_element ()

    GstElement *
    gst_check_setup_element (const gchar *factory);

### gst_check_setup_sink_pad ()

    GstPad *
    gst_check_setup_sink_pad (GstElement *element,
                              GstStaticPadTemplate *tmpl);

### gst_check_setup_src_pad ()

    GstPad *
    gst_check_setup_src_pad (GstElement *element,
                             GstStaticPadTemplate *tmpl);

### gst_check_setup_sink_pad_by_name ()

    GstPad *
    gst_check_setup_sink_pad_by_name (GstElement *element,
                                      GstStaticPadTemplate *tmpl,
                                      const gchar *name);

### gst_check_setup_src_pad_by_name ()

    GstPad *
    gst_check_setup_src_pad_by_name (GstElement *element,
                                     GstStaticPadTemplate *tmpl,
                                     const gchar *name);

### gst_check_teardown_pad_by_name ()

    void
    gst_check_teardown_pad_by_name (GstElement *element,
                                    const gchar *name);

### gst_check_teardown_element ()

    void
    gst_check_teardown_element (GstElement *element);

### gst_check_teardown_sink_pad ()

    void
    gst_check_teardown_sink_pad (GstElement *element);

### gst_check_teardown_src_pad ()

    void
    gst_check_teardown_src_pad (GstElement *element);

### gst_check_drop_buffers ()

    void
    gst_check_drop_buffers (void);

### gst_check_buffer_data ()

    void
    gst_check_buffer_data (GstBuffer *buffer,
                           gconstpointer data,
                           gsize size);

### gst_check_caps_equal ()

    void
    gst_check_caps_equal (GstCaps *caps1,
                          GstCaps *caps2);

### gst_check_element_push_buffer_list ()

    void
    gst_check_element_push_buffer_list (const gchar *element_name,
                                        GList *buffer_in,
                                        GstCaps *caps_in,
                                        GList *buffer_out,
                                        GstCaps *caps_out,
                                        GstFlowReturn last_flow_return);

### gst_check_element_push_buffer ()

    void
    gst_check_element_push_buffer (const gchar *element_name,
                                   GstBuffer *buffer_in,
                                   GstCaps *caps_in,
                                   GstBuffer *buffer_out,
                                   GstCaps *caps_out);

### gst_check_run_suite ()

    gint
    gst_check_run_suite (Suite *suite,
                         const gchar *name,
                         const gchar *fname);

### gst_check_setup_events ()

    void
    gst_check_setup_events (GstPad *srcpad,
                            GstElement *element,
                            GstCaps *caps,
                            GstFormat format);

### gst_check_setup_events_with_stream_id ()

    void
    gst_check_setup_events_with_stream_id (GstPad *srcpad,
                                           GstElement *element,
                                           GstCaps *caps,
                                           GstFormat format,
                                           const gchar *stream_id);

### gst_check_setup_sink_pad_by_name_from_template ()

    GstPad *
    gst_check_setup_sink_pad_by_name_from_template
                                   (GstElement *element,
                                    GstPadTemplate *tmpl,
                                    const gchar *name);

### gst_check_setup_sink_pad_from_template ()

    GstPad *
    gst_check_setup_sink_pad_from_template
                                   (GstElement *element,
                                    GstPadTemplate *tmpl);

### gst_check_setup_src_pad_by_name_from_template ()

    GstPad *
    gst_check_setup_src_pad_by_name_from_template
                                   (GstElement *element,
                                    GstPadTemplate *tmpl,
                                    const gchar *name);

### gst_check_setup_src_pad_from_template ()

    GstPad *
    gst_check_setup_src_pad_from_template (GstElement *element,
                                           GstPadTemplate *tmpl);

### gst_check_objects_destroyed_on_unref ()

    void
    gst_check_objects_destroyed_on_unref (gpointer object_to_unref,
                                          gpointer first_object,
                                          ...);

### gst_check_object_destroyed_on_unref ()

    void
    gst_check_object_destroyed_on_unref (gpointer object_to_unref);

## Types and Values

### GST_END_TEST

    #define             GST_END_TEST