MCPcopy Create free account
hub / github.com/MiniZinc/MiniZincIDE / testStartupPlayground

Method testStartupPlayground

tests/testeditor.cpp:8–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6#include "ui_mainwindow.h"
7
8void 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
16void TestIDE::testIndent()
17{

Callers

nothing calls this directly

Calls 1

mwMethod · 0.80

Tested by

no test coverage detected