MCPcopy Create free account
hub / github.com/IChooseYou/Reclass / initTestCase

Method initTestCase

tests/test_editor.cpp:351–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

349
350private slots:
351 void initTestCase() {
352 m_editor = new RcxEditor();
353 m_editor->resize(800, 600);
354 m_editor->show();
355 QVERIFY(QTest::qWaitForWindowExposed(m_editor));
356
357 NodeTree tree = makeTestTree();
358 BufferProvider prov = makeTestProvider();
359 m_result = compose(tree, prov);
360 m_editor->applyDocument(m_result);
361 }
362
363 void cleanupTestCase() {
364 delete m_editor;

Callers

nothing calls this directly

Calls 4

makeTestProviderFunction · 0.85
composeFunction · 0.85
applyDocumentMethod · 0.80
makeTestTreeFunction · 0.70

Tested by

no test coverage detected