MCPcopy Create free account
hub / github.com/KDE/kdiff3 / initTestCase

Method initTestCase

src/autotests/Diff3LineTest.cpp:25–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23 Q_OBJECT;
24 private Q_SLOTS:
25 void initTestCase()
26 {
27 Diff3LineList diffList;
28 Diff3Line entry;
29
30 QVERIFY(diffList.empty());
31 QVERIFY(!entry.isEqualAB());
32 QVERIFY(!entry.isEqualBC());
33 QVERIFY(!entry.isEqualAC());
34 QVERIFY(!entry.isWhiteLine(e_SrcSelector::A));
35 QVERIFY(!entry.isWhiteLine(e_SrcSelector::B));
36 QVERIFY(!entry.isWhiteLine(e_SrcSelector::C));
37 }
38
39 void calcDiffTest()
40 {

Callers

nothing calls this directly

Calls 4

isWhiteLineMethod · 0.80
isEqualABMethod · 0.45
isEqualBCMethod · 0.45
isEqualACMethod · 0.45

Tested by

no test coverage detected