diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2022-05-20 17:53:20 +0200 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2022-05-30 10:10:33 +0000 |
commit | 7d848364ffe9b920bbe0c62ed04c15a22f398eee (patch) | |
tree | 46cdd7725e9f4e1d2a5f7a6b55b53b2c4d931daa /src/plugins/remotelinux/filesystemaccess_test.cpp | |
parent | 48e2f79e8b65994e787ebc24b540ad7485ec1ff5 (diff) | |
download | qt-creator-7d848364ffe9b920bbe0c62ed04c15a22f398eee.tar.gz |
Move FileTransfer into ProjectExplorer plugin
Make it ready for providing implementations for other devices.
Change-Id: I14eaf167a7b2c1189f4d23f2e9f556204295b9b3
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/remotelinux/filesystemaccess_test.cpp')
-rw-r--r-- | src/plugins/remotelinux/filesystemaccess_test.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/remotelinux/filesystemaccess_test.cpp b/src/plugins/remotelinux/filesystemaccess_test.cpp index ca27238b99..c0bb80cf99 100644 --- a/src/plugins/remotelinux/filesystemaccess_test.cpp +++ b/src/plugins/remotelinux/filesystemaccess_test.cpp @@ -25,10 +25,10 @@ #include "filesystemaccess_test.h" -#include "filetransfer.h" #include "linuxdevice.h" #include <projectexplorer/devicesupport/devicemanager.h> +#include <projectexplorer/devicesupport/filetransfer.h> #include <projectexplorer/devicesupport/sshparameters.h> #include <utils/filepath.h> #include <utils/processinterface.h> @@ -39,6 +39,8 @@ #include <QTest> #include <QTimer> +Q_DECLARE_METATYPE(ProjectExplorer::FileTransferMethod) + using namespace ProjectExplorer; using namespace Utils; @@ -230,7 +232,6 @@ void FileSystemAccessTest::testFileTransfer() FileTransfer fileTransfer; fileTransfer.setTransferMethod(fileTransferMethod); - fileTransfer.setDevice(m_device); // Create and upload 1000 small files and one big file QTemporaryDir dirForFilesToUpload; |