Debugger: Remove in-plugin dumper autotest handling

It's covered by tst_dumper nowadays.

Change-Id: Id6b91e5a4ad2ac2472d598c4f0ba4c95c334af6d
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
hjk
2013-06-07 13:29:11 +02:00
parent 2ddcc0c386
commit e40308ab1b
8 changed files with 2 additions and 211 deletions

View File

@@ -953,10 +953,6 @@ public slots:
void testRunProject(const DebuggerStartParameters &sp, const TestCallBack &cb);
void testRunControlFinished();
void testPythonDumpers1();
void testPythonDumpers2();
void testPythonDumpers3();
void testStateMachine1();
void testStateMachine2();
void testStateMachine3();
@@ -3576,39 +3572,6 @@ void DebuggerPluginPrivate::testFinished()
QVERIFY(m_testSuccess);
}
///////////////////////////////////////////////////////////////////////////
void DebuggerPlugin::testPythonDumpers()
{
theDebuggerCore->testPythonDumpers1();
}
void DebuggerPluginPrivate::testPythonDumpers1()
{
m_testSuccess = true;
QString proFile = ICore::resourcePath();
if (Utils::HostOsInfo::isMacHost())
proFile += QLatin1String("/../..");
proFile += QLatin1String("/../../tests/manual/debugger/simple/simple.pro");
testLoadProject(proFile, TestCallBack(this, "testPythonDumpers2"));
QVERIFY(m_testSuccess);
QTestEventLoop::instance().enterLoop(20);
}
void DebuggerPluginPrivate::testPythonDumpers2()
{
DebuggerStartParameters sp;
fillParameters(&sp, currentKit());
sp.executable = activeLocalRunConfiguration()->executable();
testRunProject(sp, TestCallBack(this, "testPythonDumpers3"));
}
void DebuggerPluginPrivate::testPythonDumpers3()
{
testUnloadProject();
testFinished();
}
///////////////////////////////////////////////////////////////////////////