── Test: base address edit begins on CommandRow (line 0) ──
| 865 | |
| 866 | // ── Test: base address edit begins on CommandRow (line 0) ── |
| 867 | void testBaseAddressEditBegins() { |
| 868 | m_editor->applyDocument(m_result); |
| 869 | |
| 870 | // Set CommandRow text with ADDR value (simulates controller) |
| 871 | m_editor->setCommandRowText( |
| 872 | QStringLiteral("source\u25BE \u00B7 0xD87B5E5000")); |
| 873 | |
| 874 | // Begin base address edit on line 0 (CommandRow ADDR field) |
| 875 | bool ok = m_editor->beginInlineEdit(EditTarget::BaseAddress, 0); |
| 876 | QVERIFY2(ok, "Should be able to begin base address edit on CommandRow"); |
| 877 | QVERIFY(m_editor->isEditing()); |
| 878 | |
| 879 | // Cancel and reset |
| 880 | m_editor->cancelInlineEdit(); |
| 881 | m_editor->applyDocument(m_result); |
| 882 | } |
| 883 | |
| 884 | // ── Test: cursor stays Arrow after left-click on a node ── |
| 885 | void testCursorAfterLeftClick() { |
nothing calls this directly
no test coverage detected