Commit 5798225c authored by hjk's avatar hjk Committed by hjk
Browse files

debugger: fix test automation



Change-Id: I11bf4c597747fdae658954b7193ac3ee4f39b06f
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent b60f464c
......@@ -1729,7 +1729,6 @@ void DebuggerEnginePrivate::handleAutoTestLine(int line)
reportTestError(_("'Check' needs arguments."), line);
} else if (name.contains(QChar('.'))) {
m_engine->showMessage(_("variable %1 found in line %2 contains '.', but 'Expand' is not implemented yet.").arg(name).arg(line));
handleAutoTestLine(line + 1);
} else {
QByteArray iname = "local." + name.toLatin1();
QString found = m_engine->watchHandler()->displayForAutoTest(iname);
......@@ -1754,7 +1753,6 @@ void DebuggerEnginePrivate::handleAutoTestLine(int line)
reportTestError(_("'CheckType' needs arguments."), line);
} else if (name.contains(QChar('.'))) {
m_engine->showMessage(_("variable %1 found in line %2 contains '.', but 'Expand' is not implemented yet.").arg(name).arg(line));
handleAutoTestLine(line + 1);
} else {
QByteArray iname = "local." + name.toLatin1();
QString found = m_engine->watchHandler()->displayForAutoTest(iname);
......
Markdown is supported
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