testlib: fixed actual, expected order in QTest::compare_helper
These two parameters were written in the opposite order in the function's declaration and definition. Harmless to the compiler, but confusing to developers and reviewers. Change-Id: I1d4cb0a41b465b5f918daa76756677fe0cfe0a59 Reviewed-by: Jason McDonald Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
This commit is contained in:
parent
5d00ae3b69
commit
9f592dbd60
@ -209,7 +209,7 @@ namespace QTest
|
||||
Q_TESTLIB_EXPORT bool compare_helper(bool success, const char *msg, const char *file,
|
||||
int line);
|
||||
Q_TESTLIB_EXPORT bool compare_helper(bool success, const char *msg, char *val1, char *val2,
|
||||
const char *expected, const char *actual,
|
||||
const char *actual, const char *expected,
|
||||
const char *file, int line);
|
||||
Q_TESTLIB_EXPORT void qSleep(int ms);
|
||||
Q_TESTLIB_EXPORT void addColumnInternal(int id, const char *name);
|
||||
|
Loading…
Reference in New Issue
Block a user