| 654 | } |
| 655 | |
| 656 | void LldbFormattersTest::testQMapStringBool() |
| 657 | { |
| 658 | TestLaunchConfiguration cfg(QStringLiteral("debuggee_qmapstringbool")); |
| 659 | addCodeBreakpoint(QUrl::fromLocalFile(findSourceFile("qmapstringbool.cpp")), 7); |
| 660 | |
| 661 | QVERIFY(m_session->startDebugging(&cfg, m_iface)); |
| 662 | WAIT_FOR_STATE_AND_IDLE(m_session, DebugSession::PausedState); |
| 663 | |
| 664 | // Should be two rows ('auto', 'local') |
| 665 | QCOMPARE(variableCollection()->rowCount(), 2); |
| 666 | |
| 667 | variableCollection()->expanded(localVariableIndexAt(0)); |
| 668 | WAIT_FOR_A_WHILE_AND_IDLE(m_session, 50); |
| 669 | |
| 670 | VERIFY_LOCAL(0, "m", "<size=2>", (QStringList{"(\"10\", true)", "(\"20\", false)"})); |
| 671 | |
| 672 | m_session->stepOver(); |
| 673 | WAIT_FOR_STATE_AND_IDLE(m_session, DebugSession::PausedState); |
| 674 | QCOMPARE(m_session->currentLine(), 8); |
| 675 | |
| 676 | VERIFY_LOCAL(0, "m", "<size=3>", (QStringList{"(\"10\", true)", "(\"20\", false)", "(\"30\", true)"})); |
| 677 | } |
| 678 | |
| 679 | |
| 680 | void LldbFormattersTest::testQHashInt() |
nothing calls this directly
no test coverage detected