── Test: type edit click-away commits original (no change) ──
| 614 | |
| 615 | // ── Test: type edit click-away commits original (no change) ── |
| 616 | void testTypeEditClickAwayNoChange() { |
| 617 | m_editor->applyDocument(m_result); |
| 618 | |
| 619 | QSignalSpy spy(m_editor, &RcxEditor::typePickerRequested); |
| 620 | |
| 621 | // Type edit emits typePickerRequested (popup handles click-away) |
| 622 | bool ok = m_editor->beginInlineEdit(EditTarget::Type, kFirstDataLine); |
| 623 | QVERIFY(ok); |
| 624 | QCOMPARE(spy.count(), 1); |
| 625 | |
| 626 | // No inline edit state — popup handles click-away behavior |
| 627 | QVERIFY(!m_editor->isEditing()); |
| 628 | |
| 629 | m_editor->applyDocument(m_result); |
| 630 | } |
| 631 | |
| 632 | // ── Test: column span hit-testing for cursor shape ── |
| 633 | void testColumnSpanHitTest() { |
nothing calls this directly
no test coverage detected