24 #ifndef ELEMENTSSERVICES_ELEMENTSSERVICES_DATASYNC_DATASYNCHRONIZER_H_
25 #define ELEMENTSSERVICES_ELEMENTSSERVICES_DATASYNC_DATASYNCHRONIZER_H_
50 "Unable to download file: '"
75 void downloadAllFiles()
const;
79 bool fileShouldBeWritten(
path localFile)
const;
81 bool fileAlreadyExists(
path localFile)
const;
85 path localFile)
const;
87 bool hasBeenDownloaded(
89 path localFile)
const;
93 path localFile)
const = 0;
defines the macros to be used for explicit export of the symbols
The connection configuration mainly holds:
Base class to synchronize test data.
virtual std::string createDownloadCommand(path distantFile, path localFile) const =0
ConnectionConfiguration m_connection
virtual ~DataSynchronizer()=default
std::map< path, path > m_fileMap
The dependency configurations holds, for each test file to be retrieved:
An exception raised when downloading fails.
DownloadFailed(path distantFile, path localFile)
virtual ~DownloadFailed()=default
#define ELEMENTS_API
Dummy definitions for the backward compatibility mode.
Elements::Path::Item path