MCPcopy Create free account
hub / github.com/KDE/kdevelop / parseBug304730

Method parseBug304730

plugins/gdb/unittests/test_gdb.cpp:450–476  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

448}
449
450void GdbTest::parseBug304730()
451{
452 MI::FileSymbol file;
453 file.contents = QByteArray("^done,bkpt={"
454 "number=\"1\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"<MULTIPLE>\",times=\"0\","
455 "original-location=\"/media/portable/Projects/BDSInpainting/PatchMatch/PatchMatch.hpp:231\"},"
456 "{number=\"1.1\",enabled=\"y\",addr=\"0x081d84aa\","
457 "func=\"PatchMatch<itk::Image<itk::CovariantVector<unsigned char, 3u>, 2u> >"
458 "::Propagation<ForwardPropagationNeighbors>(ForwardPropagationNeighbors)\","
459 "file=\"/media/portable/Projects/BDSInpainting/Drivers/../PatchMatch/PatchMatch.hpp\","
460 "fullname=\"/media/portable/Projects/BDSInpainting/PatchMatch/PatchMatch.hpp\",line=\"231\"},"
461 "{number=\"1.2\",enabled=\"y\",addr=\"0x081d8ae2\","
462 "func=\"PatchMatch<itk::Image<itk::CovariantVector<unsigned char, 3u>, 2u> >"
463 "::Propagation<BackwardPropagationNeighbors>(BackwardPropagationNeighbors)\","
464 "file=\"/media/portable/Projects/BDSInpainting/Drivers/../PatchMatch/PatchMatch.hpp\","
465 "fullname=\"/media/portable/Projects/BDSInpainting/PatchMatch/PatchMatch.hpp\",line=\"231\"},"
466 "{number=\"1.3\",enabled=\"y\",addr=\"0x081d911a\","
467 "func=\"PatchMatch<itk::Image<itk::CovariantVector<unsigned char, 3u>, 2u> >"
468 "::Propagation<AllowedPropagationNeighbors>(AllowedPropagationNeighbors)\","
469 "file=\"/media/portable/Projects/BDSInpainting/Drivers/../PatchMatch/PatchMatch.hpp\","
470 "fullname=\"/media/portable/Projects/BDSInpainting/PatchMatch/PatchMatch.hpp\",line=\"231\"}");
471
472 MI::MIParser parser;
473
474 std::unique_ptr<MI::Record> record(parser.parse(&file));
475 QVERIFY(record.get() != nullptr);
476}
477
478} // end of namespace GDB
479} // end of namespace KDevMI

Callers

nothing calls this directly

Calls 3

QByteArrayClass · 0.50
parseMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected