diff options
author | Christian Kandeler <christian.kandeler@nokia.com> | 2010-10-05 16:09:45 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@nokia.com> | 2010-10-05 16:10:24 +0200 |
commit | d778af3b5579cbecd511002d9900e05b2371f26e (patch) | |
tree | 6a19e643aa9fd46ceb35469fcbd821758d07ab2b /tests/manual/ssh/sftp/sftptest.h | |
parent | 3d90463dd4d61b337c48c17a3bc26f5a9ac3a8ba (diff) | |
download | qt-creator-d778af3b5579cbecd511002d9900e05b2371f26e.tar.gz |
SSH: Finish Implementing SFTP test.
Diffstat (limited to 'tests/manual/ssh/sftp/sftptest.h')
-rw-r--r-- | tests/manual/ssh/sftp/sftptest.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/manual/ssh/sftp/sftptest.h b/tests/manual/ssh/sftp/sftptest.h index 199f612a1e..10d4e5b373 100644 --- a/tests/manual/ssh/sftp/sftptest.h +++ b/tests/manual/ssh/sftp/sftptest.h @@ -6,6 +6,7 @@ #include <coreplugin/ssh/sftpchannel.h> #include <coreplugin/ssh/sshconnection.h> +#include <QtCore/QElapsedTimer> #include <QtCore/QHash> #include <QtCore/QList> #include <QtCore/QObject> @@ -45,6 +46,8 @@ private: void earlyDisconnectFromHost(); bool handleJobFinished(Core::SftpJobId job, JobMap &jobMap, const QString &error, const char *activity); + bool handleBigJobFinished(Core::SftpJobId job, Core::SftpJobId expectedJob, + const QString &error, const char *activity); bool compareFiles(QFile *orig, QFile *copy); const Parameters m_parameters; @@ -60,6 +63,7 @@ private: Core::SftpJobId m_bigFileUploadJob; Core::SftpJobId m_bigFileDownloadJob; Core::SftpJobId m_bigFileRemovalJob; + QElapsedTimer m_bigJobTimer; }; |