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

Method testSetDataUrlAndLine

kdevplatform/debugger/tests/test_breakpoint.cpp:187–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185}
186
187void TestBreakpoint::testSetDataUrlAndLine()
188{
189 QFETCH(const QString, location);
190
191 const BreakpointLocation expectedLocation(location);
192 RETURN_IF_TEST_FAILED();
193
194 Breakpoint b(nullptr, Breakpoint::CodeBreakpoint);
195 b.setData(Breakpoint::LocationColumn, location);
196
197 verifyBreakpointLocation(b, expectedLocation);
198}
199
200void TestBreakpoint::testConfigInvalidUrl()
201{

Callers

nothing calls this directly

Calls 2

verifyBreakpointLocationFunction · 0.85
setDataMethod · 0.45

Tested by

no test coverage detected