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

Function checkToolViews

kdevplatform/sublime/tests/test_areaoperation.cpp:57–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57void checkToolViews(const Area* area)
58{
59 QVERIFY(area);
60 const auto& toolViews = area->toolViews();
61 for (const auto* const view : toolViews) {
62 QVERIFY(view);
63 QVERIFY(view->document());
64 QVERIFY(view->widget());
65 }
66}
67
68enum class MainWindowAffinity {
69 SameWindow,

Callers 1

checkAreaCommonFunction · 0.85

Calls 2

documentMethod · 0.45
widgetMethod · 0.45

Tested by

no test coverage detected