Tom Payne
|
a1a2ab415f
|
Fix some trivial typos
|
2013-03-19 21:34:31 +01:00 |
|
Tim Schaub
|
86eb65cc13
|
Merge pull request #395 from tschaub/no-test-markup
Create test specific markup in the individual tests as needed instead of relying on a common dom structure for all tests.
|
2013-03-19 09:18:41 -07:00 |
|
Tom Payne
|
6cc4cb33d0
|
Use more consistent directory structure
|
2013-03-19 12:03:31 +01:00 |
|
Tim Schaub
|
27ccd13e48
|
Create test specific markup in tests
Instead of relying on a shared dom structure, the tests should create (and destroy) elements as needed.
|
2013-03-18 22:53:04 -06:00 |
|
Tim Schaub
|
fad57a0fe5
|
Clarifying which var is accesed
This test creates its own zoomslider and doesn't access the one from the closure.
|
2013-03-18 21:52:01 -06:00 |
|
Tim Schaub
|
928457e174
|
Correcting test semantics
Despite what the test comment says, the orientation of this slider is horizontal.
|
2013-03-18 21:50:00 -06:00 |
|
Tim Schaub
|
6b5e251279
|
Fix global leak
A bit curious that the linter didn't catch this. My test runner fails with it.
|
2013-03-18 17:54:36 -06:00 |
|
Tom Payne
|
c9f43b4da7
|
Move equalArray into expect.js
|
2013-03-15 01:39:11 +01:00 |
|
Tom Payne
|
79c77a6369
|
Move intersect into expect.js
|
2013-03-15 01:39:11 +01:00 |
|
Tom Payne
|
7c7c4df3fc
|
Move called into expect.js
|
2013-03-15 01:17:28 +01:00 |
|
Tom Payne
|
62011dab28
|
Move roughlyEqual into expect.js
|
2013-03-15 01:17:28 +01:00 |
|
Tom Payne
|
7222464426
|
Don't use goog.array in ol.Collection tests
|
2013-03-14 14:50:23 +01:00 |
|
Bruno Binet
|
81089b2199
|
Remove unused goog.require directives
|
2013-03-14 12:39:51 +01:00 |
|
Bruno Binet
|
15ce80f42e
|
Merge pull request #364 from bbinet/fix-check-requires
Fix check for unused goog.require directives
|
2013-03-14 04:29:41 -07:00 |
|
Bruno Binet
|
9b1c389c80
|
Remove unused goog.require directives
|
2013-03-14 11:39:43 +01:00 |
|
Marc Jansen
|
5059fe0be7
|
Adjust test syntax.
|
2013-03-14 11:31:58 +01:00 |
|
Marc Jansen
|
ce67625b20
|
Use OSM resolutions as fallback resolutions.
Hat tip to @twpayne for suggesting this change in the defaults.
|
2013-03-14 09:37:35 +01:00 |
|
Marc Jansen
|
8bf71ebb3a
|
Add a zoomslider control.
|
2013-03-14 09:37:35 +01:00 |
|
Éric Lemoine
|
ac86cc1058
|
Merge pull request #362 from Turbo87/test-improvements
Test improvements
|
2013-03-13 10:18:00 -07:00 |
|
Tobias Bieniek
|
47261124fc
|
test: Added expect(spy).to.be.called() syntactic sugar
|
2013-03-13 17:18:23 +01:00 |
|
Tobias Bieniek
|
93577bd335
|
test: Moved intersectsWith() testing function into test-extensions.js
|
2013-03-13 17:11:21 +01:00 |
|
Bruno Binet
|
875ead58ab
|
Remove expandUrl duplicated code from createFromTemplate
and make use of expandUrl function instead.
|
2013-03-13 16:52:54 +01:00 |
|
Bruno Binet
|
54dfca3419
|
Move factorizable code in ol.TileUrlFunction.expandUrl
|
2013-03-13 16:48:22 +01:00 |
|
Tobias Bieniek
|
01f9037782
|
test: Fixed linter errors
|
2013-03-13 04:59:20 +01:00 |
|
Tobias Bieniek
|
d5d8afc858
|
Converted "vector" branch unit tests to mocha, expect.js and sinon
|
2013-03-13 04:48:08 +01:00 |
|
Tobias Bieniek
|
8273d880d5
|
Merge remote-tracking branch 'origin/master' into mocha
Conflicts:
test/jasmine-extensions.js
|
2013-03-13 04:46:16 +01:00 |
|
Tobias Bieniek
|
89ab68cde7
|
Replaced jasmine testing framework by mocha, expect.js and sinon
as discussed in #319
|
2013-03-13 04:32:43 +01:00 |
|
ahocevar
|
fad036aa53
|
Merge branch 'master' of github.com:openlayers/ol3 into vector
Conflicts:
src/objectliterals.exports
|
2013-03-12 08:39:16 +01:00 |
|
Tom Payne
|
a0b1d74bb5
|
Merge pull request #337 from Turbo87/polyline
Added ol.parser.polyline module
|
2013-03-11 13:55:04 -07:00 |
|
Tobias Bieniek
|
8330586ee2
|
test/polyline: Reset testing data manually in encodeFloats test
|
2013-03-11 20:32:22 +01:00 |
|
Tobias Bieniek
|
8b45637e72
|
test/polyline: Added missing brackets
|
2013-03-11 20:32:18 +01:00 |
|
Tom Payne
|
8b5194da38
|
Merge pull request #338 from twpayne/snap-center-to-pixel2
Snap center to pixel
|
2013-03-11 08:41:28 -07:00 |
|
ahocevar
|
a66f26f839
|
Merge branch 'master' of github.com:openlayers/ol3 into vector
|
2013-03-11 15:21:01 +01:00 |
|
Tobias Bieniek
|
5d492a22fa
|
test/polyline: Fixed linter problems
|
2013-03-10 21:13:48 +01:00 |
|
Tobias Bieniek
|
5333d00173
|
test/polyline: Added encodedFlatPoints to testing data variables
DRY...
|
2013-03-10 21:07:23 +01:00 |
|
Tobias Bieniek
|
f793b69602
|
test/polyline: Reset testing data before each test
.. instead of using slice()
|
2013-03-10 21:05:32 +01:00 |
|
Tobias Bieniek
|
4b8a9aaa8f
|
test/polyline: Renamed flat_points variable to flatPoints
|
2013-03-10 20:59:15 +01:00 |
|
Tobias Bieniek
|
6f08122398
|
polyline: Used new *Deltas() functions in *FlatCoordinates()
|
2013-03-10 20:45:12 +01:00 |
|
Tobias Bieniek
|
aef15947c8
|
polyline: Added encode/decodeDeltas() functions
|
2013-03-10 20:44:34 +01:00 |
|
Tobias Bieniek
|
02707401a3
|
polyline: Added encode/decodeFloats() functions
|
2013-03-10 20:04:54 +01:00 |
|
Tobias Bieniek
|
cbdaf1035d
|
polyline: Added encode/decodeSignedIntegers() functions
|
2013-03-10 19:05:14 +01:00 |
|
Tobias Bieniek
|
78278798bb
|
polyline: Added encode/decodeUnsignedIntegers() functions
|
2013-03-10 18:48:49 +01:00 |
|
Tobias Bieniek
|
ce619871c2
|
test/polyline: Added two more test cases for unsigned integers
Again taken from the official documentation at Google.
|
2013-03-10 17:00:37 +01:00 |
|
Tobias Bieniek
|
680f3386ce
|
test/polyline: Added more test cases from official documentation
.. and marked those tests as such. URL of the "Encoded Polyline Algorithm Format" page is https://developers.google.com/maps/documentation/utilities/polylinealgorithm
|
2013-03-10 16:42:51 +01:00 |
|
Tom Payne
|
ed787ba79c
|
Add ol.Extent.getForView2DAndSize
|
2013-03-10 15:51:08 +01:00 |
|
Tobias Bieniek
|
ea227419a3
|
polyline: Added encode/decodeFlatCoordinates() functions
|
2013-03-10 01:25:59 +01:00 |
|
Tobias Bieniek
|
04d764f4f3
|
polyline: Added encode/decodeFloat() functions
|
2013-03-09 23:17:29 +01:00 |
|
Tobias Bieniek
|
e802cc3d56
|
polyline: Added decodeSigned/UnsignedInteger() functions
|
2013-03-09 22:40:07 +01:00 |
|
Tobias Bieniek
|
36923d6688
|
Added basic ol.parser.polyline module
This module will contain the low-level functions for Google's "Encoded
Polyline" algorithm.
|
2013-03-09 22:19:59 +01:00 |
|
Tom Payne
|
b729f969a7
|
Add EMPTY tile state instead of using null for empty tiles
|
2013-03-08 14:41:14 +01:00 |
|