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

Method compareItemEvent

kdevplatform/vcs/tests/test_vcsitemevent.cpp:33–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33void TestVcsItemEvent::compareItemEvent(const VcsItemEvent& itemEvent,
34 const QString& repositoryLocation,
35 const QString& repositoryCopySourceLocation,
36 const VcsRevision& repositoryCopySourceRevision,
37 VcsItemEvent::Actions actions)
38{
39 QCOMPARE(itemEvent.repositoryLocation(), repositoryLocation);
40 QCOMPARE(itemEvent.repositoryCopySourceLocation(), repositoryCopySourceLocation);
41 QCOMPARE(itemEvent.repositoryCopySourceRevision(), repositoryCopySourceRevision);
42 QCOMPARE(itemEvent.actions(), actions);
43}
44
45void TestVcsItemEvent::testCopyConstructor()
46{

Callers

nothing calls this directly

Calls 4

repositoryLocationMethod · 0.45
actionsMethod · 0.45

Tested by

no test coverage detected