blob: 488ab5b5e0b2efd6bd84603ab7150e47ebc69e07 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#include "indexer/indexer_tests_support/test_with_custom_mwms.hpp"
#include "platform/local_country_file_utils.hpp"
#include "base/stl_add.hpp"
namespace indexer
{
namespace tests_support
{
TestWithCustomMwms::~TestWithCustomMwms()
{
for (auto const & file : m_files)
Cleanup(file);
}
// static
void TestWithCustomMwms::Cleanup(platform::LocalCountryFile const & file)
{
platform::CountryIndexes::DeleteFromDisk(file);
file.DeleteFromDisk(MapOptions::Map);
}
} // namespace tests_support
} // namespace indexer
|