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

Method testRemoveEmptyFolder

plugins/bazaar/tests/test_bazaar.cpp:267–278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265}
266
267void TestBazaar::testRemoveEmptyFolder()
268{
269 repoInit();
270
271 QDir d(bazaarTest_BaseDir);
272 d.mkdir(QStringLiteral("emptydir"));
273
274 VcsJob* j = m_plugin->remove(QList<QUrl>() << QUrl::fromLocalFile(bazaarTest_BaseDir+"emptydir/"));
275 if (j) VERIFYJOB(j);
276
277 QVERIFY(!d.exists("emptydir"));
278}
279
280void TestBazaar::testRemoveEmptyFolderInFolder()
281{

Callers

nothing calls this directly

Calls 3

mkdirMethod · 0.80
existsMethod · 0.80
removeMethod · 0.45

Tested by

no test coverage detected