forked from qt-creator/qt-creator
ProjectExplorer: Introduce BuildSystem::parsingStarted/Finished
Some listeners are only interested in a particular build system instance, not all of one target. Change-Id: Id89bd96c1f7f68bac13886bdc31cb899978d76ac Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -1085,8 +1085,8 @@ void ProjectExplorerPlugin::testProject_parsingSuccess()
|
||||
{
|
||||
TestProject project;
|
||||
|
||||
QSignalSpy startSpy(project.target, &Target::parsingStarted);
|
||||
QSignalSpy stopSpy(project.target, &Target::parsingFinished);
|
||||
QSignalSpy startSpy(project.target->buildSystem(), &BuildSystem::parsingStarted);
|
||||
QSignalSpy stopSpy(project.target->buildSystem(), &BuildSystem::parsingFinished);
|
||||
|
||||
{
|
||||
BuildSystem::ParseGuard guard = project.target->buildSystem()->guardParsingRun();
|
||||
@@ -1111,8 +1111,8 @@ void ProjectExplorerPlugin::testProject_parsingFail()
|
||||
{
|
||||
TestProject project;
|
||||
|
||||
QSignalSpy startSpy(project.target, &Target::parsingStarted);
|
||||
QSignalSpy stopSpy(project.target, &Target::parsingFinished);
|
||||
QSignalSpy startSpy(project.target->buildSystem(), &BuildSystem::parsingStarted);
|
||||
QSignalSpy stopSpy(project.target->buildSystem(), &BuildSystem::parsingFinished);
|
||||
|
||||
{
|
||||
BuildSystem::ParseGuard guard = project.target->buildSystem()->guardParsingRun();
|
||||
|
||||
Reference in New Issue
Block a user