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

Method testDiff

plugins/perforce/tests/test_perforce.cpp:188–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188void PerforcePluginTest::testDiff()
189{
190 VcsRevision srcRevision;
191 srcRevision.setRevisionValue(QVariant(1), VcsRevision::GlobalNumber);
192 VcsRevision dstRevision;
193 dstRevision.setRevisionValue(QVariant(2), VcsRevision::GlobalNumber);
194
195 VcsJob* j = m_plugin->diff( QUrl::fromLocalFile(perforceTestBaseDir + perforceTest_FileName), srcRevision, dstRevision);
196 VERIFYJOB(j);
197}
198
199
200QTEST_MAIN(PerforcePluginTest)

Callers

nothing calls this directly

Calls 3

setRevisionValueMethod · 0.80
QVariantClass · 0.50
diffMethod · 0.45

Tested by

no test coverage detected