| 541 | // the items that share the same key are available from most recently to least recently inserted. |
| 542 | |
| 543 | void QtPrintersTest::testQMultiMapInt() |
| 544 | { |
| 545 | GdbProcess gdb("debuggee_qmultimapint"); |
| 546 | gdb.execute("break qmultimapint.cpp:5"); |
| 547 | MapTester tester(gdb, MapTester::MapType::Multi); |
| 548 | commonTestQMapOrMultiMapInt(tester); |
| 549 | RETURN_IF_TEST_RESOLVED(); |
| 550 | |
| 551 | tester.gdbNext(); |
| 552 | QStringList expectedElements{"[10] = 123", "[10] = 100", "[20] = 200", "[30] = 300"}; |
| 553 | COMPARE_MAP_TO(tester, expectedElements); |
| 554 | |
| 555 | gdb.execute("break qmultimapint.cpp:16"); |
| 556 | gdb.execute("cont"); |
| 557 | expectedElements = {"[4] = 99", "[10] = 0", "[10] = 123", "[10] = 100", "[30] = 300", "[30] = 82", "[30] = 300"}; |
| 558 | COMPARE_MAP_TO(tester, expectedElements); |
| 559 | } |
| 560 | |
| 561 | void QtPrintersTest::testQMultiMapString() |
| 562 | { |
nothing calls this directly
no test coverage detected