| 368 | // ── Insert with invalid parent still works (root-level) ── |
| 369 | |
| 370 | void testInsertInvalidParent() { |
| 371 | int before = countNodes(); |
| 372 | // parentId=999 doesn't exist, but insertNode doesn't validate parent |
| 373 | m_ctrl->insertNode(999, 0, NodeKind::Hex32, "orphan"); |
| 374 | QApplication::processEvents(); |
| 375 | QCOMPARE(countNodes(), before + 1); |
| 376 | } |
| 377 | |
| 378 | // ── Duplicate out-of-range index is no-op ── |
| 379 |
nothing calls this directly
no test coverage detected