diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-02-01 14:07:26 -0800 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-02-01 15:29:42 -0800 |
commit | 716997b99eed50ecf35fd1ec3124a85760a05753 (patch) | |
tree | d2314e6ba16273b4ab232d2c38995d1ce59210eb /src/mbgl/map/source.cpp | |
parent | 0e66d4dcc53fad046673346f3db83346ad54e3e8 (diff) | |
download | qtlocation-mapboxgl-716997b99eed50ecf35fd1ec3124a85760a05753.tar.gz |
[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.
Diffstat (limited to 'src/mbgl/map/source.cpp')
0 files changed, 0 insertions, 0 deletions