diff --git a/tests/auto/valgrind/memcheck/parsertests.h b/tests/auto/valgrind/memcheck/parsertests.h index 0059564cae5e7a8be15020c3ec8d7d10e57cfb00..91e74c8a53e3c165a7a29b63137d51c51f96fe0a 100644 --- a/tests/auto/valgrind/memcheck/parsertests.h +++ b/tests/auto/valgrind/memcheck/parsertests.h @@ -103,10 +103,8 @@ public: this, SLOT(internalError(QString))); connect(parser, SIGNAL(status(Valgrind::XmlProtocol::Status)), this, SLOT(status(Valgrind::XmlProtocol::Status))); - connect(runner, SIGNAL(standardErrorReceived(QByteArray)), - this, SLOT(standardErrorReceived(QByteArray))); - connect(runner, SIGNAL(standardOutputReceived(QByteArray)), - this, SLOT(standardOutputReceived(QByteArray))); + connect(runner, SIGNAL(processOutputReceived(QByteArray,Utils::OutputFormat)), + this, SLOT(handleProcessOutput(QByteArray,Utils::OutputFormat))); connect(runner, SIGNAL(logMessageReceived(QByteArray)), this, SLOT(logMessageReceived(QByteArray))); connect(runner, SIGNAL(processErrorReceived(QString, QProcess::ProcessError)), @@ -123,14 +121,9 @@ public slots: { qDebug() << "internal error received:" << error; } - void standardErrorReceived(const QByteArray &err) + void handleProcessOutput(const QByteArray &out, Utils::OutputFormat format) { - Q_UNUSED(err); - // qDebug() << "STDERR received:" << err; // this can be a lot of text - } - void standardOutputReceived(const QByteArray &out) - { - qDebug() << "STDOUT received:" << out; + qDebug() << "Output received:" << format << out; } void status(const Valgrind::XmlProtocol::Status &status) {