Commit Graph

90 Commits

Author SHA1 Message Date
Bruno de Oliveira Abinader
6ee8d7bb60 [node] Set style default camera upon each test suite run 2017-08-31 10:17:21 +03:00
Lauren Budorick
eaacc87901 Update gl-js SHA + ignore fill-extrusion-multiple test 2017-08-30 12:48:51 -07:00
Asheem Mamoowala
69b52367d3 [core][ios][macos][android]DDS-ify text-letter-spacing and text-max-width 2017-08-30 10:59:08 -07:00
Asheem Mamoowala
9491527eb6 Enable tests for #1350, #9704 2017-08-29 14:48:47 -07:00
Chris Loer
6cbeeff689 [core] Fix issue #9843 (overzoomed line label rendering glitch).
Ports fix for GL JS issue #5112.
Line label projection can't be based on tile geometry that's behind the plane of the camera.
The relevant tests are still ignored because the overzoomed collision behavior is different between native and JS.
2017-08-25 14:20:42 -07:00
Bruno de Oliveira Abinader
9fd03a3e90 [test] Un-ignore regressions/mapbox-gl-native#9792 2017-08-25 23:41:52 +03:00
Lauren Budorick
57d87e8ef2 Update ignores + suite_implementation 2017-08-23 18:21:05 -07:00
Chris Loer
18a54bc96b Skip test for issue #9792, as it currently causes the test harness to time out. 2017-08-18 10:53:26 -07:00
John Firebaugh
33407591f5 [tests] Ignore render test failures 2017-08-08 18:06:44 -07:00
Konstantin Käfer
e8bfcd0474 [core] fix rendering of fill outlines that have a different color than the fill itself 2017-08-07 10:41:06 +02:00
Nicki Dlugash
3faecfe2d5 Add native ignore for text-letter-spacing/property-function and zoom-and-property-function (#9669) 2017-08-01 16:39:09 -04:00
Nicki Dlugash
1194f31920 [test] Add native ignore for text-max-width/property-function and text-max-width/zoom-and-property-function (#9655)
[test] Add native ignore for text-max-width/property-function and text-max-width/zoom-and-property-function
2017-08-01 11:47:51 -04:00
Molly Lloyd
ba7574ec51 [core] modify texture coordinate scaling (#9153)
ignore unsupported dds property tests

fix tests

remove unneeded texture extent variable

bump gl-js to master
2017-07-27 14:54:03 -07:00
Lauren Budorick
a8ef2af353 [core][android][macos][ios] Implement property functions for line-join, text-justify, text-anchor (#9583) 2017-07-26 13:18:47 -07:00
John Firebaugh
c85193a0ad [core] Replace API.ZoomHistory test with integration test 2017-07-26 09:50:38 -07:00
John Firebaugh
a178248139 [node] Reset Style::Impl::lastError when loading a new style 2017-07-24 15:19:15 -07:00
John Firebaugh
264ca961bd [node] Protect against more badly behaved request implementations 2017-07-24 15:19:15 -07:00
John Firebaugh
ed29dfce43 [node] Rewrite request tests 2017-07-24 15:19:15 -07:00
Nicki Dlugash
30df562548 add native ignore for text-justify/property-function 2017-07-20 10:44:28 -07:00
Chris Loer
c0dd1103e0 [test] Add native ignore for 'text-anchor/property-function' (#9556) 2017-07-19 18:09:16 -07:00
John Firebaugh
fbbc8f2d7a [tests] Local ignores.json file for ignored integration tests 2017-07-12 14:33:38 -07:00
John Firebaugh
cdc5f8ff14 [tests] Enable set-style-* integration tests 2017-06-15 07:43:51 -07:00
John Firebaugh
f610e9bef9 [tests] Test updating icon and pattern images 2017-06-13 10:18:43 -07:00
John Firebaugh
9eba2a66d1 [core, node, darwin, qt] Remove support for paint classes 2017-05-15 09:45:55 -07:00
Asheem Mamoowala
5c52401d55 [core] Make Map.addImage tests pass (#8843)
Fix Node tests suite implementation to parse pixelRatio from style json
Premultiply images in the node binding before sending to mbgl core
2017-05-02 09:54:06 -07:00
Thiago Marcos P. Santos
1470ee7db6 [node] Add test for request not found 2017-04-20 18:46:35 +03:00
Thiago Marcos P. Santos
51ebb96b1d [node] Add map.cancel()
Cancels an ongoing rendering.
2017-04-20 18:46:35 +03:00
Thiago Marcos P. Santos
d767545f72 [node] Benchmark/stress test
Tries to simulate the workload from api-gl.
2017-04-20 18:46:35 +03:00
Thiago Marcos P. Santos
761cd136a8 [node] Add request failure tests
Test for timeout and when the request fails.
2017-04-20 18:46:35 +03:00
Konstantin Käfer
9a9408e811 [core] Render parent raster tiles when ideal tile can't be loaded 2017-04-20 09:38:18 +02:00
Bruno de Oliveira Abinader
5e3308c5c0 [node] Update changes in MapObserver::onDidFailLoadingMap 2017-03-17 11:25:48 +02:00
Thiago Marcos P. Santos
5700c99e55 [node] Fix memory test hanging after GlyphAtlas refactoring (#8394)
Replies are assumed to be asynchronous after e3500c1f79.
2017-03-14 13:19:58 -07:00
Asheem Mamoowala
60d10dd27d [core] Add support for queryRenderedFeatures filter 2017-03-04 15:42:07 -08:00
Konstantin Käfer
6b0ad899b3 [node] adhere to node module naming requirements
https://nodejs.org/api/addons.html#addons_building specifies that "The module_name must match the filename of the final binary (excluding the .node suffix).". While the mismatch between `mapbox-gl-native` and `mapbox_gl_native` hasn't caused issues so far, we should play by the book.
2017-02-23 22:15:57 +01:00
Konstantin Käfer
62ea1f2185 [core] remove trailing whitespace, add trailing newlines, add space after // 2017-01-27 11:44:16 +01:00
John Firebaugh
9f9e820540 [build] Use test-suite integration tests from mapbox-gl-js 2017-01-09 19:05:28 -08:00
Bobby Sudekum
2988ca16c1 Add addImage, removeImage API (#7610) 2017-01-09 13:03:17 -08:00
John Firebaugh
07e58fe961 [tests] Fix variable reference in test-suite harness 2016-12-14 12:15:29 -08:00
John Firebaugh
e8a48a6d63 [node] Fix order of operations when setting zoom and center
Zoom must be set first, to avoid center potentially getting constrained.

Fixes #7351
2016-12-14 10:08:23 -08:00
John Firebaugh
3718e1fa15 [tests] Implement "wait" command with Map#render
This ensures that a "wait" command will always fully flush pending update flags. This was not the case with the prior conditional map.loaded() logic.
2016-12-12 16:49:02 -08:00
John Firebaugh
251035cd75 [node] Add setZoom and setPitch support 2016-11-17 13:48:00 -08:00
John Firebaugh
f1e10e31a5 [node] Revert semantics of Map#render 2016-11-17 13:48:00 -08:00
John Firebaugh
da725d7bf9 [node] Initial camera will be set automatically by style 2016-11-09 17:54:45 -08:00
Bruno de Oliveira Abinader
89f3270f72 [node] Added set{Bearing,Center} + updated -test-suite
This gives the ability to pan and/or rotate the map in a posterior step
after initial render for testing purposes.
2016-10-11 12:10:32 +03:00
Thiago Marcos P. Santos
edec56e6c5 [node] switch to NodeRequest member fn callback
For (hopefully) better performance than creating a new v8::Context to
wrap each callback while still avoiding leaking memory with v8::FunctionTemplate.

Adds a JavaScript shim in front of module.exports.Map to wrap the
req.respond API internally and preserve the public callback-passing
API, while still exporting the correct prototype.
2016-09-06 18:14:22 -04:00
Thiago Marcos P. Santos
05ba97b2b7 [node][tests] Add a test for making sure the map object throws on invalid style
Currently this error is not reported.
2016-08-25 22:05:00 +03:00
Mike Morris
480be63396 [node] move memory growth test into separate npm script
webp support in memory test
2016-07-14 13:47:02 -04:00
Thiago Marcos P. Santos
70337487d4 [node] Added memory test 2016-07-14 13:47:02 -04:00
Bruno de Oliveira Abinader
6c9e00be3a [node] Read 'options.showOverdrawInspector' 2016-06-20 13:24:20 +03:00
John Firebaugh
3f5ea169f5 [node] Partial implementation of runtime styling API for node bindings 2016-06-13 17:22:05 -07:00