Update the unit tests to check for raster tiles failures

This commit is contained in:
Thiago Marcos P. Santos
2015-07-02 14:53:45 +03:00
parent e4cc06b798
commit f74bc9d8ce
2 changed files with 23 additions and 5 deletions

View File

@@ -55,7 +55,16 @@ TEST_P(PendingResources, DeleteMapObjectWithPendingRequest) {
// In the test data below, "sprite" will match both "sprite.json" and "sprite.png" and cause two
// requests to be canceled. "resources" will match everything but in practice will only test the
// cancellation of the sprites and "source.json" because we only load the rest after "source.json"
// cancellation of the sprites and "source_*.json" because we only load the rest after "source_*.json"
// gets parsed.
INSTANTIATE_TEST_CASE_P(Style, PendingResources,
::testing::Values("source.json", "sprite.json", "sprite.png", "sprite", "vector.pbf", "glyphs.pbf", "resources"));
::testing::Values(
"source_raster.json",
"source_vector.json",
"sprite.json",
"sprite.png",
"sprite",
"raster.png",
"vector.pbf",
"glyphs.pbf",
"resources"));