Commit Graph

65 Commits

Author SHA1 Message Date
Raul Ochoa
d478fdc1b0 Adds key property to torque layers to keep property publicaly exposed 2015-12-15 14:53:46 +01:00
Raul Ochoa
2d5542a28c Allow to render several keys/steps with a given range
- At low level point renderer now allows to receive several keys
 in renderTile.
- leaflet and gmaps layers expose renderRange(start, end) to be able
 to set and render a range of steps.

This closes #246
2015-12-14 10:56:07 +01:00
Raul Ochoa
5413f4cb82 Moves suite-bundle.js to dist dir inside test folder 2015-12-10 12:35:25 +01:00
Nicklas Gummesson
b6169fb31a Implement possibility to set and remove a steps range 2015-11-24 18:34:46 +01:00
javi santana
9fe8d9b7f3 Merge pull request #225 from CartoDB/get_values
getValues function added
2015-10-02 18:53:21 +02:00
javi
cf683238eb removed unnused var 2015-10-02 17:31:26 +02:00
javi
ff269a5ecf added getValues to fetch values for step. Also adds some signals needed to be able to use it and some fixes to the makefile 2015-10-02 17:29:53 +02:00
Francisco Dans
aa8c61b442 var name change 2015-10-01 18:46:33 +02:00
Francisco Dans
9cc7779858 one more test 2015-10-01 18:42:55 +02:00
Francisco Dans
3099b7b881 adds tilejson to suite 2015-10-01 18:42:42 +02:00
Francisco Dans
3eb011360b adds tilejson provider tests 2015-10-01 15:32:58 +02:00
Francisco Dans
39773b3151 puts tests in module 2015-08-05 14:40:52 +02:00
Francisco Dans
3a10865f09 fixes range test 2015-08-05 14:36:59 +02:00
Francisco Dans
e46de301f5 reduces posibility of race condition 2015-08-05 14:27:29 +02:00
Francisco Dans
b3c8cd76c6 de-asyncs another test 2015-08-05 12:55:34 +02:00
Francisco Dans
5be36ca15a now I'm using only non-legacy 2015-08-05 12:49:02 +02:00
Francisco Dans
288321b383 uses legacy async testing 2015-08-05 12:35:06 +02:00
Francisco Dans
429e2d5852 de-asyncs a test 2015-08-05 12:34:55 +02:00
Francisco Dans
ea1d7dc48a comments out usual suspects to see what's up 2015-08-05 12:24:07 +02:00
Francisco Dans
2e03c784ae palos de ciego 2015-08-05 12:20:46 +02:00
Francisco Dans
f9bf4264b3 avoids race condition 2015-08-04 20:40:24 +02:00
Francisco Dans
388ef63f4d fixes loop test 2015-08-04 19:03:56 +02:00
Francisco Dans
8d1d55b7d1 adds test 2015-08-04 16:30:02 +02:00
Francisco Dans
83a622a3f0 removes console.log 2015-08-04 16:15:28 +02:00
Francisco Dans
3a06914cc2 FIX ALL THE TESTS 2015-08-04 15:45:11 +02:00
Francisco Dans
5017213a3b comments out test 2015-08-04 12:36:48 +02:00
Francisco Dans
64e12f4ea8 adds animator tests 2015-08-04 12:32:36 +02:00
Francisco Dans
00a93d8c48 comments out stuff so tests pass 2015-05-11 10:24:37 +02:00
Francisco Dans
c14eed8756 adds beginnings of animator tests 2015-05-04 11:05:48 +02:00
javi
a434bd8640 add support for maps_api_template 2015-03-31 15:20:35 +02:00
Raul Ochoa
916871365f image.compare returns the % difference against the reference image
As canvas can differ from one implementation to another make tests
to have a tolerance to differences.
2015-03-04 18:53:06 +01:00
Raul Ochoa
ddffe412c6 Do not ignore results directory but png files within it 2015-03-04 18:26:52 +01:00
Raul Ochoa
0305d15106 point renderer acceptance tests
point renderer test helper to get a canvas from a windshaft torque json, cartocss, zxy and step
2015-03-04 17:26:05 +01:00
Raul Ochoa
49b093d3de Adds mapnik and qunit dependencies for acceptance tests
Basic test with canvas
abstracts mapnik comparison in image test helper
Ignore temporal images `results` directory
2015-03-04 17:23:08 +01:00
Francisco Dans
ecb72d9e8a adds test for named maps params fix 2015-02-13 16:10:20 +01:00
Francisco Dans
8d8dbb29b4 changes test forming windshaft url 2015-01-12 16:47:51 +01:00
Raul Ochoa
9c5c290c4e Adds option to not fetch map when instantiating a windshaft provider.
Closes #74
2014-12-18 17:10:37 +01:00
Raul Ochoa
d2dd3353d3 Fixes json provider test 2014-12-09 18:11:10 +01:00
Raul Ochoa
f7d81998fc Fixes request test 2014-12-09 18:11:00 +01:00
Raul Ochoa
9f35092943 Fixes call to carto's getStyle 2014-12-09 18:10:09 +01:00
Raul Ochoa
e8fee1659b Fix suite, use make prepare-test-suite and open test/suite.html or
run `npm test`.
2014-12-09 18:06:56 +01:00
Raul Ochoa
86dd178abb Prepare tests to run with browserify 2014-12-09 15:46:03 +01:00
Raul Ochoa
936bfe227a Be more specific about real dependencies 2014-12-09 15:38:56 +01:00
javi
7ddd7652fe no render when maker-width = 0 or opacity = 0
there was no way to avoid rendering in some conditions, with this patch the points are not rendered when marker-width or opacity is 0. Thin lines are also not rendered, this avoid to spend extra time rendering them when there are really thin and avoid a safari rendering bug (think lines are rendered wider than they should)
2014-10-19 12:07:41 +02:00
javi
8f101d78fc send stat_tag in the url for windshaft 2014-10-02 09:07:49 +02:00
javi
8cd8d95e60 added interactivity methods for renderer and leaflet layer 2014-09-24 11:48:10 +02:00
Raul Ochoa
59f90aad47 Adds support for several auth_token param 2014-07-07 14:50:48 +02:00
javi
8211285a4c fixed windshaft provider with https 2014-02-25 16:04:20 +01:00
javi
95fcbffefc using final url /api/v1/map 2014-02-06 14:25:47 +01:00
javi
6788237ec7 fixed windshaft provider 2014-02-04 18:13:34 +01:00