24 #ifndef ELEMENTSSERVICES_ELEMENTSSERVICES_DATASYNC_DATASYNCHRONIZER_H_
25 #define ELEMENTSSERVICES_ELEMENTSSERVICES_DATASYNC_DATASYNCHRONIZER_H_
38 inline namespace Services {
50 : std::runtime_error(
"Unable to download file: '" + distantFile.
string() +
"' as: '" + localFile.
string() +
68 void downloadAllFiles()
const;
71 bool fileShouldBeWritten(
path localFile)
const;
73 bool fileAlreadyExists(
path localFile)
const;
75 void downloadOneFile(
path distantFile,
path localFile)
const;
77 bool hasBeenDownloaded(
path distantFile,
path localFile)
const;
90 namespace ElementsServices = Elements::Services;
92 #endif // ELEMENTSSERVICES_ELEMENTSSERVICES_DATASYNC_DATASYNCHRONIZER_H_
std::map< path, path > m_fileMap
DownloadFailed(path distantFile, path localFile)
The dependency configurations holds, for each test file to be retrieved:
defines the macros to be used for explicit export of the symbols
ConnectionConfiguration m_connection
#define ELEMENTS_API
Dummy definitions for the backward compatibility mode.
Base class to synchronize test data.
Path::Item path
importing the path item from ElementsKernel
The connection configuration mainly holds:
An exception raised when downloading fails.