Changeset 5468
- Timestamp:
- 12/17/07 08:35:07 (1 year ago)
- Files:
-
- trunk/openlayers/tests/Layer/test_MapServer.html (modified) (1 diff)
- trunk/openlayers/tests/Layer/test_WMS.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/tests/Layer/test_MapServer.html
r5457 r5468 212 212 (window.location.host == "openlayers.org"); 213 213 214 if(validkey) { 214 if (OpenLayers.Util.getBrowserName() == "opera") { 215 t.plan(1); 216 t.debug_print("Can't test google reprojection in Opera."); 217 } else if(validkey) { 215 218 t.plan(5); 216 219 var map = new OpenLayers.Map('map'); trunk/openlayers/tests/Layer/test_WMS.html
r5401 r5468 279 279 (window.location.host == "localhost") || 280 280 (window.location.host == "openlayers.org"); 281 282 if(validkey) { 281 if (OpenLayers.Util.getBrowserName() == "opera") { 282 t.plan(1); 283 t.debug_print("Can't test google reprojection in Opera."); 284 } else if(validkey) { 283 285 t.plan(5); 284 286 … … 291 293 map.addLayer(wmslayer); 292 294 map.setCenter(new OpenLayers.LonLat(0,0), 5); 293 294 295 var tile = wmslayer.grid[0][0]; 295 296 t.eq( tile.bounds.left, -22.5, "left side matches" ); 296 t.eq( tile.bounds.right, -11.25, " topside matches" );297 t.eq( tile.bounds.right, -11.25, "right side matches" ); 297 298 t.eq( tile.bounds.bottom.toFixed(6), '11.178402', "bottom side matches" ); 298 299 t.eq( tile.bounds.top.toFixed(6), '21.943046', "top side matches" );
