GNOME Bugzilla – Bug 762684
hlsdemux: tests: pass test name into test setup function
Last modified: 2016-02-25 17:45:16 UTC
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 test development this was lost, so that the state GstStructure is always given the name "setup_test_variables".
Created attachment 322386 [details] [review] hlsdemux: tests: pass test name into test setup function
commit 35e00becfe63f2d726e66f92145cbf6a2f3cae87 Author: Alex Ashley <alex.ashley@youview.com> Date: Mon Jan 18 08:50:34 2016 +0000 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