| 29 | using namespace KDevelop; |
| 30 | |
| 31 | void validatingExecJob(VcsJob* j, VcsJob::JobStatus status = VcsJob::JobSucceeded) |
| 32 | { |
| 33 | QVERIFY(j); |
| 34 | |
| 35 | if (!j->exec()) { |
| 36 | qDebug() << j->errorString(); |
| 37 | // On error, wait for key in order to allow manual state inspection |
| 38 | } |
| 39 | QCOMPARE(j->status(), status); |
| 40 | } |
| 41 | |
| 42 | void setupLocalRepository( const QString& name, VcsLocation & reposLoc ) |
| 43 | { |
no test coverage detected