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

Method initTestCase

plugins/bazaar/tests/test_bazaar.cpp:51–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51void TestBazaar::initTestCase()
52{
53 AutoTestShell::init({QStringLiteral("kdevbazaar")});
54 TestCore::initialize(Core::NoUi);
55
56 const auto pluginMetaData = makeTestPluginMetaData("TestBazaar");
57 m_plugin = new BazaarPlugin(TestCore::self(), pluginMetaData);
58
59 const auto bzrExecutable = QStandardPaths::findExecutable(QStringLiteral("bzr"));
60 if (bzrExecutable.isEmpty()) {
61 QSKIP("Skipping because `bzr` executable is not available");
62 }
63}
64
65void TestBazaar::cleanupTestCase()
66{

Callers

nothing calls this directly

Calls 5

initializeFunction · 0.85
makeTestPluginMetaDataFunction · 0.85
initClass · 0.50
findExecutableFunction · 0.50
isEmptyMethod · 0.45

Tested by

no test coverage detected