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

Function generateBreakpointConfig

kdevplatform/debugger/tests/test_breakpoint.cpp:53–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51};
52
53KConfigGroup generateBreakpointConfig(const BreakpointLocation& location)
54{
55 auto config = KSharedConfig::openConfig()->group("test_breakpoint");
56 config.deleteGroup();
57
58 config.writeEntry("url", location.url);
59 config.writeEntry("line", location.line);
60 config.writeEntry("expression", QString{});
61
62 return config;
63}
64
65void verifyBreakpointExpression(const Breakpoint& breakpoint, const QString& expression)
66{

Callers 2

testConfigInvalidUrlMethod · 0.85
testConfigValidUrlMethod · 0.85

Calls 1

writeEntryMethod · 0.80

Tested by

no test coverage detected