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

Method testDuplicateStructNoOp

tests/test_context_menu.cpp:178–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176 // ── Duplicate on struct is no-op ──
177
178 void testDuplicateStructNoOp() {
179 int rootIdx = findNode("Player");
180 QVERIFY(rootIdx >= 0);
181 int before = countNodes();
182
183 m_ctrl->duplicateNode(rootIdx);
184 QApplication::processEvents();
185
186 QCOMPARE(countNodes(), before);
187 }
188
189 // ── Insert at root level (parentId=0) ──
190

Callers

nothing calls this directly

Calls 2

findNodeFunction · 0.85
duplicateNodeMethod · 0.80

Tested by

no test coverage detected