summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [test-runner] Share common code between test runnersJuha Alanen2020-02-182-82/+3
| | | | Also remove some unnecessary files.
* [core] Add unit test for Style::Impl::onSpriteLoadedAlexander Shalamov2020-02-178-2/+137
|
* [core] Implement 'in' expression. (#16162)Kevin Li2020-02-153-2/+41
| | | | | | | | | | | | | | | | | | * 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-runner] Share common code between iOS test runnersJuha Alanen2020-02-1412-192/+2
|
* [test] Add iOS unit test runnerJuha Alanen2020-02-1429-11/+699
|
* [test] Fix failing tests on iOSJuha Alanen2020-02-145-8/+11
|
* [core] Add unit testAlexander Shalamov2020-02-141-0/+36
|
* [core] Use atomic int in Map.PrefetchDelta* unit testsAlexander Shalamov2020-02-121-4/+6
|
* Add support for expression testzmiao2020-02-124-0/+109
| | | | | | | Fix polygon within algorithm Add Unit tests Fix incorrect metrics folder for ios-render-test-runner job
* Enable parse within expressionzmiao2020-02-121-10/+30
| | | | Add geometry type checker
* [core] sort symbols using symbol-sort-key before placement (#16023)Ansis Brammanis2020-02-112-1/+25
| | | | fix #15964 partially port mapbox/mapbox-gl-js#9054
* Add Style.AddRemoveImage unit testMikhail Pozdnyakov2020-02-111-0/+16
|
* [core] Loading images to style optimizationMikhail Pozdnyakov2020-02-114-20/+22
| | | | | | This change enables attaching images to the style with batches and avoids massive re-allocations. Thus, it improves UI performance especially at start-up time.
* [core] Add unit test for Source::setPrefetchZoomDeltaAlexander Shalamov2020-02-111-0/+132
| | | | | Test verifies that tile pyramid will request only 4 tiles for current zoom level, if Source's setPrefetchZoomDelta is 0.
* [core] Make CustomGeometrySource::TileOptions immutableAlexander Shalamov2020-02-111-6/+15
|
* [core] Override default prefetch delta if source has it's own settingAlexander Shalamov2020-02-111-9/+11
|
* [build] Remove unused filesThiago Marcos P. Santos2020-02-071-135/+0
| | | | | Buck build is no longer needed, neither is the previous CMake buildsystem.
* [build] Move the `next` buildsystem to the rootThiago Marcos P. Santos2020-02-072-1/+189
| | | | | | | | This will make the `next` buildsystem no longer the `next`, but the `actual`. The idea is to simplify the build, removing scripts, to make the platform buildsystem generated by CMake more compatible with IDEs and make development more streamlined. It will also make cross compilation easier.
* Add OfflineDatabase.UpdateDatabaseReadOnlyMode unit testMikhail Pozdnyakov2020-02-071-0/+16
|
* Add OfflineDatabase.PutResourceReadOnlyMode unit testMikhail Pozdnyakov2020-02-071-0/+27
|
* [core] Add unit test for global settings objectAlexander Shalamov2020-02-062-0/+49
|
* [test] Enable HTTP server on AndroidJuha Alanen2020-02-063-3/+3
|
* [test] Improve the stability of a test on AndroidJuha Alanen2020-02-061-3/+10
|
* [build] Adding a build flag to build without GL if needed (#16120)Thomas Moenicke2020-02-033-15/+15
| | | | | | * [build] Adding a build flag to build without GL if needed * [build] Moving custom layer to mbgl/gl
* [build] Enable unit tests for Qt MacOS builds in CIJuha Alanen2020-01-301-0/+0
|
* [test] Remove node.js based HTTP serverJuha Alanen2020-01-303-263/+0
|
* [test] Switch to C++ HTTP serverJuha Alanen2020-01-304-1/+216
|
* [core] Add unit test for pausing & resuming database fsAlexander Shalamov2020-01-272-0/+26
|
* Add CrossTileSymbolLayerIndex.offscreenSymbols testMikhail Pozdnyakov2020-01-221-1/+54
|
* [core] Do not index and place the off-screen symbols for overscaled tilesMikhail Pozdnyakov2020-01-221-11/+11
| | | | | For overscaled tiles the viewport might be showing only a small part of the tile, so we filter out the off-screen symbols to improve the performance.
* [core] Simplify CrossTileSymbolIndex::addLayer()Mikhail Pozdnyakov2020-01-221-15/+15
|
* [core] implement stretchable icons for icon-text-fitKonstantin Käfer2020-01-152-20/+21
|
* [core] move icon rotation from shaping to quad generation to mirror JSKonstantin Käfer2020-01-152-24/+25
|
* [core] Remove unused WritingMode from getIconQuadsKonstantin Käfer2020-01-151-12/+12
|
* [core] Change ImagePosition from storing non-padded rect to padded rect to ↵Konstantin Käfer2020-01-151-1/+1
| | | | mirror the JS implementation
* [core] parse stretchX, stretchX, and content from sprite JSON filesKonstantin Käfer2020-01-151-139/+317
|
* [core] Add stretches and content to style::ImageKonstantin Käfer2020-01-152-23/+96
|
* [core] getGlyphQuad -> getGlyphQuadsKonstantin Käfer2020-01-151-12/+47
|
* [core] Modularize FileSource codebase (#15768)Alexander Shalamov2020-01-1321-348/+386
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [core] Introduce FileSourceManager and use it for default platform impl - Add `FileSourceManager` interface that provides access to `FileSource` instances and means of registering / unregistering `FileSource` factories - Split `DefaultFileSource` into smaller parts - Add `DatabaseFileSource` interface and it's default implementation - Remove inter-dependencies between concrete `FileSource` classes * [build] Add files to next build system * [core] Add generic property setters / getters * [core] Remove setOnlineStatus from OnlineFileSource interface * [core] Hide threading implementation details from DatabaseFileSource interface * [core] Make DB file source methods virtual * [core] Add documentation for DatabaseFileSource and rename one method * [core] Use simple callback instead of ActorRef * [core] Remove ActorRef from OnlineFileSource public header * [core] Add callback to FileSource::forward async API * [core] Pass OfflineRegionDefinition by value * [core] Update tests to use modular file sources * [core] Update unit tests * [core] Update unit tests after rebase * [core] Backport low prio fix for cached requests * [core] Backport pack database * [core] Return removed factory from unRegisterFileSourceFactory * [core] Rename shadowed args in onlinefilesource * [core] Remove simple std::function callback aliases * [core] Expose online file source property keys in public header file * [test-runner] Add proxy file source test runner * [cache] Update mbgl-cache utility to use new file source * [metrics] Rebaseline binary size metrics * [offline] Update offline utility * [core] Update changelog
* [test] Increase the threshold for Map.Offline test on AndroidJuha Alanen2020-01-101-1/+4
|
* [test] Skip number-format expression tests on AndroidJuha Alanen2020-01-101-0/+6
|
* [test] Run unit tests as NativeActivity application on AndroidJuha Alanen2020-01-1019-8/+412
|
* [android][core] Add `Map::latLngBoundsForCameraUnwrapped` and jni binding ↵Peng Liu2020-01-091-0/+42
| | | | | | | | | for `getVisibleCoordinateBounds`. (#16069) * [android] Add getVisibleCoordinateBounds method. * Fix Map::latLngBoundsForCamera, add Android binding for getVisibleRegionBounds. * Add unit tests for CameraToLatLngBoundsWithRotation and CameraToLatLngBoundsCrossDateLine. * Move API breaking changes to a new method name latLngBoundsForCameraUnwrapped.
* [core] Offline download must clear batch buffer at load interruptMikhail Pozdnyakov2019-12-181-1/+82
| | | | | | | Otherwise, the stale buffer data are processed again at the repeated load. It is causing various problems like missing load completion notification or crashes (if the previously used observer instance has been deleted).
* Include padding when testing camera scale in cameraForLatLngBoundsAleksandar Stojiljkovic2019-12-171-10/+24
| | | | | Repurpose LatLngBoundsToCameraWithBearingAndPitch to test scaling and camera setup, both with and without padding. This adds testing of path not covered in mapbox/mapbox-gl-native-ios#59.
* [core] Enable 'line-sort-key' and 'fill-sort-key' layout properties (#15839)Andrew Hay Kurtz2019-12-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Generate style code for 'line-sort-key' and 'symbol-sort-key' - Add new layout properties to FillLayer::Impl, FillBucket, and FillLayerFactory - Fix consistency of paint and layout properties type alias usage in FillBucket, LineBucket - Add optional feature sorting to fill and line Layout creation - Enable node render tests for fill-sort-key and line-sort-key - Fix FillBucket test construction - Prefer emplace_back to push_back for PatternFeature container - Fix buggy static_cast for PatternFeature indices - Maintain sort of features as they are created - Switch pattern layout features container to list from vector for better insert performance - Fix formatting expected by sanity check - Use subclass PatternLayoutSorted to work around lack of template functions - Fix to retain source order for features with equivalent sort keys during sorting - [core] Fix clang-format - [core] Address review comments - [core] Pass inserting strategy class at compile time - [core] Use sorted strategy only if sort key is defined in layout - [core] Update style generator - [core] Merge PatternLayout and PatternLayoutSorted classes - Use static methods for inserter strategies - Merge PatternLayout and PatternLayoutSorted classes
* [tests] Fix -Werror=shadow issues in the unit testsThiago Marcos P. Santos2019-12-124-124/+85
|
* [core] Add unit test for calculateTileDistancesAlexander Shalamov2019-12-092-0/+28
|
* [core] Add unit test for getAnchors and remove unused fieldAlexander Shalamov2019-12-093-2/+133
|
* [core] Add unit test for tagged string's image sectionsAlexander Shalamov2019-12-021-0/+17
|