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

Method compareDiff

kdevplatform/vcs/tests/test_vcsdiff.cpp:36–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36void TestVcsDiff::compareDiff(const VcsDiff& diff,
37 const QString& diffString,
38 const QUrl& baseDiff,
39 uint depth)
40{
41 QCOMPARE(diff.diff(), diffString);
42 QCOMPARE(diff.baseDiff(), baseDiff);
43 QCOMPARE(diff.depth(), depth);
44}
45
46void TestVcsDiff::testFileNames()
47{

Callers

nothing calls this directly

Calls 3

baseDiffMethod · 0.80
diffMethod · 0.45
depthMethod · 0.45

Tested by

no test coverage detected