diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2017-07-05 14:19:59 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2017-07-06 08:06:24 +0000 |
commit | 0f7e202bc638f5b84a5c9f1b2a0ed2710ba83eb1 (patch) | |
tree | 1b629fe009c0b08920e54c3600816055784d1727 /src/quicktemplates2 | |
parent | 62b91f463aa5774e5d8b6218c2ac419ab54940c4 (diff) |
Fix QTEST_QUICKCONTROLS_MAIN()
QTestResult::setCurrentTestObject(const char *name) does not make
a copy of the char array. Make sure to keep the QByteArray instance
alive in scope until QTest::qCleanup() has been executed to avoid
printing random garbage in the footer:
********* Finished testing of ??????????? *********
Change-Id: I21e0165485b07070f4eec0f254a962fd3f06031f
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicktemplates2')
0 files changed, 0 insertions, 0 deletions