forked from organicmaps/organicmaps
Merge pull request #262 from ygorshenin/quick-fix-to-master
[storage, platform] Quick fix to master: added missed filex to index.
This commit is contained in:
commit
888aa5166e
2 changed files with 28 additions and 0 deletions
14
storage/storage_tests/test_map_files_downloader.cpp
Normal file
14
storage/storage_tests/test_map_files_downloader.cpp
Normal file
|
@ -0,0 +1,14 @@
|
|||
#include "storage/storage_tests/test_map_files_downloader.hpp"
|
||||
|
||||
#include "std/string.hpp"
|
||||
#include "std/vector.hpp"
|
||||
|
||||
namespace storage
|
||||
{
|
||||
void TestMapFilesDownloader::GetServersList(int64_t const mapVersion, string const & mapFileName,
|
||||
TServersListCallback const & callback)
|
||||
{
|
||||
vector<string> urls = {"http://localhost:34568/unit_tests/"};
|
||||
callback(urls);
|
||||
}
|
||||
} // namespace storage
|
14
storage/storage_tests/test_map_files_downloader.hpp
Normal file
14
storage/storage_tests/test_map_files_downloader.hpp
Normal file
|
@ -0,0 +1,14 @@
|
|||
#pragma once
|
||||
|
||||
#include "storage/http_map_files_downloader.hpp"
|
||||
|
||||
namespace storage
|
||||
{
|
||||
class TestMapFilesDownloader : public HttpMapFilesDownloader
|
||||
{
|
||||
public:
|
||||
// MapFilesDownloader overrides:
|
||||
void GetServersList(int64_t const mapVersion, string const & mapFileName,
|
||||
TServersListCallback const & callback) override;
|
||||
};
|
||||
} // namespace storage
|
Loading…
Add table
Reference in a new issue