diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2012-02-07 12:42:05 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-09 06:29:37 +0100 |
commit | 3233e8052d2d25fd36567f67f9cd314cf0eaef92 (patch) | |
tree | 9457848b778ead5e9ba5696153f854b7e3642307 /src/qmltest/quicktestresult.cpp | |
parent | 5b76b0de4848912cb9901524ff07d03bc9b71a5f (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 this code is no longer needed.
Change-Id: Ic370b6b741382a90454c893bffcab4a7328a2f9e
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Reviewed-by: Yunqiao Yin <charles.yin@nokia.com>
Diffstat (limited to 'src/qmltest/quicktestresult.cpp')
-rw-r--r-- | src/qmltest/quicktestresult.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/qmltest/quicktestresult.cpp b/src/qmltest/quicktestresult.cpp index c1c5368eeb..ddfa928f96 100644 --- a/src/qmltest/quicktestresult.cpp +++ b/src/qmltest/quicktestresult.cpp @@ -163,17 +163,6 @@ void QuickTestResult::setFunctionName(const QString &name) emit functionNameChanged(); } -QuickTestResult::FunctionType QuickTestResult::functionType() const -{ - return FunctionType(QTestResult::currentTestLocation()); -} - -void QuickTestResult::setFunctionType(FunctionType type) -{ - QTestResult::setCurrentTestLocation(QTestResult::TestLocation(type)); - emit functionTypeChanged(); -} - /*! \qmlproperty string TestResult::dataTag |