Improve remote sync tests

This commit is contained in:
Jonathan White 2025-02-23 17:05:54 -05:00
parent af2d0b1429
commit 244ed42231
4 changed files with 36 additions and 35 deletions

View file

@ -19,15 +19,15 @@
#include "MockRemoteProcess.h"
MockRemoteProcess::MockRemoteProcess(QObject* parent, const QString& dbPath)
MockRemoteProcess::MockRemoteProcess(QObject* parent, QString dbPath)
: RemoteProcess(parent)
, m_dbPath(dbPath)
, m_dbPath(std::move(dbPath))
{
}
void MockRemoteProcess::start(const QString&)
{
QFile ::copy(m_dbPath, m_tempFileLocation);
QFile::copy(m_dbPath, m_tempFileLocation);
}
qint64 MockRemoteProcess::write(const QString& data)