forked from qt-creator/qt-creator
AutoTest: Add location info to all GTest results
Currently location information are only set for failed gtest results. One can't jump to the location of a successful test by doing a double click on the corresponding entry in the test result pane. Use the TestTreeModel to obtain the location information for successful tests in the GTestOutputReader. Change-Id: I3fad2d0540edb653ff186011cb92db220748b4f5 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
committed by
Christian Stenger
parent
285f054d74
commit
4e4118dd26
@@ -35,7 +35,7 @@ namespace Internal {
|
||||
TestOutputReader *GTestConfiguration::outputReader(const QFutureInterface<TestResultPtr> &fi,
|
||||
QProcess *app) const
|
||||
{
|
||||
return new GTestOutputReader(fi, app, buildDirectory());
|
||||
return new GTestOutputReader(fi, app, buildDirectory(), projectFile());
|
||||
}
|
||||
|
||||
QStringList GTestConfiguration::argumentsForTestRunner() const
|
||||
|
||||
Reference in New Issue
Block a user