diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2022-10-04 15:17:00 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2023-01-31 17:35:12 +0100 |
commit | 2d1fd400fc34843690e889d0cae7e75c12abd1e0 (patch) | |
tree | f2ee9ce5aef41ee9fc6c8c5c3c3ebd0022ff1be5 /.cmake.conf | |
parent | 7c84550f3bfdf93cb8a071e6bb23d54d57109e84 (diff) |
Object to creating duplicate entries in a test-data table
Tero Heikkinen caught tst_QQuaternion() using a duplicated test data
tag and was surprised that testlib let it get away with that. That
seems like a reasonable thing to discourage. While I'm at it,
duplicate columns should be discouraged.
[ChangeLog][QtTest] Duplicate data tags are now warned about. Every
call to QTest::newRow() or QTest::addRow() should result in a distinct
data tag. If they do not, a warning is produced. Likewise, duplicate
column names are forbidden; each call to QTest::addColumn() should use
a distinct name.
Fixes: QTBUG-107185
Pick-to: 6.5
Change-Id: Idfdb7cdfdd71e1fe3db5cadb243eeecc83032922
Reviewed-by: Jason McDonald <macadder1@gmail.com>
Diffstat (limited to '.cmake.conf')
0 files changed, 0 insertions, 0 deletions