Changeset View
Changeset View
Standalone View
Standalone View
plugins/subversion/tests/test_svnimport.cpp
Show First 20 Lines • Show All 67 Lines • ▼ Show 20 Line(s) | 66 | { | |||
---|---|---|---|---|---|
68 | sampleFile.open( QIODevice::WriteOnly ); | 68 | sampleFile.open( QIODevice::WriteOnly ); | ||
69 | sampleFile.write( content.toUtf8() ); | 69 | sampleFile.write( content.toUtf8() ); | ||
70 | sampleFile.close(); | 70 | sampleFile.close(); | ||
71 | } | 71 | } | ||
72 | 72 | | |||
73 | void TestSvnImport::initTestCase() | 73 | void TestSvnImport::initTestCase() | ||
74 | { | 74 | { | ||
75 | QLoggingCategory::setFilterRules(QStringLiteral("*.debug=false\ndefault.debug=true\nkdevplatform.plugins.svn.debug=true\n")); | 75 | QLoggingCategory::setFilterRules(QStringLiteral("*.debug=false\ndefault.debug=true\nkdevplatform.plugins.svn.debug=true\n")); | ||
76 | AutoTestShell::init({QStringLiteral("kdevsubversion")}); | 76 | AutoTestShell::init({QStringLiteral("kdevsubversion"), QStringLiteral("KDevStandardOutputView")}); | ||
77 | TestCore::initialize(); | 77 | TestCore::initialize(); | ||
78 | 78 | | |||
79 | QList<IPlugin*> plugins = Core::self()->pluginController()->allPluginsForExtension(QStringLiteral("org.kdevelop.IBasicVersionControl")); | 79 | QList<IPlugin*> plugins = Core::self()->pluginController()->allPluginsForExtension(QStringLiteral("org.kdevelop.IBasicVersionControl")); | ||
80 | foreach(IPlugin* p, plugins) { | 80 | foreach(IPlugin* p, plugins) { | ||
81 | qDebug() << "checking plugin" << p; | 81 | qDebug() << "checking plugin" << p; | ||
82 | ICentralizedVersionControl* icentr = p->extension<ICentralizedVersionControl>(); | 82 | ICentralizedVersionControl* icentr = p->extension<ICentralizedVersionControl>(); | ||
83 | if (!icentr) | 83 | if (!icentr) | ||
84 | continue; | 84 | continue; | ||
▲ Show 20 Lines • Show All 81 Lines • Show Last 20 Lines |