autodetect: improve the tests
authorStefan Sauer <ensonic@users.sf.net>
Wed, 19 Feb 2014 20:01:39 +0000 (21:01 +0100)
committerStefan Sauer <ensonic@users.sf.net>
Wed, 19 Feb 2014 20:07:28 +0000 (21:07 +0100)
commitce683b0031835e6b2e7a844ec7884d15adf997a6
tree99cd2ed2b31d62a2110671ad26e2a609f686d5bc
parent6f1d4da8b43b2392a0c7df3feb2daaa7e7c45964
autodetect: improve the tests

Add fake audio/video sinks. Previously running the test might be flaky due to
the use of real elements (hardware in use), which we don't want to test here.
Add two more tests that check that the fakes are chosen.
tests/check/Makefile.am
tests/check/elements/autodetect.c