24inline namespace Services {
28 : m_connectionConfig(connectionFile)
29 , m_distantRoot(m_connectionConfig.distantRoot)
30 , m_localRoot(m_connectionConfig.localRoot)
31 , m_dependencyConfig(m_distantRoot, m_localRoot, dependencyFile) {}
35 synchronizer->downloadAllFiles();
The connection configuration mainly holds:
A class to download test data from a data repository prior to the unit test run.
void download()
Download the test data.
path absolutePath(path relativePath)
Get the absolute path to a local test file which has been downloaded.
ConnectionConfiguration m_connectionConfig
DependencyConfiguration m_dependencyConfig
void downloadWithFallback(path connectionFile)
Download the test data and provide a fallback host in case the primary host fails.
ELEMENTS_API std::shared_ptr< DataSynchronizer > createSynchronizer(ConnectionConfiguration connection, DependencyConfiguration dependency)
Path::Item path
importing the path item from ElementsKernel