24 #ifndef ELEMENTSSERVICES_ELEMENTSSERVICES_DATASYNC_CONNECTIONCONFIGURATION_H_
25 #define ELEMENTSSERVICES_ELEMENTSSERVICES_DATASYNC_CONNECTIONCONFIGURATION_H_
33 namespace ElementsServices {
60 std::runtime_error(
"I don't know this hosting solution!") {
63 std::runtime_error(
"I don't know this hosting solution: " + hostName) {
89 bool overwritingAllowed()
const;
93 void parseConfigurationFile(
const path& filename);
97 void parseOverwritingPolicy(
const std::string& policy);
115 #endif // ELEMENTSSERVICES_ELEMENTSSERVICES_DATASYNC_CONNECTIONCONFIGURATION_H_
DataHost
The test data hosting solution.
defines the macros to be used for explicit export of the symbols
UnknownHost(const std::string &hostName)
A class to download test data from a data repository prior to the unit test run.
boost::filesystem::path path
#define ELEMENTS_API
Dummy definitions for the backward compatibility mode.
Exception raised when a hosting solution is not supported by the tool.
OverwritingPolicy
The overwriting policy if the local file already exists.
The connection configuration mainly holds:
OverwritingPolicy overwritingPolicy
ELEMENTS_API const std::string & hostName()
Host name.