Commit Graph

43 Commits

Author SHA1 Message Date
Mike Morris
d3104756af make 'cancel' function in FileSource optional
update README
2015-08-04 15:37:49 -04:00
Mike Morris
84a1e6d1c3 remove request coalescing tests 2015-08-04 15:06:36 -04:00
Mike Morris
99ba07deb3 accept options object argument to new mbgl.Map()
instead of requiring inheritence, drops mbgl.FileSource

pass NodeFileSource* around as v8::External
2015-08-04 15:06:25 -04:00
Thiago Marcos P. Santos
e6c442bf4e Adjusts tests for the new API
Unskip tests that should be passing now and adjust error
messages to reflect recent changes.
2015-06-22 08:49:53 +03:00
Mike Morris
e06bf232f4 request coalescing fixes #114 2015-06-15 14:52:35 -04:00
Thiago Marcos P. Santos
a6ea979ec5 Add test case for the request coalescing 2015-06-15 13:54:20 +03:00
Thiago Marcos P. Santos
0d2543675f Update the tests
Reflect the changes on the previous MBGL version bump and
unskip tests that should pass now.
2015-06-15 13:54:20 +03:00
Mike Morris
691ccff978 fix unhandled gzip test
Refs https://github.com/mapbox/mapbox-gl-native/pull/1632
2015-05-28 13:35:00 -04:00
Mike Morris
ed648f9eff skip failed request test 2015-05-28 13:35:00 -04:00
Mike Morris
fe3d6bbbd5 expose map.release() method 2015-05-28 13:35:00 -04:00
Mike Morris
16ec628d8e return an error if map.renderStill returns a std::exception_ptr
store exception_ptr on NodeMap

add test for map.render returning an error
2015-05-22 11:09:50 -04:00
Mike Morris
7ed3667092 pack images with pngjs
https://www.npmjs.com/package/pngjs
2015-05-18 16:12:41 -04:00
Mike Morris
62816a9476 skip unhandled bad gzip test 2015-05-05 13:44:52 -04:00
Mike Morris
3eb8ec9ca6 map.resize, close server after tests, not inside 2015-05-05 13:44:52 -04:00
Mike Morris
ca897ce407 bump mbgl
drop mbgl::Environment from NodeFileSource
switch to mbgl::Map::Mode::Still
2015-04-29 15:26:29 -04:00
Mike Morris
417741b13f adapt to still image render mode changes
https://github.com/mapbox/mapbox-gl-native/pull/1272

Some tests are hanging with no errors or log messages
when map.load is passed a style but never rendered.
2015-04-17 16:01:54 +02:00
Mike Morris
d42076528e string literal is not instanceof String
JavaScript is dumb.
2015-03-19 17:07:52 -04:00
Mike Morris
99edf8eb72 fail if no error is emitted in gzip unhandled test 2015-03-13 13:08:09 -04:00
Mike Morris
0c745d6825 catch errors only in gzip tests, not all log messages 2015-03-13 13:07:59 -04:00
Mike Morris
c0c0f2667b accept string or array of strings for source url 2015-03-13 12:57:06 -04:00
Mike Morris
a16a37fc0d reduce diff sensitivity so tests pass on linux, mkdirp.sync 2015-03-12 09:24:36 -07:00
Mike Morris
7ef8550fea minor organizational changes, compare Map test image 2015-03-11 16:47:40 -04:00
samanpwbb
204517a602 try less strict difference? 2015-03-10 20:46:49 -04:00
samanpwbb
d863516878 fix names 2015-03-10 20:38:19 -04:00
samanpwbb
0733de7d12 more cleanup 2015-03-10 20:24:56 -04:00
samanpwbb
b5f8942983 cleanup tests 2015-03-10 19:51:59 -04:00
samanpwbb
39694e5bf0 cleanup and add image comparisons to gz tests 2015-03-10 17:46:00 -04:00
Mike Morris
0cf80f34b2 EventEmitter.once in unhandled gzip 2015-03-10 00:45:43 -04:00
Mike Morris
71c724eaf3 only fail on pbf request, check exact error 2015-03-09 22:08:13 -04:00
samanpwbb
7864dca80a remove unused 2015-03-07 18:30:39 -05:00
samanpwbb
a886cdd695 add working tests for gzip handling 2015-03-07 18:07:52 -05:00
samanpwbb
fffb0f7df5 fix example
blah

real test

Still not writing tests correctly
2015-03-07 18:07:26 -05:00
Mike Morris
d2fd82c032 Revert "add tap-spec to format output"
This reverts commit 63dfba065d.
2015-02-18 17:02:43 -05:00
Konstantin Käfer
3a1123a1ef don't print filenames, but show imagemagick errors 2015-02-13 13:54:09 -08:00
Konstantin Käfer
63dfba065d add tap-spec to format output 2015-02-13 11:52:20 -08:00
Konstantin Käfer
a8837d92e4 convert tests to new return value 2015-02-13 11:52:04 -08:00
Mike Morris
2c5bd218de add concurrency test 2015-02-11 13:58:11 -08:00
Mike Morris
2e7dc62956 actual matches expected 2015-02-11 13:34:02 -08:00
Mike Morris
b87cff289c add mapbox-gl-test-suite render tests 2015-02-10 19:18:32 -08:00
Mike Morris
83b32ec1db move tests from mocha to tape 2015-02-10 17:07:49 -08:00
Konstantin Käfer
50461b1812 move style out of test file into fixtures directory 2015-02-06 11:02:20 +01:00
Konstantin Käfer
66ca191ab2 add first render test 2015-02-04 20:09:02 +01:00
Konstantin Käfer
07867edd47 initial version with updated build system 2015-02-04 18:21:39 +01:00