hlsdemux: tests: pass test name into test setup function
authorAlex Ashley <alex.ashley@youview.com>
Mon, 18 Jan 2016 08:50:34 +0000 (08:50 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 25 Feb 2016 17:41:59 +0000 (17:41 +0000)
commit35e00becfe63f2d726e66f92145cbf6a2f3cae87
tree7711a0e40f02c8acafa2e30a3292bea8fe8670d0
parentdff4c6d4991c91c4c9c484056abbc4cc34b0a544
hlsdemux: tests: pass test name into test setup function

All hlsdemux tests create a GstStructure called "state" that can be used
by test cases to store information during a test. The name of this
structure is arbitrary. When the code was written, the intention was
to use the name of the test, to aid debugging. However, during
development this was lost, so that the state GstStructure is always
given the name "setup_test_variables".

This commit changes this so that the name of the test is used.

https://bugzilla.gnome.org/show_bug.cgi?id=762684
tests/check/elements/hls_demux.c