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;
105 #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)