John Firebaugh
ed489e7649
[core] Remove MapData dependency from Style
2016-04-15 09:56:18 -07:00
John Firebaugh
6e78eabfff
[core] Clean up ThreadContext vestiges
2016-04-15 09:56:18 -07:00
Konstantin Käfer
db5ac4785f
[test] rearrange test files so they're not in the fixtures folder
2016-03-22 11:56:01 -07:00
John Firebaugh
7b39ce9521
[core] Remove ThreadContext::getFileSource; instead thread FileSource through
2016-02-18 15:15:24 -08:00
Bruno de Oliveira Abinader
bfafc360a7
[gl] Moved TexturePool to gl namespace
2016-02-18 13:27:35 +02:00
John Firebaugh
c2ab5b34a7
[tests] Fix build
2016-02-11 18:01:53 -08:00
John Firebaugh
e9302c797f
[all] Don't interpret 404s on non-tile resources as "no content"
2016-02-10 15:40:20 -08:00
John Firebaugh
19aa090bdc
[tests] Don't call the callback for cancelled responses
...
StubFileSource gets an optional Response return type. Returning null means "cancelled; don't call the callback".
Fixes #3784
2016-02-04 13:18:14 -08:00
John Firebaugh
716997b99e
[tests] Refactor and make MockFileSource more general
...
Now it works more like StubStyleObserver: you can assign std::functions to specific slots based on resource type.
Rewrite resource loading tests in that style, making them less like integration tests of Style and more like unit tests of Source, GlyphStore, and SpriteStore.
2016-02-01 15:29:42 -08:00