| 564 | } |
| 565 | |
| 566 | void GitInitTest::testRemoveUnindexedFile() |
| 567 | { |
| 568 | repoInit(); |
| 569 | |
| 570 | QVERIFY(writeFile(gitTest_BaseDir() + gitTest_FileName(), QStringLiteral("An appended line"), QIODevice::Append)); |
| 571 | |
| 572 | VcsJob* j = m_plugin->remove(QList<QUrl>() << QUrl::fromLocalFile(gitTest_BaseDir() + gitTest_FileName())); |
| 573 | if (j) VERIFYJOB(j); |
| 574 | |
| 575 | QVERIFY(!QFile::exists(gitTest_BaseDir() + gitTest_FileName())); |
| 576 | } |
| 577 | |
| 578 | void GitInitTest::testRemoveFolderContainingUnversionedFiles() |
| 579 | { |
nothing calls this directly
no test coverage detected