Changeset 689
- Timestamp:
- 06/22/06 15:58:01 (3 years ago)
- Files:
-
- branches/openlayers/1.0/tests/test_Layer_WMS.html (modified) (2 diffs)
- branches/openlayers/1.0/tests/test_Tile_Image.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/openlayers/1.0/tests/test_Layer_WMS.html
r652 r689 27 27 tile.draw(); 28 28 29 var img = tile.imgDiv .childNodes[0];29 var img = tile.imgDiv; 30 30 31 31 t.eq( img.src, "http://octo.metacarta.com/cgi-bin/mapserv?MAP=/mapdata/vmap_wms.map&LAYERS=basic&FORMAT=image/jpeg&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application/vnd.ogc.se_inimage&SRS=EPSG:4326&BBOX=1,2,3,4&WIDTH=256&HEIGHT=256", "image src is created correctly via addtile" ); … … 38 38 else 39 39 t.ok( firstChild instanceof HTMLElement, "div first child is an image object" ); 40 t.eq( firstChild. childNodes[0].src, "http://octo.metacarta.com/cgi-bin/mapserv?MAP=/mapdata/vmap_wms.map&LAYERS=basic&FORMAT=image/jpeg&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application/vnd.ogc.se_inimage&SRS=EPSG:4326&BBOX=1,2,3,4&WIDTH=256&HEIGHT=256", "div first child is correct image object" );40 t.eq( firstChild.src, "http://octo.metacarta.com/cgi-bin/mapserv?MAP=/mapdata/vmap_wms.map&LAYERS=basic&FORMAT=image/jpeg&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application/vnd.ogc.se_inimage&SRS=EPSG:4326&BBOX=1,2,3,4&WIDTH=256&HEIGHT=256", "div first child is correct image object" ); 41 41 var pos = tile.getPosition(); 42 42 t.eq( pos.toString(), "x=5,y=6", "Position of tile is set correctly." ); branches/openlayers/1.0/tests/test_Tile_Image.html
r605 r689 36 36 tile.draw(); 37 37 38 var img = tile.imgDiv .childNodes[0];38 var img = tile.imgDiv; 39 39 40 40 if (!isMozilla)
