Changeset 5461
- Timestamp:
- 12/17/07 01:20:10 (1 year ago)
- Files:
-
- trunk/openlayers/tests/Control/test_MousePosition.html (modified) (3 diffs)
- trunk/openlayers/tests/Handler/test_Path.html (modified) (3 diffs)
- trunk/openlayers/tests/Handler/test_Polygon.html (modified) (3 diffs)
- trunk/openlayers/tests/Layer/test_WFS.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/tests/Control/test_MousePosition.html
r5384 r5461 23 23 24 24 t.eq(map.events.listeners.mousemove.length, listeners - 1, "mousemove event is unregistered"); 25 map.destroy(); 25 26 } 26 27 … … 36 37 t.eq(parseInt(control.div.style.zIndex), map.Z_INDEX_BASE['Control'] + 5, "Control div zIndexed properly" ); 37 38 t.eq(parseInt(map.viewPortDiv.lastChild.style.zIndex), map.Z_INDEX_BASE['Control'] + 5, "Viewport div contains control div"); 39 map.destroy(); 38 40 } 39 41 … … 53 55 control.redraw({'xy': new OpenLayers.Pixel(12,12)}); 54 56 t.eq(control.div.innerHTML, "-175.78125, 85.78125", "innerHTML set correctly when triggered."); 57 map.destroy(); 55 58 } 56 59 trunk/openlayers/tests/Handler/test_Path.html
r4063 r5461 42 42 t.ok(activated, 43 43 "deactivate returns true if the handler was active already"); 44 map.destroy(); 44 45 } 45 46 … … 65 66 handler.mousemove(evt); 66 67 t.ok(!handler.line.geometry.getBounds().equals(new OpenLayers.Bounds(0,-35.15625,35.15625,0)), "Correct bounds after dragging without letting go. (Came out as "+handler.line.geometry.getBounds().toBBOX() + ".)"); 68 map.destroy(); 67 69 } 68 70 … … 93 95 t.eq(handler.line, null, 94 96 "handler.line is null after destroy"); 97 map.destroy(); 95 98 } 96 99 trunk/openlayers/tests/Handler/test_Polygon.html
r4217 r5461 42 42 t.ok(activated, 43 43 "deactivate returns true if the handler was active already"); 44 map.destroy(); 44 45 } 45 46 … … 67 68 t.ok(!handler.polygon.geometry.getBounds().equals(new OpenLayers.Bounds(0,-35.15625,35.15625,0)), 68 69 "Correct bounds after dragging without letting go. (Came out as "+handler.line.geometry.getBounds().toBBOX() + ".)"); 70 map.destroy(); 69 71 } 70 72 … … 99 101 t.eq(handler.polygon, null, 100 102 "handler.polygon is null after destroy"); 103 map.destroy(); 101 104 } 102 105 trunk/openlayers/tests/Layer/test_WFS.html
r4059 r5461 27 27 layer.onMapResize(); 28 28 t.eq(setSize, true, "Renderer resize called on map size change."); 29 map.destroy(); 29 30 30 31 } … … 64 65 } 65 66 t.eq(layer.tile.url, "http://www.bsc-eoc.org/cgi-bin/bsc_ows.asp?typename=OWLS&maxfeatures=10&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&SRS=EPSG%3A4326&BBOX=-187.890625%2C-36.679687%2C-12.109375%2C156.679688", "Tile URL is set correctly when not encoded"); 67 map.destroy(); 66 68 } 67 69
