diff options
author | Mårten Nordheim <marten.nordheim@qt.io> | 2022-12-02 12:55:20 +0100 |
---|---|---|
committer | Mårten Nordheim <marten.nordheim@qt.io> | 2023-03-08 15:10:21 +0100 |
commit | 1352e294d255f323bef3110c71a793d16ba9be4f (patch) | |
tree | 1d9320917110739aeaf4d250628fbead2e720993 /tests/auto/testlib/selftests/expected_signaldumper.lightxml | |
parent | 12c62dd243dd139023fa1fc5c3a7c0fd8e3ee0ba (diff) |
QTest: Rename QCOMPARE_XX parameters to add meaning
The parameter names were previously "lhs" and "rhs", which is incredibly
abstract for a testing framework. One of the parameters will tend to be
a baseline value to compare against while the other is the result of
some action we want to test. Thus I suggest they be renamed "computed"
and "baseline".
This way we can, hopefully, retain the semantic that the 'left'/first
argument is the computed ('actual' in QCOMPARE) value while the
'right'/second argument is the baseline ('expected' in QCOMPARE.)
Change-Id: I3e0fdce2a3f1faca06fdf7184ef6e0eb9724d990
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'tests/auto/testlib/selftests/expected_signaldumper.lightxml')
0 files changed, 0 insertions, 0 deletions