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

Method expandVariableCollection

plugins/debuggercommon/tests/debuggertestbase.cpp:197–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195}
196
197void DebuggerTestBase::expandVariableCollection(const QModelIndex& index)
198{
199 auto* const collection = variableCollection();
200 QSignalSpy childrenReadySpy(collection, &TreeModel::itemChildrenReady);
201 collection->expanded(index);
202 if (childrenReadySpy.empty()) {
203 QVERIFY(childrenReadySpy.wait(2'000));
204 }
205}
206
207int DebuggerTestBase::variableChildCount(Variable* variable) const
208{

Callers

nothing calls this directly

Calls 4

variableCollectionFunction · 0.85
emptyMethod · 0.80
waitMethod · 0.80
expandedMethod · 0.45

Tested by

no test coverage detected