OpenLayers OpenLayers

Changeset 689

Show
Ignore:
Timestamp:
06/22/06 15:58:01 (3 years ago)
Author:
sderle
Message:

Pulled up r686:r688 test fixes from trunk.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/openlayers/1.0/tests/test_Layer_WMS.html

    r652 r689  
    2727        tile.draw(); 
    2828 
    29         var img = tile.imgDiv.childNodes[0]
     29        var img = tile.imgDiv
    3030 
    3131        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" ); 
     
    3838        else 
    3939            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" ); 
    4141        var pos = tile.getPosition(); 
    4242        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  
    3636        tile.draw(); 
    3737         
    38         var img = tile.imgDiv.childNodes[0]
     38        var img = tile.imgDiv
    3939         
    4040        if (!isMozilla)