Called before the first testfunction is executed
| 100 | |
| 101 | // Called before the first testfunction is executed |
| 102 | void LldbFormattersTest::initTestCase() |
| 103 | { |
| 104 | AutoTestShell::init({QStringLiteral("kdevlldb"), QStringLiteral("kdevexecute")}); |
| 105 | AutoTestShell::initializeNotifications(); |
| 106 | m_core = TestCore::initialize(Core::NoUi); |
| 107 | |
| 108 | m_iface = m_core->pluginController() |
| 109 | ->pluginForExtension(QStringLiteral("org.kdevelop.IExecutePlugin"), QStringLiteral("kdevexecute")) |
| 110 | ->extension<IExecutePlugin>(); |
| 111 | Q_ASSERT(m_iface); |
| 112 | |
| 113 | const QString lldbMiExecutable = QStandardPaths::findExecutable(QStringLiteral("lldb-mi")); |
| 114 | if (lldbMiExecutable.isEmpty()) { |
| 115 | QSKIP("Skipping, lldb-mi not available"); |
| 116 | } |
| 117 | } |
| 118 | |
| 119 | // Called after the last testfunction was executed |
| 120 | void LldbFormattersTest::cleanupTestCase() |
nothing calls this directly
no test coverage detected