validate: Fix testsuite
authorThibault Saunier <tsaunier@gnome.org>
Thu, 21 Jan 2016 10:13:55 +0000 (11:13 +0100)
committerThibault Saunier <tsaunier@gnome.org>
Thu, 21 Jan 2016 10:21:01 +0000 (11:21 +0100)
commit633fddbb6636e7f3b9f8b4c20b6da80b74dfefe1
treeb435e53b32013e0a18c7fd965376746c7c751e2e
parent0482dab36b222095c715e202e736415da2b5385f
validate: Fix testsuite

Use fake elements instead of real ones in our tests so that
we control exactly the number of issues generated.

Until now we were trying to hide extra issues with a probe dropping
events and buffers but since 2dfa548f3645844082c3db65d96d87255701b3ad
"pad: Append hooks instead of prepending to call them in the order they were added"
in core, hidding will not work.
validate/tests/check/validate/padmonitor.c
validate/tests/check/validate/reporting.c
validate/tests/check/validate/test-utils.c
validate/tests/check/validate/test-utils.h