summaryrefslogtreecommitdiffstats
path: root/tests/manual
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2012-02-01 16:39:14 +1000
committerQt by Nokia <qt-info@nokia.com>2012-02-08 03:13:23 +0100
commit26c41ed918142a6fadac142b4f7e63426bebc4a1 (patch)
tree89dc66f7cb9cf94a8ad699127109f7da94081622 /tests/manual
parentda18ada6bf60e0a6724ee55abb619d367f8c4633 (diff)
testlib: Clear ignored messages after every data row
Previously, ignored messages were only cleared at the end of each test function, i.e. after all data rows were finished. This meant that if a data row in a data-driven test function didn't cause all of the expected messages to be generated, the remaining messages would be carried over to the next data row. This would result in errors about missing messages being associated with the last data row rather than with the correct data row. This commit makes testlib check for missing ignored messages after running each data row rather than only doing so after the last data row. This commit also adds a regression test to demonstrate that ignored messages can no longer be carried over from one data row to another. Change-Id: Ibee51aa6e96866fbcbcb4acee1a8340a86a6a4ba Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/manual')
0 files changed, 0 insertions, 0 deletions