~ubuntu-branches/ubuntu/utopic/kdevplatform/utopic-proposed

« back to all changes in this revision

Viewing changes to shell/testcontroller.cpp

  • Committer: Package Import Robot
  • Author(s): Scarlett Clark
  • Date: 2014-08-30 03:52:11 UTC
  • mfrom: (0.3.26)
  • Revision ID: package-import@ubuntu.com-20140830035211-wndqlc843eu2v8nk
Tags: 1.7.0-0ubuntu1
* New upstream release
* Add XS-Testsuite: autopkgtest

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
#include "testcontroller.h"
21
21
#include "interfaces/itestsuite.h"
 
22
#include <interfaces/icore.h>
22
23
 
23
24
#include <KUrl>
24
25
#include <KLocalizedString>
75
76
        delete existingSuite;
76
77
    }
77
78
    d->suites.append(suite);
78
 
    emit testSuiteAdded(suite);
 
79
    if(!ICore::self()->shuttingDown())
 
80
        emit testSuiteAdded(suite);
79
81
}
80
82
 
81
83
ITestSuite* TestController::findTestSuite(IProject* project, const QString& name) const
110
112
    emit testRunFinished(suite, result);
111
113
}
112
114
 
 
115
void TestController::notifyTestRunStarted(ITestSuite* suite, const QStringList& test_cases)
 
116
{
 
117
    kDebug() << "Test run started for suite" << suite->name();
 
118
    emit testRunStarted(suite, test_cases);
 
119
}
 
120
 
 
121
 
113
122
#include "testcontroller.moc"