── Test: footer line rejects all edits ──
| 535 | |
| 536 | // ── Test: footer line rejects all edits ── |
| 537 | void testFooterLineEdit() { |
| 538 | m_editor->applyDocument(m_result); |
| 539 | |
| 540 | // Find the footer line |
| 541 | int footerLine = -1; |
| 542 | for (int i = 0; i < m_result.meta.size(); i++) { |
| 543 | if (m_result.meta[i].lineKind == LineKind::Footer) { |
| 544 | footerLine = i; |
| 545 | break; |
| 546 | } |
| 547 | } |
| 548 | QVERIFY(footerLine >= 0); |
| 549 | |
| 550 | QVERIFY(!m_editor->beginInlineEdit(EditTarget::Type, footerLine)); |
| 551 | QVERIFY(!m_editor->beginInlineEdit(EditTarget::Name, footerLine)); |
| 552 | QVERIFY(!m_editor->beginInlineEdit(EditTarget::Value, footerLine)); |
| 553 | QVERIFY(!m_editor->isEditing()); |
| 554 | } |
| 555 | |
| 556 | // ── Test: parseValue accepts space-separated hex bytes ── |
| 557 | void testParseValueHexWithSpaces() { |
nothing calls this directly
no test coverage detected