camerabin: Refactor tests
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Fri, 3 Sep 2010 17:12:23 +0000 (14:12 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Sun, 5 Sep 2010 12:15:56 +0000 (09:15 -0300)
commita40270a054bfdd0027ed22f54e8b73c3c69bef44
tree7b4ff888542643ab938d06df5e5791185625dc21
parent70786470e8407ecc2cdcb5cdf88d221540e06426
camerabin: Refactor tests

The tests were done in 2 steps, first there was a suite
that generated the files (while checking that camerabin
was operating correctly). Then there was a second suite
that was run to check that all files were playable with
playbin2. Those second tests were not being run because
they were checking if camerabin was initialized, and it
never was as those tests didn't use a 'setup' function.

This commit refactors the tests by removing this second
suite and merging its validation with the first suite's
functions.
tests/check/elements/camerabin.c