| 58 | } |
| 59 | |
| 60 | void TestSvnImport::initTestCase() |
| 61 | { |
| 62 | QLoggingCategory::setFilterRules(QStringLiteral("*.debug=false\ndefault.debug=true\nkdevelop.plugins.svn.debug=true\n")); |
| 63 | AutoTestShell::init({QStringLiteral("kdevsubversion"), QStringLiteral("KDevStandardOutputView")}); |
| 64 | TestCore::initialize(); |
| 65 | |
| 66 | const QList<IPlugin*> plugins = Core::self()->pluginController()->allPluginsForExtension(QStringLiteral("org.kdevelop.IBasicVersionControl")); |
| 67 | for (IPlugin* p : plugins) { |
| 68 | qDebug() << "checking plugin" << p; |
| 69 | auto* icentr = p->extension<ICentralizedVersionControl>(); |
| 70 | if (!icentr) |
| 71 | continue; |
| 72 | if (icentr->name() == QLatin1String("Subversion")) { |
| 73 | vcs = icentr; |
| 74 | break; |
| 75 | } |
| 76 | } |
| 77 | qDebug() << "ok, got vcs" << vcs; |
| 78 | QVERIFY(vcs); |
| 79 | } |
| 80 | |
| 81 | void TestSvnImport::cleanupTestCase() |
| 82 | { |
nothing calls this directly
no test coverage detected