Konstantin Käfer
c5feadf0bd
[test] deliver error responses when the underlying request failed
2016-01-08 13:23:01 +01:00
John Firebaugh
16de579d7c
[core] Rationalize error handling for resource loading
...
* Standardize on std::exception_ptr as the error representation
(fixes #2854 ).
* Don't format textual strings at the error source; pass on the
constituent data via observer method parameters instead.
* Use the null object pattern to simplify observer notification code.
* Further refactoring for ResourceLoading tests.
2015-12-23 12:50:42 -08:00
John Firebaugh
896245e510
[test] Update test suite
2015-12-09 16:25:45 -08:00
John Firebaugh
46a6b03582
[node] Fix race condition in tests
...
The message callback races with the rest of this test. We already have
tests for errors being emitted from mbgl, so just remove it.
2015-11-18 16:53:11 -08:00
Mike Morris
5e58070dec
[node] make ratio optional, default to 1.0
2015-11-04 18:18:08 -05:00
Lucas Wojciechowski
da569c266b
[node] enable npm to build mapbox-gl-native package from source
...
This reverts commit 311bf93abe .
more explicit require paths in tests
2015-11-04 11:34:35 -05:00
John Firebaugh
014b517820
[node] Output debug logs when a render test times out
2015-10-28 15:54:34 -07:00
John Firebaugh
3bbb87c6d7
Update test-suite
2015-10-07 14:05:59 -07:00
John Firebaugh
2066295e35
Install RapidJSON from mason
2015-10-01 11:40:47 -07:00
Mike Morris
a101ab4cf5
[node] throw if a render is already pending, fixes #2247
2015-09-15 13:29:46 -04:00
Mike Morris
1296f91c82
[node] change request semantics
...
Passes a second, callback argument to the request implementation instead
of needing to call req.respond.
2015-09-10 15:58:29 -04:00
bsudekum
7cbf958c30
Add more tests to check for buffer
2015-09-04 12:24:54 -07:00
bsudekum
3db1421eb1
Return raw image buffer instead of an object
2015-09-04 12:01:34 -07:00
John Firebaugh
15a66b8989
Consolidate test-suite rendering harnesses ( #2236 )
2015-09-04 10:52:14 -07:00
Mike Morris
0e79d56b09
move package.json and binding.gyp to root, drop tiles.tilejson
2015-09-01 15:51:29 -04:00
John Firebaugh
c4c3b5bc71
Remove debug logging
2015-08-31 18:41:57 -07:00
John Firebaugh
55d25a80a7
In still mode, don't load resources until a render request is made
2015-08-31 18:09:11 -07:00
John Firebaugh
0918ad5a29
Clean up tests
2015-08-31 17:53:37 -07:00
John Firebaugh
e33abc975b
More logging
2015-08-31 17:35:46 -07:00
John Firebaugh
92f8372d0c
Always release map
2015-08-31 17:20:18 -07:00
John Firebaugh
41edb666ce
Fix render test script
2015-08-31 16:26:17 -07:00
Mike Morris
5a8be45497
fix consecutive.test.js suitePath
2015-08-28 16:56:22 -04:00
Mike Morris
80532f1378
update suitePath in consecutive.test.js
2015-08-28 16:30:01 -04:00
Mike Morris
6bfda4fcef
local nvm?
2015-08-28 15:49:25 -04:00
Mike Morris
c2539d6bd4
more logging, don't respond to cancelled requests
2015-08-27 15:23:46 -04:00
Mike Morris
580719c9f9
add request/respond logging
2015-08-27 15:11:42 -04:00
Mike Morris
e3ede563fb
use mapbox-gl-test-suite submodule, bump node deps
2015-08-26 11:35:08 -04:00
Mike Morris
94af30ff4a
migrate style test fixture to v8, handle errors more gracefully in render test
2015-08-25 14:57:23 -04:00
Mike Morris
6e6387e089
move node-mbgl to platform/node/ directory
2015-08-21 16:22:04 -04:00