forked from qt-creator/qt-creator
C++: Add tool button in editor for "Analyze File"
Adds a button for analyze file to all text editors that have a C++ source file open. Task-number: QTCREATORBUG-23348 Change-Id: If08f2969304ee0817f00c9ee5ff8c0d4f96f7f72 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
@@ -121,7 +121,7 @@ void PreconfiguredSessionTests::testPreconfiguredSession()
|
||||
|
||||
QVERIFY(switchToProjectAndTarget(project, target));
|
||||
|
||||
ClangTool::instance()->startTool(ClangTool::FileSelection::AllFiles);
|
||||
ClangTool::instance()->startTool(ClangTool::FileSelectionType::AllFiles);
|
||||
QSignalSpy waitUntilAnalyzerFinished(ClangTool::instance(), SIGNAL(finished(bool)));
|
||||
QVERIFY(waitUntilAnalyzerFinished.wait(30000));
|
||||
const QList<QVariant> arguments = waitUntilAnalyzerFinished.takeFirst();
|
||||
|
||||
Reference in New Issue
Block a user