tst_QtcProcess: Get rid of lineCallbackIntern() test

This test introduced some additional private API to QtcProcess.
This makes refactorings of QtcProcess harder, as we need to
handle this artificial code working.

We have a real lineCallback() test instead which doesn't
employ this private API.

Change-Id: Idbc314210cecc2044e1ccc298e5d3e0a9747e811
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
Jarek Kobus
2022-04-11 10:14:45 +02:00
parent 7574ec3e21
commit 2794b5e543
3 changed files with 0 additions and 44 deletions

View File

@@ -1240,23 +1240,6 @@ void QtcProcess::close()
d->m_process->close();
}
void QtcProcess::beginFeed()
{
d->clearForRun();
}
void QtcProcess::endFeed()
{
d->handleFinished(0, QProcess::NormalExit);
}
void QtcProcess::feedStdOut(const QByteArray &data)
{
d->m_stdOut.append(data);
d->m_hangTimerCount = 0;
emit readyReadStandardOutput();
}
QString QtcProcess::locateBinary(const QString &binary)
{
const QByteArray path = qgetenv("PATH");