summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtestcase.h
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-12-05 11:54:03 +1000
committerQt by Nokia <qt-info@nokia.com>2011-12-08 03:04:55 +0100
commitad80d42f8eefd72d9297c272139acc70e24bfa13 (patch)
tree4392ffb6762f80bb81b1a126371debfcb6566b13 /src/testlib/qtestcase.h
parent479fc3e49c4b7e2a5d447c2d0d1c260d2cfb0966 (diff)
Remove unused overload of QTest::qExec.
The overload of QTest::qExec() that takes a QStringList is not used anywhere in Qt's autotests, despite having been in the qtestlib API since Qt 4.4. This lack of use most likely derives from the fact that none of the QTEST_MAIN macros use the overload, and more than 99% of Qt's tests use those macros to avoid explicitly calling QTest::qExec(). Change-Id: I264b21d7fe1a9f2d565f748cf8bbe32414a73bb0 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/testlib/qtestcase.h')
-rw-r--r--src/testlib/qtestcase.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/testlib/qtestcase.h b/src/testlib/qtestcase.h
index dffbedab8e..091e9a8d96 100644
--- a/src/testlib/qtestcase.h
+++ b/src/testlib/qtestcase.h
@@ -180,7 +180,6 @@ namespace QTest
Q_TESTLIB_EXPORT char *toString(const void *);
Q_TESTLIB_EXPORT int qExec(QObject *testObject, int argc = 0, char **argv = 0);
- Q_TESTLIB_EXPORT int qExec(QObject *testObject, const QStringList &arguments);
Q_TESTLIB_EXPORT bool qVerify(bool statement, const char *statementStr, const char *description,
const char *file, int line);