MCPcopy Create free account
hub / github.com/KDE/kdevelop / mainWindowConstruction

Method mainWindowConstruction

kdevplatform/sublime/tests/test_areaoperation.cpp:281–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

279}
280
281void TestAreaOperation::mainWindowConstruction()
282{
283 //====== check for m_area1 ======
284 MainWindow mw1(m_controller);
285 m_controller->showArea(m_area1, &mw1);
286 QCOMPARE_EQ(mw1.area(), m_area1);
287 checkArea1(&mw1);
288
289/////////////
290 //====== check for m_area2 ======
291 MainWindow mw2(m_controller);
292 m_controller->showArea(m_area2, &mw2);
293 QCOMPARE_EQ(mw2.area(), m_area2);
294 checkArea2(&mw2);
295
296 compareAreas1and2(m_area1, m_area2, MainWindowAffinity::DifferentWindows);
297}
298
299static QWidget* checkAreaCommon(MainWindow* mw)
300{

Callers

nothing calls this directly

Calls 3

compareAreas1and2Function · 0.85
showAreaMethod · 0.80
areaMethod · 0.45

Tested by

no test coverage detected