tests: Capture unexpected messages before first desired message is set
authorChris Forbes <chrisforbes@google.com>
Fri, 16 Sep 2016 02:36:39 +0000 (14:36 +1200)
committerChris Forbes <chrisforbes@google.com>
Sun, 18 Sep 2016 20:54:42 +0000 (08:54 +1200)
commit23281771b63aad9ccd97d8a111e65e5cfb02b3f0
tree6796a112de4104bc7b9ff8fc3590a3564fe0320a
parent18df149569d7ce5a78f46024808d91676bbb824d
tests: Capture unexpected messages before first desired message is set

Otherwise, tests that specify what they want late are vulnerable to
accidental errors in their setup code.

Signed-off-by: Chris Forbes <chrisforbes@google.com>
tests/layer_validation_tests.cpp