summaryrefslogtreecommitdiff
path: root/platform/node/test
Commit message (Collapse)AuthorAgeFilesLines
* [build] Reorganize the render testsThiago Marcos P. Santos2019-12-161-109/+0
| | | | | | Move everything that might collect metrics to the metrics/ directory, the only test manifests inside the render-test/ directory are the unit tests of the probes.
* update mapbox-gl-js (#16022)Ansis Brammanis2019-12-091-1/+17
|
* [core] Implement image expression (#15877)Alexander Shalamov2019-11-111-6/+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] fix icon-text-fitKonstantin Käfer2019-10-141-0/+3
| | | | This fixes rendering by account for the 1px texture padding around icons that were stretched with icon-text-fit. We've added the 1px padding before, but didn't scale it accordingly when we are resizing the icon when it is stretched to fit the text. Adjusts the code to match the logic in GL JS.
* [core] map image type to string until we have a dedicated implementationKonstantin Käfer2019-10-141-0/+4
|
* [core] fix opacity interpolation for composition expressions (#15738)Ansis Brammanis2019-10-021-0/+1
| | | | port https://github.com/mapbox/mapbox-gl-js/pull/8818
* [node] enable feature state testsJuha Alanen2019-09-183-15/+9
|
* [build] Disable a test that requires a debug buildThiago Marcos P. Santos2019-09-171-0/+1
| | | | Overdraw debug layer is only available on debug builds.
* [core] DEMData: do decode on GPU (port mapbox/mapbox-gl-js#8694)Aleksandar Stojiljkovic2019-08-301-0/+1
| | | | | | | | | | | This is first part of work on porting mapbox/mapbox-gl-js#8694 - in follow up patch(es) it is required to remove CPU side copy using 2d canvas support on all supported platforms, similar to approach taken in gl.js https://github.com/mapbox/mapbox-gl-js/pull/8694/files#diff-34dbe5f7de34dc4b9a8745dcde9bdc37R48 Decoding on CPU removed. Padding is still done in DEMData() but, instead od doing it wwhile decoding, it is using memcpy to pad original values. Rebase to latest mapbox-gl-js master and re-generate shaders. Partly fixes: #15503
* [render tests] gl-native baseline for debug/collision- testsMikhail Pozdnyakov2019-08-261-5/+0
|
* [render test] mapbox-gl-native baseline for text-pitch-alignment testsMikhail Pozdnyakov2019-08-211-3/+0
|
* [core] Unskip icon-text-fit render testsAlexander Shalamov2019-08-201-13/+1
|
* Enable text-variable-anchor/{pitched-rotated-debug|rotated-offset} render testsMikhail Pozdnyakov2019-08-161-2/+0
|
* Indroduce clusterProperty option for aggregation (#15287)zmiao2019-08-161-1/+0
| | | | | | | | | | * indroduce clusterProperty option for aggregation * remove unnecessary codes * update geojson_option conversion * fix reviewing findings
* [core] Ignore updated icon-text-fit render testsAlexander Shalamov2019-08-151-1/+13
|
* [core] Unskip text-rotate/with-offset fixed by #14932Alexander Shalamov2019-08-131-1/+0
|
* Enable number format expression testsMikhail Pozdnyakov2019-08-131-4/+1
|
* Enable render tests flaky on node-gcc8Aleksandar Stojiljkovic2019-08-071-5/+0
| | | | We don't use node-gcc8 bot to run render tests and no need to have the tests ignored.
* [core] Enable opaque pass for background layer. fix heatmap+background test.Aleksandar Stojiljkovic2019-08-051-1/+0
| | | | | | Follow the approach from mapbox-gl-js for enabling opaque pass for background layer (same as for fill layer). Fix combinations/heatmap-translucent--background-opaque render test.
* [tests] Bump GL JS to run render test for #15139Thiago Marcos P. Santos2019-07-191-0/+3
| | | | https://github.com/mapbox/mapbox-gl-js/pull/8510
* Enable ignored but passing run-time styling tests (#6745)Aleksandar Stojiljkovic2019-07-091-2/+0
|
* Fix layers rendering after fill-extrusionAleksandar Stojiljkovic2019-07-091-18/+0
| | | | | | | | | | | | | | | | | | | | | This fixes following issues: * Fix some false passing combinations/fill-extrusion-translucent--XXXX tests * Fix and enable other, failing but ignored, combinations/fill-extrusion-translucent--XXXX tests * Fix rendering of layers that are on top of fill-extrusion layers state.getProjMatrix(nearClippedProjMatrix, 100) caused that tests with size 64x64 were not rendering fill extrusions: far plane calculated as 96.9 and near plane set to 100 was the cause. near plane is changed from hardcoded 100 to depend on state.getCameraToCenterDistance() - producing similar value but one that follows max zoom. This caused that e.g. combinations/fill-extrusion-translucent--fill-opaque was falsely passing as only fill-opaque layer got rendered. combinations/fill-extrusion-translucent--XXXX tests expose regression https://github.com/mapbox/mapbox-gl-native/issues/14844#issuecomment-503600034 in #14844, #14779. Fix (opaquePassCutoff, is3D) is ported from https://github.com/mapbox/mapbox-gl-js/pull/7821 Fixes: #14844, #14779, #15039
* [core] Implement C++ render test runnerBruno de Oliveira Abinader2019-06-251-1/+0
|
* [core] Ignore more flaky node render testsJason Wray2019-06-071-2/+5
|
* [core] Ignore flaky fill-pattern render testsJason Wray2019-06-041-0/+2
|
* [core] Fix symbol rendering under opaque fill layersJuha Alanen2019-06-041-1/+0
|
* [tests] Removed passing tests from the ignore listThiago Marcos P. Santos2019-05-231-5/+0
|
* [core] Pass legacy/categorical/*-default expression testsAnder Conselvan de Oliveira2019-05-211-6/+0
| | | | | Handle categorical function default value properly in conversion to expreexpression so related tests pass.
* [core] Fix legacy/{interval,exponential}/*-default expression testsAnder Conselvan de Oliveira2019-05-211-8/+0
| | | | | Consider the function default value in interval and exponential functions conversion.
* [core] Fix some of the legacy interval function expression testsAnder Conselvan de Oliveira2019-05-211-7/+0
| | | | | The tests for conversion of legacy interval functions to expressions expects that the first stop in the "step" expression be omitted.
* [core] Fix most identity function with default legacy expression testsAnder Conselvan de Oliveira2019-05-211-4/+0
| | | | | Add handling of default value to the conversion of legacy identity functions. The color and enum tests still don't pass though.
* [node] Convert legacy functions to expressions in NodeExpression::ParseAnder Conselvan de Oliveira2019-05-211-13/+0
| | | | | | | | In order to test the conversion from function to expressions using the legacy tests in the expression test suite, parse function objects into expressions in NodeExpression::Parse. v2: Coding style fixes.
* [core] upgrade mapbox-gl-js pin to the most recent versionKonstantin Käfer2019-05-081-0/+4
|
* [core] render extrusions directly in the main framebufferKonstantin Käfer2019-05-081-0/+1
|
* [core] Unskip symbol-sort-key render testsAlexander Shalamov2019-04-171-3/+0
|
* [core] Single line optimization for variable label placementMikhail Pozdnyakov2019-03-291-2/+2
|
* Enable text-variable-anchor render testsMikhail Pozdnyakov2019-03-291-18/+3
|
* [core, node] Use es5 syntax for imports in expressions testsAlexander Shalamov2019-03-111-3/+3
| | | | | Instead of forcing ES6 module syntax, at this point, it is less distruptive to fix expression tests to use ES5 import syntax.
* Revert "[core] Use ES6 import / export syntax for node test harness"Alexander Shalamov2019-03-113-11/+11
| | | | This reverts commit c6598fc5da063f9b60204639cd619647cbbc89da.
* [core] Use ES6 import / export syntax for node test harnessAlexander Shalamov2019-03-083-11/+11
|
* Update mapbox-gl-js submodule to v0.53.0Mikhail Pozdnyakov2019-03-061-1/+37
|
* Skip failing render testsMikhail Pozdnyakov2019-03-051-1/+5
|
* remove some outdated integration test ignores (#13800)Vladimir Agafonkin2019-01-281-5/+0
|
* [core] Do not consider X axis when constraining scaleBruno de Oliveira Abinader2018-11-291-0/+2
|
* [core] remove some uses of <iostream> and <sstream>Konstantin Käfer2018-10-231-2/+2
|
* [Core] Ensure queryRenderedFeatures accounts for icon-rotate (#13105)Ryan Hamley2018-10-181-1/+0
|
* [core] Initial implementation of 'format' expressionChris Loer2018-10-151-15/+2
|
* [core] Do not constrain on X axis in ConstrainMode::HeightOnlyBruno de Oliveira Abinader2018-10-021-6/+3
|
* [test] Bump gl-js pin.Chris Loer2018-09-191-2/+12
|
* [core] Make "to-number" of null behave as documentedJohn Firebaugh2018-09-131-0/+1
|