summaryrefslogtreecommitdiff
path: root/test/fixtures
Commit message (Collapse)AuthorAgeFilesLines
* [test] Distance expression: Update unit testszmiao2020-04-303-0/+288
|
* [core] Distance expression: Remove code and comments related to unit argumentzmiao2020-04-282-2/+2
|
* Add test for PingFang TC SemiboldAlexander Shalamov2020-04-241-0/+0
|
* [ios, macos] Get glyph metrics from fontMinh Nguyễn2020-04-241-0/+0
| | | | | | Get glyph metrics from the font in the process of drawing each glyph into a bitmap context. These metrics result in more accurate kerning and better aligned baselines than the previous hard-coded values. Align iOS/macOS local glyph rasterization test fixture to Qt.
* [ios, macos] Corrected PingFang test fixtureMinh Nguyễn2020-04-241-0/+0
| | | | PingFangTC-Regular is better than PingFangTC-Thin. There is no font by the name “PingFang”.
* [core] Distance expression: Change template class into template function in ↵zmiao2020-04-222-2/+2
| | | | | | geometry_util, add range assertion for distance contaniner IndexRange Change distance units to small letters, update tests accordingly
* [core] Distance expression: add unit tests for distance expressionzmiao2020-04-228-0/+838
|
* [core] Add unit tests for ambient cache sizeAlexander Shalamov2020-03-071-0/+0
|
* [core] Add snapshotter unit testsAlexander Shalamov2020-03-052-2/+2
|
* [core] Add unit test for Style::Impl::onSpriteLoadedAlexander Shalamov2020-02-175-0/+67
|
* [core] Implement 'in' expression. (#16162)Kevin Li2020-02-152-0/+40
| | | | | | | | | | | | | | | | | | * Implement in.cpp * Fix review comments. * Add expression_equality test for 'in' * Fix review comments. * [core] Update changelog. * [core] Update mapbox-gl-js * [core] Ignore render-tests/debug/padding * [core] Update baseline.
* [test] Fix failing tests on iOSJuha Alanen2020-02-141-0/+0
|
* Add support for expression testzmiao2020-02-122-0/+8
| | | | | | | Fix polygon within algorithm Add Unit tests Fix incorrect metrics folder for ios-render-test-runner job
* [build] Enable unit tests for Qt MacOS builds in CIJuha Alanen2020-01-301-0/+0
|
* [core] Implement image expression (#15877)Alexander Shalamov2019-11-112-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [core] Bump gl-js version * [core] Implement image expression * [core] Use new image expression * [core] Coerce image expression to / from string * [core] Serialize evaluated image * [core] Pass available images to layout * [core] Pass images to evaluation context * [core] Set available flag value based on image availability * [core] Allow image coercion to boolean to indicate image availability * [core] Coalesce image expression * [core] Add image expression to next build system * [core] Align serialization format and evaluated type with gl-js * [core] Add images to expression evaluation method * [core] Add support for Image expression to expression test runner * [core] Unskip image expression tests * [core] Update unit tests * [core] Use image expression in annotation manager * [core] Add string to ImageExpression conversion * [core] Add image expression to expression dsl * [core] Convert tokens for implicitly created Image literal * [core] Fix clang format * [core] Split generated style code lines that are over 120 characters * [core] Add unit test for image expression equality * [core] Add image property expression evaluation unit test * [core] Unskip image expression render test * [core] Skip 'in' expression tests * [core] Ignore fill-pattern/update-feature-state render test * [core] Rename Image::serialize to Image::toValue
* [core] Enable incremental vacuum for Offline DBMikhail Pozdnyakov2019-10-221-0/+0
| | | | Thus we avoid re-creating the whole database and keeping the backup file as it happens on calling VACUUM.
* [core][qt] Update unit tests and include Korean symbolsAlexander Shalamov2019-08-287-2/+2
| | | | | | | - Decrease pixelmatch tolerance for local glyph rasterizer - Add Korean symbols to test fixture - Fix ifdefs, as the QT and Apple related blocks were using same results - Add NotoSansCJK test for QT / Linux platform
* Add unit test and fixtureAsheem Mamoowala2019-08-211-0/+0
|
* [tests] Update test expecationsThiago Marcos P. Santos2019-06-284-0/+0
|
* [core] include Hiragana and Katakana glyph ranges to LocalGlyphRasterizerThiago Marcos P. Santos2019-06-281-8/+8
| | | | Fixes #14993
* [core] Add number-format expressionJuha Alanen2019-06-276-0/+48
|
* [test] add new OffscreenTexture testKonstantin Käfer2019-05-281-0/+0
|
* [core] Offset viewport center when edge insets are specifiedAleksandar Stojiljkovic2019-05-282-0/+0
| | | | | | | | | | | | | | | | | | | | | The change is implemented in TransformState::getProjMatrix, the rest of the code is making sure that existing API contracts stay and there are tests verifyingrendering and render query processing only items within screen and given tolerance around screen edges. MapView: don't bake edge insets into relalculated camera center. Keep edge insets as property of camera in TransformState (similar to pitch, zoom, bearing) independent from specified camera center. Interpolate edge insets in animation. iOS Demo app: "Turn On/Off Content Insets" pitch the camera and navigate to convenient location in Denver, where streets are parallel to cardinal directions, to illustrate viewport center offset when edge insets are set. Tests: ViewFrustumCulling: although Annotations are deprecated, queryRenderedFeatures related tests in Annotations would need to get ported and decided to add the edge insets related query tests next to them. Verify frustum culling (render+queryRenderedFeatures) With different camera and edge insets setups. TODO: port Annotations tests. Transform.Padding: Verify that coordinates take proper place on screen after applying edge insets. LocalGlyphRasterizer: verify text rendering when applying padding. Related to #11882: both use projection matrix elements [8] and [9]. Alternative approach to this was to increase and offset map origin so that the screen would be a sub-rectangle in larger map viewport. This approach has a drawback of unecessary processing the items that are outside screen area. Fixes #12107, #12728, navigation-sdks/issues/120
* [core,ios,android] Update feedback URL in code and tests (#13710)Antonio Zugaldia2019-01-172-2/+2
| | | | | | * [core,ios] rename all occurrence of www.mapbox.com/map-feedback to apps.mapbox.com/feedback * [ios,android] rename all occurrence of www.mapbox.com/feedback to apps.mapbox.com/feedback
* [android] Add list of skipped core unit testsAlexander Shalamov2019-01-101-0/+0
|
* [Qt] Implement LocalGlyphRasterizerBruno de Oliveira Abinader2019-01-041-0/+0
|
* [core] Add unit tests for queryFeatureExtensionsAlexander Shalamov2018-12-121-0/+2922
|
* Refactor util::fontStacks()Mikhail Pozdnyakov2018-11-191-0/+0
| | | | | | So that it does not downcast `Layer::Impl` instances. Also, an unneeded `std::vector` construction was removed from `Parser::fontStacks()`.
* [qt] Deprecate Qt4 and old versions of Qt5Thiago Marcos P. Santos2018-11-131-0/+0
| | | | Not enough adoption to keep the platform alive.
* [core] CameraOptions receives and outputs angle and pitch as degrees, not ↵Bruno de Oliveira Abinader2018-10-191-0/+0
| | | | radians
* [core,test] Update expression style parsing test fixture.Chris Loer2018-10-151-1/+1
| | | | Always clear errors before trying automatic coercion for a new compound expression overload.
* [core] Do not constrain on X axis in ConstrainMode::HeightOnlyBruno de Oliveira Abinader2018-10-021-0/+0
|
* [linux,qt] Remove remainder of WebP supportKonstantin Käfer2018-09-131-0/+0
|
* Add unit tests and fixtures for OfflineDatabase::mergeDatabaseAsheem Mamoowala2018-08-283-0/+0
|
* [core] Evict unused font stacks from GlyphManagerJohn Firebaugh2018-08-171-8/+8
|
* [core] harden OfflineDatabaseKonstantin Käfer2018-08-142-0/+0
|
* [core] Check all bucket dynamic_castsJohn Firebaugh2018-07-241-0/+0
| | | | A mismatch can occur when a layer changes from one type to another.
* [core] Replace {Source,Camera,Composite}Function with PropertyExpressionJohn Firebaugh2018-07-201-1/+1
|
* [tests] Replaced the ZoomHistory test with a render testJohn Firebaugh2018-06-281-0/+0
|
* [test] Update Map.PrefetchTilesBruno de Oliveira Abinader2018-02-283-0/+0
|
* [tests] Added a test for getting resources from the databaseThiago Marcos P. Santos2018-02-261-0/+0
| | | | This test would have flagged the Qt regression.
* [core] don't force downloading of Open Sans fontsKonstantin Käfer2018-01-251-0/+3
| | | | When a SymbolLayer doesn't have a text-font defined, we automatically add Open Sans/Arial Unicode MS. However, when the SymbolLayer is only used for rendering icons, it doesn't have text-field defined either. In those cases, we still force downloading Open Sans/Arial Unicode MS during offline pack creation. If the user doesn't use this font, this change should save ~15MB and a few seconds in download time.
* [core] fix style parsing crash when a layer's paint property is not an objectKonstantin Käfer2018-01-232-0/+15
|
* [core] Add warning for invalid text-font valuesJohn Firebaugh2018-01-102-0/+149
|
* [core, macos, ios] Unit tests for LocalGlyphRasterizerChris Loer2017-12-114-0/+196
| | | | | | Core test uses stubbed "glyph.pbf" without Chinese glyphs Darwin test relies on locally available "PingFang" font. Android test relies on locally available "Droid" font. 'expected.png' is NOT correct b/c I haven't figured out how to run unit tests on Android yet.
* [core] Custom Geometry SourcesAsheem Mamoowala2017-11-221-0/+0
|
* [core] Split MapMode::Still into Static and TileAnsis Brammanis2017-11-171-0/+0
| | | | | `Tile` makes sure the symbols in the resulting tile are tileable while symbols in `Still` match rendering in `Continuous` mode.
* [core] Update unit tests for viewport collision.Chris Loer2017-11-172-4/+8
| | | | Add 'GridIndex' unit test.
* Implement Expressions (#9439)Anand Thakker2017-11-0894-0/+870
| | | Ports https://github.com/mapbox/mapbox-gl-js/pull/4777 (and its several follow-ups)
* [test] Added GLContextMode.Shared utestBruno de Oliveira Abinader2017-11-011-0/+0
|