MCPcopy Create free account
hub / github.com/KDE/kdevelop / validatingExecJob

Function validatingExecJob

plugins/subversion/tests/test_svnimport.cpp:31–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29using namespace KDevelop;
30
31void 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
42void setupLocalRepository( const QString& name, VcsLocation & reposLoc )
43{

Callers 4

testBasicMethod · 0.70
testImportIntoDirMethod · 0.70
validateImportMethod · 0.70

Calls 3

execMethod · 0.80
errorStringMethod · 0.45
statusMethod · 0.45

Tested by

no test coverage detected