gstobject: split up name tests
authorStefan Sauer <ensonic@users.sf.net>
Mon, 30 May 2016 11:42:36 +0000 (13:42 +0200)
committerStefan Sauer <ensonic@users.sf.net>
Mon, 30 May 2016 11:45:02 +0000 (13:45 +0200)
commitf2fd3bda2bf5d2d77d2acc1584806ff615533591
tree5fe399c01218370a5fd249d2bc60d34d76d8c8ca
parent1385e24bc6cb659875457a2560cdd3aa072f36a4
gstobject: split up name tests

It is better to have separate tests:
1) the test name will tell what is broekn when the test fails
2) we still run the other tests when one assert fails
3) the tests are easier to understand
4) we don't rely on sie effect of previous actions
5) ...

Also ix the assertion message for the name checks (Gst -> fakeobject).
tests/check/gst/gstobject.c