| 41 | QTEST_MAIN(StandardOutputViewTest) |
| 42 | |
| 43 | void StandardOutputViewTest::initTestCase() |
| 44 | { |
| 45 | KDevelop::AutoTestShell::init({QStringLiteral("KDevStandardOutputView")}); |
| 46 | m_testCore = new KDevelop::TestCore(); |
| 47 | m_testCore->initialize(KDevelop::Core::Default); |
| 48 | |
| 49 | m_controller = m_testCore->uiControllerInternal(); |
| 50 | |
| 51 | m_stdOutputView = nullptr; |
| 52 | KDevelop::IPluginController* plugin_controller = m_testCore->pluginController(); |
| 53 | |
| 54 | // make sure KDevStandardOutputView is loaded |
| 55 | KDevelop::IPlugin* plugin = plugin_controller->loadPlugin(QStringLiteral("KDevStandardOutputView")); |
| 56 | QVERIFY(plugin); |
| 57 | m_stdOutputView = dynamic_cast<KDevelop::IOutputView*>(plugin); |
| 58 | QVERIFY(m_stdOutputView); |
| 59 | } |
| 60 | |
| 61 | void StandardOutputViewTest::cleanupTestCase() |
| 62 | { |
nothing calls this directly
no test coverage detected