forked from qt-creator/qt-creator
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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user