19 #ifndef ELEMENTSSERVICES_ELEMENTSSERVICES_DATASYNC_DATASYNCHRONIZER_H_
20 #define ELEMENTSSERVICES_ELEMENTSSERVICES_DATASYNC_DATASYNCHRONIZER_H_
32 namespace ElementsServices {
44 "Unable to download file: '"
68 void downloadAllFiles()
const;
72 bool fileShouldBeWritten(
path localFile)
const;
74 bool fileAlreadyExists(
path localFile)
const;
78 path localFile)
const;
80 bool hasBeenDownloaded(
82 path localFile)
const;
86 path localFile)
const = 0;
98 #endif // ELEMENTSSERVICES_ELEMENTSSERVICES_DATASYNC_DATASYNCHRONIZER_H_
The dependency configurations holds, for each test file to be retrieved:
ConnectionConfiguration m_connection
defines the macros to be used for explicit export of the symbols
Base class to synchronize test data.
boost::filesystem::path path
#define ELEMENTS_API
Dummy definitions for the backward compatibility mode.
std::map< path, path > m_fileMap
An exception raised when downloading fails.
The connection configuration mainly holds:
DownloadFailed(path distantFile, path localFile)