Commit b941eda7 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Remove test of Qt4 project loading

This test is broken for a long time now and the squish tests cover
this functionality.

Change-Id: I5ec598da8d2b9fec304a6df76509fa66318a6c2b
Reviewed-on: http://codereview.qt.nokia.com/3820

Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
parent c4ab643d
......@@ -326,18 +326,4 @@ void Qt4ProjectManagerPlugin::jumpToFile()
editor->jumpToFile();
}
#ifdef WITH_TESTS
void Qt4ProjectManagerPlugin::testBasicProjectLoading()
{
QString testDirectory = ExtensionSystem::PluginManager::instance()->testDataDirectory() + "/qt4projectmanager/";
QString test1 = testDirectory + "test1/test1.pro";
m_projectExplorer->openProject(test1);
QVERIFY(!m_projectExplorer->session()->projects().isEmpty());
Qt4Project *qt4project = qobject_cast<Qt4Project *>(m_projectExplorer->session()->projects().first());
QVERIFY(qt4project);
QVERIFY(qt4project->rootQt4ProjectNode()->projectType() == ApplicationTemplate);
QVERIFY(m_projectExplorer->currentProject() != 0);
}
#endif
Q_EXPORT_PLUGIN(Qt4ProjectManagerPlugin)
......@@ -72,7 +72,6 @@ private slots:
void jumpToFile();
#ifdef WITH_TESTS
void testBasicProjectLoading(); // Test fails!
void testAbldOutputParsers_data();
void testAbldOutputParsers();
void testSbsV2OutputParsers_data();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment