Commit Graph

41 Commits

Author SHA1 Message Date
crschmidt
115fc7462b Commit the part of #664 for map resize changes, with a regression test to
boot. Thanks for the patch, Tim.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@3076 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-04-14 05:34:52 +00:00
crschmidt
87bad5b9f8 #633: Fix memory leak in box marker used for boxes layer. Add comprehensive
tests for Box marker.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@3026 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-04-06 03:30:31 +00:00
Tim Schaub
45da80f8ad read/write for Well-Known Text representation of vector geometries - support for simple features: Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon, and GeometryCollection - examples/wkt.html for a demonstration
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2942 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-03-31 16:21:14 +00:00
Tim Schaub
afdaa6249f adding test for Format.js
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2904 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-03-27 21:41:16 +00:00
crschmidt
eb13974c5e Add MapServer layer fixes and tests. Paul wrote these tests (yay Paul!), and
found all the bugs. This fixes #545, #546, #547, #548 and #562.    


git-svn-id: http://svn.openlayers.org/trunk/openlayers@2893 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-03-25 21:35:12 +00:00
crschmidt
f3c75e2d29 Add MapServer Untiled Layer to OpenLayers. Originally developed by Steve
Woodbridge, tests written by Paul Spencer and some reworking done. Thanks
to both Paul and Steve for this code. (Closes #526.) 


git-svn-id: http://svn.openlayers.org/trunk/openlayers@2891 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-03-25 21:20:14 +00:00
crschmidt
3ca974acec Merge vector-2.4 branch back to trunk.
svn merge sandbox/vector-2.4/@2307 sandbox/vector-2.4/@HEAD trunk/openlayers/


git-svn-id: http://svn.openlayers.org/trunk/openlayers@2803 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-03-16 13:23:56 +00:00
Schuyler Erle
7d6b3fa0b9 Control.Scale now correctly reports scales under 1:500. Includes tests. Fixes #503.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2244 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-02-19 22:42:17 +00:00
crschmidt
5e7b2e03f1 Commit TMS support from 'crschmidt/refractions' Ticket #394 , reviewed by
Schuyler.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@1927 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-11-19 19:54:42 +00:00
crschmidt
f50fd0b7ac Bring in Tim Schaub's "Graphic" layer as "Layer.Image" (since in the future,
'graphic' may mean something different, like SVG graphic). Tests, docs, 
example, and library change. Thanks, Tim! 


git-svn-id: http://svn.openlayers.org/trunk/openlayers@1712 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-21 16:02:15 +00:00
crschmidt
7c2a8a0cab The OpenLayers server threw a disk, and clobbered another, resulting in a loss
of data up to our last backup. In the previous subversion repository, this was
r1694->r1777. I'm sorry to all those of you who might have checked out that 
code, as this will surely cause problems for you. We're currently working to
figure out what went wrong, and how to prevent it in the future.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@1695 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-13 20:41:21 +00:00
Schuyler Erle
8e4b06effd Added Class.inherit, changed Class.create to make it unnecessary to check for arguments.length > 0 in initialize().
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1647 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-06 15:32:38 +00:00
crschmidt
ef00010111 Multimap now conforms to other EventPane subclasses in expected behavior for
some functions, and has tests available, so when I break it at some point, 
hopefully I'll know :)


git-svn-id: http://svn.openlayers.org/trunk/openlayers@1389 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-27 01:46:09 +00:00
crschmidt
104e509eb9 Merge 2.0 branch to trunk.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1369 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-25 18:17:06 +00:00
Schuyler Erle
3b134deace Tests for EventPane class. 1 test still fails. (the one that actually tests the event passage.)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1194 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-11 18:01:22 +00:00
euzuro
f3a072b151 new layerswitcher, improved google layer, boxes layer, grid fix
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1096 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-08 18:20:24 +00:00
crschmidt
975377fb89 KaMap tests. This led to r999, relating to base layer differences, and is in large part a copy of the Grid layer, so it could use some more tests to ensure it Does The Right thing with regard to the different initTiles functionality that kamap requires.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1000 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-24 12:18:51 +00:00
euzuro
8e2448413e add tests for google layer
git-svn-id: http://svn.openlayers.org/trunk/openlayers@918 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-07 16:45:09 +00:00
euzuro
304b61f8f8 add tests for Layer.Grid
git-svn-id: http://svn.openlayers.org/trunk/openlayers@903 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-06 13:04:04 +00:00
euzuro
4182cc1955 adding new HTTPRequest class that adds a 'url' and 'params' properties to a Layer, and gives a getFullRequestString() function. Thorough tests.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@886 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-06 00:32:11 +00:00
crschmidt
9f0a77aa92 Add PermaLink control. Add test for permalink control. This control will automatically center and zoom the map to lat/lon/zoom args, and allows you to set an <a> element whose href is modified when the map moves. controls.html implements an example.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@846 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-01 02:14:03 +00:00
crschmidt
72e44d6638 Commit GeoRSS tests.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@845 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-01 01:32:18 +00:00
crschmidt
ed8109ab46 r406@creusa: crschmidt | 2006-05-27 12:26:35 -0400
Added tests for PanZoomBar, currently just a mirror of PanZoom, but at least will catch if something is horribly broken.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@430 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-27 19:17:41 +00:00
crschmidt
16ac9ce885 Fix Marker tests.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@293 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-23 18:14:18 +00:00
euzuro
6dd191c86f create testing file for Popup
git-svn-id: http://svn.openlayers.org/trunk/openlayers@222 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-21 13:43:11 +00:00
crschmidt
0033ba70a9 Add Control.PanZoom tests.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@218 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-21 02:07:07 +00:00
crschmidt
e88c6abb1f Initial tests for OpenLayers.Feature. tests the createMarker method added in r212.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@213 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-20 13:29:11 +00:00
crschmidt
2874c72367 Add Layer.Text tests and supporting data file.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@198 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 22:53:19 +00:00
euzuro
50d4546af4 udpated tests for completed util classes
git-svn-id: http://svn.openlayers.org/trunk/openlayers@122 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 04:22:23 +00:00
Schuyler Erle
1c73ef0250 Added test for fix in r114.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@115 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-18 01:03:12 +00:00
crschmidt
6c5b85626e Add tests for WMS layer. This is one of the first tests that probably will catch
real errors: addTile is probably relatively thoroughly covered in testing now.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@110 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-17 20:14:30 +00:00
crschmidt
fc7bbe5beb Create "Marker" layer. Add appropriate tests.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@100 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-17 15:54:42 +00:00
euzuro
6f242f5746 Replace all instances and usages of LatLon to LonLat
git-svn-id: http://svn.openlayers.org/trunk/openlayers@99 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-17 15:51:37 +00:00
crschmidt
3d1b137009 Add OL.Tile.Image tests.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@98 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-17 15:28:40 +00:00
crschmidt
fad697dc5a Add tile tests. Next to do is to figure out how to set up tests for subclasses... should they go in the parent level test object, or in a seperate test object?
git-svn-id: http://svn.openlayers.org/trunk/openlayers@88 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-17 12:24:08 +00:00
crschmidt
66edc6dcb7 Fill out more of Icon and Marker classes. In the XP world, supposedly we test first -- and I actually did in this case. Kind of a nifty trick: you work out what the function is supposed to do solely from the tests you want to write, and then you go and actually write the code that does it.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@87 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-17 12:16:23 +00:00
Schuyler Erle
ce6c4acd63 Made Events class more generic; the Events constructor now takes a list of supported application event types. Added tests for the Events class.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@61 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-16 21:48:56 +00:00
crschmidt
d5e46cd5d8 Reorder tests by dependancy.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@25 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-13 01:48:25 +00:00
crschmidt
8bb245832c Adding latlon and bounds tests. These may need to change if we decide to switch to "Lon,Lat" ordering for GIS
correctness over language semantics.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@22 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-13 01:27:31 +00:00
crschmidt
29c62da8ee Add Pixel unit test.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@21 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-13 01:04:06 +00:00
Schuyler Erle
ab312e867d Added basic tests for Map, Layer, and Control base classes.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@14 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-12 22:31:14 +00:00