Be stricter about the number of messages when testing profiler service
authorUlf Hermann <ulf.hermann@digia.com>
Thu, 30 Jan 2014 17:21:18 +0000 (18:21 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 31 Jan 2014 09:10:59 +0000 (10:10 +0100)
commitb8eaedb0dcf0daeae55fd2c2c6e31588c43613bf
treedf77f810c05a0d435c6cf7617159fece1f02a5d5
parent539d5376bb3ef18d0c819ab9a1c195ee6e56ed79
Be stricter about the number of messages when testing profiler service

It's better to fail a test than to crash on invalid array access later.

Change-Id: Ia3d24218eba80f362908979720657312c8c6cd67
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
tests/auto/qml/debugger/qqmlprofilerservice/tst_qqmlprofilerservice.cpp