Move MockFileSource to fixtures

It is going to be used by another test that needs to emulate
asynchronous requests.
This commit is contained in:
Thiago Marcos P. Santos
2015-07-10 20:43:41 +03:00
parent 8a9665b085
commit 0d44402628
6 changed files with 6 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
#include "../fixtures/fixture_log_observer.hpp"
#include "../fixtures/mock_file_source.hpp"
#include "../fixtures/util.hpp"
#include "mock_file_source.hpp"
#include <mbgl/map/map.hpp>
#include <mbgl/map/still_image.hpp>

View File

@@ -1,7 +1,7 @@
#include "../fixtures/fixture_log_observer.hpp"
#include "../fixtures/util.hpp"
#include "../fixtures/mock_file_source.hpp"
#include "../fixtures/mock_view.hpp"
#include "mock_file_source.hpp"
#include <mbgl/map/map_data.hpp>
#include <mbgl/map/transform.hpp>

View File

@@ -1,6 +1,6 @@
#include "../fixtures/fixture_log_observer.hpp"
#include "../fixtures/mock_file_source.hpp"
#include "../fixtures/util.hpp"
#include "mock_file_source.hpp"
#include <mbgl/map/sprite.hpp>
#include <mbgl/util/run_loop.hpp>

View File

@@ -30,6 +30,9 @@
],
'sources': [
'fixtures/main.cpp',
'fixtures/mock_file_source.cpp',
'fixtures/mock_file_source.hpp',
'fixtures/mock_view.hpp',
'fixtures/util.hpp',
'fixtures/util.cpp',
'fixtures/fixture_log_observer.hpp',
@@ -83,9 +86,6 @@
'storage/http_other_loop.cpp',
'storage/http_reading.cpp',
'style/mock_file_source.cpp',
'style/mock_file_source.hpp',
'style/mock_view.hpp',
'style/pending_resources.cpp',
'style/resource_loading.cpp',
'style/sprite.cpp',