| 133 | |
| 134 | |
| 135 | void TestDocumentController::testCloseAllDocuments() |
| 136 | { |
| 137 | // create documents |
| 138 | m_subject->openDocumentFromText(QString()); |
| 139 | m_subject->openDocumentFromText(QString()); |
| 140 | QVERIFY(!m_subject->openDocuments().empty()); |
| 141 | |
| 142 | m_subject->closeAllDocuments(); |
| 143 | QVERIFY(m_subject->openDocuments().empty()); |
| 144 | } |
| 145 | |
| 146 | QUrl TestDocumentController::createFile(const QTemporaryDir& dir, const QString& filename) |
| 147 | { |
nothing calls this directly
no test coverage detected