| 6 | #include "ui_mainwindow.h" |
| 7 | |
| 8 | void TestIDE::testStartupPlayground() |
| 9 | { |
| 10 | TestMocker mock; |
| 11 | MainWindow* w = mock.mw(); |
| 12 | QString text = w->curEditor->document()->toPlainText(); |
| 13 | QCOMPARE(text, QString("% Use this editor as a MiniZinc scratch book\n")); |
| 14 | } |
| 15 | |
| 16 | void TestIDE::testIndent() |
| 17 | { |