| 294 | } |
| 295 | |
| 296 | void TestBazaar::testRemoveUnindexedFile() |
| 297 | { |
| 298 | repoInit(); |
| 299 | |
| 300 | QFile f(bazaarTest_BaseDir + bazaarTest_FileName); |
| 301 | QVERIFY(f.open(QIODevice::Append)); |
| 302 | QTextStream input(&f); |
| 303 | input << "An appended line"; |
| 304 | f.close(); |
| 305 | |
| 306 | VcsJob* j = m_plugin->remove(QList<QUrl>() << QUrl::fromLocalFile(bazaarTest_BaseDir + bazaarTest_FileName)); |
| 307 | if (j) VERIFYJOB(j); |
| 308 | |
| 309 | QVERIFY(!QFile::exists(bazaarTest_BaseDir + bazaarTest_FileName)); |
| 310 | } |
| 311 | |
| 312 | void TestBazaar::testRemoveFolderContainingUnversionedFiles() |
| 313 | { |