harness: add functions for adding sub-harnesses directly
authorHavard Graff <havard.graff@gmail.com>
Mon, 20 Jul 2015 14:18:06 +0000 (16:18 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 20 Jul 2015 14:30:11 +0000 (15:30 +0100)
commitc97f82e32be3f118bf42107fdc6df50b5b262db1
tree66a450d7075a6ca1ac232b4a1739fc89221d57ac
parent5b5cebf5401e4e313c1e54b1145af3dc0ffe53ad
harness: add functions for adding sub-harnesses directly

By introducing gst_harness_add_src_harness and gst_harness_add_sink_harness
we collect all sub-harness setup in one function, making the previous
sub-harness creation functions now calls these directly, and making it
much easier (and less error-prone) to add your own src or sink-harness
using the more generic harness-creation functions.
docs/libs/gstreamer-libs-sections.txt
libs/gst/check/Makefile.am
libs/gst/check/gstharness.c
libs/gst/check/gstharness.h