diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2012-02-07 12:50:54 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-16 02:00:37 +0100 |
commit | 45cf303d3a873ff96cad1e1e8ff736602d0e8a5a (patch) | |
tree | c7377533821bf0c3abf7c024c5957ef83964700a /src/testlib/qtestresult_p.h | |
parent | 1b23336a297681dc12700880540a5a8d31f146fe (diff) |
Remove code related to test location.
Testlib no longer does anything with the test location, and neither do
any of Qt's tests, so the code is no longer needed.
Change-Id: I1a464116179f3e26efadad6901f00f3c33e0ce84
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'src/testlib/qtestresult_p.h')
-rw-r--r-- | src/testlib/qtestresult_p.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/testlib/qtestresult_p.h b/src/testlib/qtestresult_p.h index 5c6c4fba90..b060926f2a 100644 --- a/src/testlib/qtestresult_p.h +++ b/src/testlib/qtestresult_p.h @@ -63,14 +63,11 @@ class QTestData; class Q_TESTLIB_EXPORT QTestResult { public: - enum TestLocation { NoWhere = 0, DataFunc = 1, InitFunc = 2, Func = 3, CleanupFunc = 4 }; - static const char *currentTestObjectName(); static bool currentTestFailed(); static QTestData *currentTestData(); static QTestData *currentGlobalTestData(); static const char *currentTestFunction(); - static TestLocation currentTestLocation(); static const char *currentDataTag(); static const char *currentGlobalDataTag(); static void finishedCurrentTestData(); @@ -86,7 +83,6 @@ public: static void setCurrentGlobalTestData(QTestData *data); static void setCurrentTestData(QTestData *data); static void setCurrentTestFunction(const char *func); - static void setCurrentTestLocation(TestLocation loc); static void setCurrentTestObject(const char *name); static void addSkip(const char *message, const char *file, int line); static bool expectFail(const char *dataIndex, const char *comment, |