summaryrefslogtreecommitdiff
path: root/test/api
Commit message (Collapse)AuthorAgeFilesLines
...
* [core] set correct depth values for CustomLayer so compositing worksKonstantin Käfer2016-08-221-11/+34
|
* [tests] Include what we useThiago Marcos P. Santos2016-08-221-0/+1
|
* [tests] Add tests for shape overlays crossing the antimeridianJesse Bounds2016-08-191-0/+42
| | | | | | | | | | | | | | | | This adds two tests: AntimeridianAnnotationSmall: Test that a shape that is represented with +-180 longitudinal values is drawn spanning the antimeridian. In other words, it is rendered as a "small" shape as opposed to one that spans around the world to reach the other side of the antimeridian. This test is currently failing at the time of this commit. AntimeridianAnnotationLarge: Test that a shape that is represented with points that do not cross the +-180 boundary is rendered as a "large" shape. In other words, it is rendered by wrapping around the world to reach the other side of the meridian. This test is currently passing at the time of this commit.
* [core] Compare unsigned int to unsigned int to pass tidy check (#5986)Jesse Bounds2016-08-121-1/+1
|
* [core, android, ios, macos] Replaced getPointAnnotationsInBounds() w/ ↵Minh Nguyễn2016-08-121-0/+8
| | | | | | | queryPointAnnotations() (#5165) queryPointAnnotations() accepts a screen rectangle instead of a geographic bounding box, so marker hit testing works at the edges of a rotated, tilted map view. Fixes #5151.
* [build] unify naming of Makefile targetsKonstantin Käfer2016-08-051-0/+1
| | | | | `make foo` just builds `make run-foo` builds and runs
* [core] Fixed test build errorsmacos-v0.2.1macos-0.2.1Minh Nguyễn2016-07-191-15/+0
| | | | Missed this bad merge from #5729.
* Merge branch 'release-ios-v3.3.0'Minh Nguyễn2016-07-191-0/+15
|\
| * [core] Restored shape annotation z-orderMinh Nguyễn2016-07-181-0/+15
| | | | | | | | | | | | | | | | Shapes are once again always added to the top z-index. Fixes #5691. Cherry-picked from 74fe96d2617f870206ff358d7dfcafccf4e109bc.
* | [core] Restored shape annotation z-orderMinh Nguyễn2016-07-181-0/+15
| | | | | | | | | | | | Shapes are once again always added to the top z-index. Fixes #5691.
* | [core] Use PropertyValue<T> for Annotation line/fillBruno de Oliveira Abinader2016-07-131-6/+6
| |
* | [test] Added max zoom annotation testsBruno de Oliveira Abinader2016-06-281-0/+10
| |
* | [core] Avoid unnecessary work when a symbol annotation is updatedJohn Firebaugh2016-06-171-11/+9
| | | | | | | | In particular, if only the geometry changes, don't cascade and recalculate the style.
* | Color class (#5361)Young Hahn2016-06-151-4/+5
| | | | | | | | | | | | * Color class * Switch to list initialization
* | [tidy] Check modernize-use-autoBruno de Oliveira Abinader2016-06-131-1/+1
| | | | | | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-use-auto.html
* | [tidy] Check modernize-use-nullptrBruno de Oliveira Abinader2016-06-131-1/+1
| | | | | | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-use-nullptr.html
* | [core] fix pedantic warning messagesKonstantin Käfer2016-06-134-8/+8
|/
* [core, node, android] Remove used "base" parameter from setStyleJSONJohn Firebaugh2016-06-025-19/+19
|
* [core] Rationalize naming for style-related codeJohn Firebaugh2016-06-021-1/+2
|
* [core] Generalize Map::{add,remove}CustomLayerJohn Firebaugh2016-06-021-2/+2
|
* [tests] Tweak LineAnnotation test so that it reveals a bug; fix the bugJohn Firebaugh2016-06-021-1/+1
|
* [tests] Clean up annotation testsJohn Firebaugh2016-06-021-168/+90
|
* [all] Rationalize annotation APIJohn Firebaugh2016-06-011-30/+28
|
* [core] Use geometry.hpp types for shape annotationsJohn Firebaugh2016-06-011-11/+11
|
* [core] AnnotationTileLayer vends its own name (#5163)Minh Nguyễn2016-05-261-0/+20
| | | Fixes #5159.
* [core] move TileData and dependents to new *TileID classesKonstantin Käfer2016-05-101-1/+1
|
* Revert "[core] Do not clear custom layers upon style switch"Bruno de Oliveira Abinader2016-04-211-4/+0
| | | | This reverts commit 8ec875b87c387713d7e4df5c90e6cac7669ed38b.
* [core] Do not clear custom layers upon style switchBruno de Oliveira Abinader2016-04-211-0/+4
|
* [tests] Accept [C|c]onnect as error messageThiago Marcos P. Santos2016-04-201-1/+1
| | | | Qt will spit "Connect" instead of "connect"
* [tests] Use StubFileSource where a real FileSource is not requiredJohn Firebaugh2016-04-144-20/+20
|
* [core] Render from the main threadJohn Firebaugh2016-04-146-16/+69
| | | | Do not create a thread for the MapContext anymore.
* [ios] Run core unit tests in CIJohn Firebaugh2016-04-111-53/+0
|
* [build] Refactor and simplify build systemJohn Firebaugh2016-04-071-9/+1
| | | | | | | | | | | | | | * Main gyp files are now standardized as platform/<platform>/platform.gyp. * Each platform gyp file defines appropriate loop_lib and headless_lib variables. * Each platform gyp file includes mbgl.gypi, which defines base targets which may be useful to all platforms. * CI targets are consistent across platforms: `make $(PLATFORM) && make test-$(PLATFORM)`. * Renamed the "linux" test app to "glfw". It's now built in OS X CI. * Android build flakiness is fixed. * iOS CI builds the bench and iosapp targets. * Mesa version is now in one place. * CI scripts use bash "strict mode" and correct error handling. * All build output goes to the build directory. * Removed vestigial iOS/OS X/Android Travis scripts.
* [ios] make unit tests work on iOS and iOS SimulatorKonstantin Käfer2016-03-223-2/+12
|
* [test] rearrange test files so they're not in the fixtures folderKonstantin Käfer2016-03-227-11/+11
|
* [core] Remove goOffline() from DefaultFileSourceThiago Marcos P. Santos2016-03-081-1/+4
| | | | Use the newly added NetworkStatus::Set().
* Revert "[gl] Updated CustomLayer tests"John Firebaugh2016-02-181-24/+30
| | | | | | These tests are intended to reflect how someone using the custom layer feature might actually write their callbacks. Therefore the callbacks should not use mbgl-specific classes. This reverts commit 69112a2a09404cc0ee7089a9f1f81ff1feac586f.
* [gl] Updated CustomLayer testsBruno de Oliveira Abinader2016-02-181-26/+24
|
* [tests] Add test for Map::updatePointAnnotationJohn Firebaugh2016-02-121-3/+21
|
* [core] Reimplement existing caching within an offline-capable database schemaJohn Firebaugh2016-02-101-0/+50
|
* [core] Moving caching logic to DefaultFileSourceJohn Firebaugh2016-02-104-15/+15
| | | | This results in OnlineFileSource containing precisely the logic we want for reuse by OfflineFileSource, and no more.
* [core][ios][osx][android] make SpriteImage accept PremultipliedImageAnsis Brammanis2016-01-191-1/+1
| | | | | | | | | | | | the SpriteImage constructor signature changes from SpriteImage( uint16_t width, uint16_t height, float pixelRatio, std::string&& data, bool sdf = false); to SpriteImage(PremultipliedImage&&, float pixelRatio, bool sdf = false)
* [test] ensure static rendering finishes when a tile can't be loadedKonstantin Käfer2016-01-151-0/+63
|
* [core] Eliminate platform::assetRoot()John Firebaugh2016-01-131-3/+4
| | | | I regenerated assets.zip so that all file paths have an `assets/` prefix, as the Android AssetFileSource implementation asserts, and removed `TEST_DATA` from the paths.
* [core] Simplify asset:// implementationJohn Firebaugh2016-01-133-15/+15
| | | | | | | | * Move asset:// URL handling to DefaultFileSource. * AssetFileSource implements FileSource interface and follows familiar implementation patterns. * Move default implementation to platform/default, zip implementation to platform/android. * Don't bother with modified / expires / etag -- assets are not cached so it doesn't matter. * Don't bother with interleaving individual IO calls on the implementation thread. That adds a lot of complexity for very little benefit.
* [test] allow aborting rendering after a timeoutKonstantin Käfer2016-01-081-0/+4
|
* [tests] Test with OnlineFileSourceJohn Firebaugh2015-12-235-22/+22
| | | | | When we introduce OfflineFileSource, the behavior of existing tests should not change.
* [core] Fixed annotation icon replacementMinh Nguyễn2015-12-151-6/+25
| | | | Another pass at #3146, including a unit test.
* [core] Reduce custom layer API to lowest common denominatorJohn Firebaugh2015-12-111-11/+14
|
* [core] Custom layersJohn Firebaugh2015-12-092-38/+100
|