Marc Jansen
3ce93a51ed
Always load a gated URL polyfill when testing
...
Otherwise the tests fail to run in MS Edge, whose user agent doesn't
trigger the inclusion of the polyfill without `always`.
2016-10-19 15:12:24 +02:00
Peter Robins
250bb2f2be
Remove goog.Uri from tests
2016-07-04 13:12:55 +00:00
nicholas
4d26305564
Add polyfill for IE
2016-03-31 19:25:42 +13:00
Frederic Junod
cf23d0541c
Get rid of goog.json
...
Use JSON.parse and JSON.stringify instead.
2016-02-29 16:19:32 +01:00
Andreas Hocevar
ad6c731823
Use requestAnimation polyfill for examples and update release notes
2016-02-23 15:56:03 +01:00
Andreas Hocevar
2b451e7893
Remove goog.dom.ViewportSizeMonitor
2016-02-03 11:19:38 +01:00
Andreas Hocevar
3f2d79b7fe
Replace goog.events.Event/EventTarget system with our own
...
This also removes goog.events.listen, goog.events.unlisten,
goog.events.unlistenByKey and goog.events.BrowserEvent.
2016-02-03 11:19:38 +01:00
Bart van den Eijnden
230f24208b
Fix up EsriJSON format tests in IE9
2015-11-23 14:03:18 +01:00
Tim Schaub
98c9b0eb39
Update phantomjs and use mocha-phantomjs-core
2015-11-01 01:18:59 -07:00
Éric Lemoine
2e9f0f4890
Update test/index.html
2015-04-26 20:37:42 +02:00
Tim Schaub
291b033dbf
Report failures to the console
2014-09-28 22:27:07 -06:00
Andreas Hocevar
fc3ed93080
Use proj4.js from node_modules/ instead of copying it to build/
2014-07-09 15:33:13 +02:00
Andreas Hocevar
971c1137bc
Download and use new proj4js
2014-07-08 22:06:20 +02:00
Tim Schaub
93716fc7f0
Extend expect.js rather than modify the source
2014-07-06 12:40:03 -06:00
Tim Schaub
264a01cfd4
Add jquery as a dev dependency
2014-07-06 11:47:58 -06:00
Tim Schaub
8a3f1a8f34
Add mocha and mocha-phantomjs as dev dependencies
2014-07-06 11:40:08 -06:00
Tim Schaub
70cb7a4a0a
Add sinon as a dev dependency
2014-07-06 11:21:01 -06:00
Éric Lemoine
1626399c08
Use serve.js as the test server
2014-07-04 10:51:17 +02:00
Tim Schaub
f1f319d6ad
Preemptively set global properties
...
As mentioned in the comments, calling goog.getUid and goog.events.listen on the global object (as done in map.js and deviceorientation.js) set global properties. To let Mocha check for other leaks, we preemptively set these properties.
2013-09-15 14:22:41 -06:00
Tim Schaub
75fffd1f47
Making use of the closure-util package
...
This provides some initial development utilities for people using Node.
Instructions for installing:
npm install
After pulling down the dependencies, you can start a developement server that provides the libraries (ol and Closure Library) in debug mode (not minified/compiled). Run the dev server with the following:
npm start
Currently, the example index page needs to be built with `build.py`. After building that, you should be able to browse all static files, view the examples and run the tests.
2013-09-14 18:10:12 -06:00
Éric Lemoine
1d114b4630
two test pages, one for api, one for ol
2012-06-22 12:17:57 +02:00
Marc Jansen
f6a728b074
Do not loose URL-parameters passed to jasmine.
2012-06-22 12:14:35 +02:00
Tim Schaub
ba7b54949c
Bounds spec.
2012-06-21 19:59:43 +02:00
Éric Lemoine
1c7e0f8481
add an ol.TileCache and use it in ol.TileLayer
2012-06-21 19:00:09 +02:00
Marc Jansen
0374d1abc7
Add geom.Collection & geom.collection.
...
Also make MultiPoint and multipoint inherit from Collection/collection
respectively.
2012-06-21 16:00:08 +02:00
Petr Pridal
6ca9112af2
WebGL MapRenderer inicializaiton with a test (it may fail on computers without WebGL).
2012-06-21 15:51:00 +02:00
Éric Lemoine
5f1e53a0c9
move properties from layer/XYZ to layer/TileLayer
2012-06-21 12:42:36 +02:00
Marc Jansen
f85d6402e9
Add MultiPoint and multipoint.
2012-06-21 12:19:42 +02:00
Éric Lemoine
22bffd9d8b
add an OSM layer constructor to the API
2012-06-21 08:46:23 +02:00
Tim Schaub
be54add905
Width and height on unreferenced bounds.
2012-06-21 00:50:26 +02:00
Mike Adair
4ea2fe3701
adding features
2012-06-20 13:33:20 -04:00
Éric Lemoine
7413770a46
add an ol.layer.xyz factory
2012-06-20 18:09:10 +02:00
Marc Jansen
94fe46c5be
Remove stray ')'
2012-06-20 17:43:54 +02:00
Marc Jansen
b49c036ae2
Make the testuite configurable via URL.
2012-06-20 16:49:51 +02:00
Éric Lemoine
d4ebe97ab1
[test/index.html] remove the mode=RAW script tag again, it does not work anymore
2012-06-20 15:50:31 +02:00
Éric Lemoine
e989c61e63
make the tests run in Closure RAW mode, but leave the SIMPLE mode script tag to still catch compilation errors/warnings while running tests
2012-06-20 15:11:20 +02:00
Mike Adair
e61769c6dc
put back to SIMPLE mode
2012-06-20 09:04:51 -04:00
Mike Adair
aa584e17e9
center returned in user projection
2012-06-20 09:02:20 -04:00
Marc Jansen
33c2e0aa30
Correct the tests for geom.Point and geom.point.
...
Add tests for the API version `ol.point()`; adjust the tests for the internal
`new ol.Point()`.
2012-06-20 13:36:07 +02:00
Tim Schaub
14b1a34f98
Splitting tests between api and internal.
2012-06-20 11:56:20 +02:00
Éric Lemoine
a7a86bb169
add a Jasmine toBeA matcher
2012-06-20 11:44:43 +02:00
Mike Adair
a9a2e7cf8f
remove debugger line
2012-06-20 04:58:30 -04:00
Éric Lemoine
a96b559ddd
very first XYZ layer bits
2012-06-20 09:18:46 +02:00
ahocevar
fb8b1e878d
Events.js ported, with tests stub. More tests to be added.
2012-06-20 01:09:21 +02:00
Marc Jansen
450f8f7b74
First state of a geom package.
2012-06-19 18:21:21 +02:00
Éric Lemoine
1c8abd38a6
add a basic TileSet class
2012-06-19 15:18:34 +02:00
Éric Lemoine
ce20ba066c
add an ol.Tile class
2012-06-19 14:52:25 +02:00
Tim Schaub
1043a53fe1
Use simple compilation.
2012-06-19 14:49:56 +02:00
Tom Payne
95fe8762da
Rename Location to Loc for consistency.
2012-06-19 12:01:22 +02:00
Tim Schaub
77c07a500e
A passing test.
2012-06-19 11:14:53 +02:00