summaryrefslogtreecommitdiff
path: root/tests/manual/ssh/remoteprocess/remoteprocesstest.h
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@nokia.com>2011-11-29 10:18:10 +0100
committerhjk <qthjk@ovi.com>2011-11-29 14:00:39 +0100
commit57c0979012c43f329e61547c638d7935a1444439 (patch)
tree9117913c39029c9a2602ccc58656d1ba4ed68bda /tests/manual/ssh/remoteprocess/remoteprocesstest.h
parent59359905bf7820c91ae5b61aeeb46e9e5da52679 (diff)
downloadqt-creator-57c0979012c43f329e61547c638d7935a1444439.tar.gz
SSH: Support different read channels in SshRemoteProcess.
This is part of the effort to support more QProcess concepts. Change-Id: Idb888e733570a58d3810f371409b657b30bbd929 Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'tests/manual/ssh/remoteprocess/remoteprocesstest.h')
-rw-r--r--tests/manual/ssh/remoteprocess/remoteprocesstest.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/manual/ssh/remoteprocess/remoteprocesstest.h b/tests/manual/ssh/remoteprocess/remoteprocesstest.h
index bc1a381999..9a90f6a4b9 100644
--- a/tests/manual/ssh/remoteprocess/remoteprocesstest.h
+++ b/tests/manual/ssh/remoteprocess/remoteprocesstest.h
@@ -56,11 +56,14 @@ private slots:
void handleProcessClosed(int exitStatus);
void handleTimeout();
void handleReadyRead();
+ void handleReadyReadStdout();
+ void handleReadyReadStderr();
void handleConnected();
private:
enum State {
- Inactive, TestingSuccess, TestingFailure, TestingCrash, TestingTerminal, TestingIoDevice
+ Inactive, TestingSuccess, TestingFailure, TestingCrash, TestingTerminal, TestingIoDevice,
+ TestingProcessChannels
};
QString testString() const;
@@ -70,9 +73,11 @@ private:
QTextStream *m_textStream;
Utils::SshRemoteProcessRunner * const m_remoteRunner;
Utils::SshRemoteProcess::Ptr m_catProcess;
+ Utils::SshRemoteProcess::Ptr m_echoProcess;
Utils::SshConnection::Ptr m_sshConnection;
QByteArray m_remoteStdout;
QByteArray m_remoteStderr;
+ QByteArray m_remoteData;
State m_state;
bool m_started;
};