Rework the parsing and fixing detection of changes

Additionally
* fixed some deletion of pointers
* const correctness
* small refactorings for readability
* better separation of responsibilities
This commit is contained in:
Christian Stenger
2014-10-28 15:57:13 +01:00
committed by Christian Stenger
parent eca8e2faba
commit 345b4de47a
8 changed files with 240 additions and 95 deletions

View File

@@ -86,7 +86,9 @@ void TestRunner::runTests()
ProjectExplorer::Internal::ProjectExplorerSettings pes = pep->projectExplorerSettings();
if (pes.buildBeforeDeploy) {
if (!project->hasActiveBuildSettings()) {
qDebug() << "no active build settings...???"; // let it configure?
TestResultsPane::instance()->addTestResult(
TestResult(QString(), QString(), QString(), ResultType::MESSAGE_FATAL,
tr("*** Project is not configured - canceling Test Run ***")));
return;
}
buildProject(project);