[OpenLayers-Commits] r12423 -
sandbox/camptocamp/clientzoom/tests/Layer
commits-20090109 at openlayers.org
commits-20090109 at openlayers.org
Thu Sep 29 10:36:34 EDT 2011
Author: erilem
Date: 2011-09-29 07:36:32 -0700 (Thu, 29 Sep 2011)
New Revision: 12423
Modified:
sandbox/camptocamp/clientzoom/tests/Layer/ArcGIS93Rest.html
sandbox/camptocamp/clientzoom/tests/Layer/MapServer.html
sandbox/camptocamp/clientzoom/tests/Layer/WMS.html
Log:
fix WMS.html, ArcGIS93Rest.html, MapServer.html tests
Modified: sandbox/camptocamp/clientzoom/tests/Layer/ArcGIS93Rest.html
===================================================================
--- sandbox/camptocamp/clientzoom/tests/Layer/ArcGIS93Rest.html 2011-09-29 14:31:23 UTC (rev 12422)
+++ sandbox/camptocamp/clientzoom/tests/Layer/ArcGIS93Rest.html 2011-09-29 14:36:32 UTC (rev 12423)
@@ -75,8 +75,8 @@
t.eq( tile.url,
url + "?" + OpenLayers.Util.getParameterString(tParams),
"image src is created correctly via addtile" );
- t.eq( tile.frame.style.top, "6px", "image top is set correctly via addtile" );
- t.eq( tile.frame.style.left, "5px", "image top is set correctly via addtile" );
+ t.eq( tile.frame.style.top, "6%", "image top is set correctly via addtile" );
+ t.eq( tile.frame.style.left, "5%", "image top is set correctly via addtile" );
var firstChild = layer.div.firstChild.firstChild;
t.eq( firstChild.nodeName.toLowerCase(), "img", "div first child is an image object" );
Modified: sandbox/camptocamp/clientzoom/tests/Layer/MapServer.html
===================================================================
--- sandbox/camptocamp/clientzoom/tests/Layer/MapServer.html 2011-09-29 14:31:23 UTC (rev 12422)
+++ sandbox/camptocamp/clientzoom/tests/Layer/MapServer.html 2011-09-29 14:36:32 UTC (rev 12423)
@@ -56,8 +56,8 @@
t.eq( tile.url,
url + "?" + OpenLayers.Util.getParameterString(tParams).replace(/,/g, "+"),
"image src is created correctly via addtile" );
- t.eq( tile.frame.style.top, "6px", "image top is set correctly via addtile" );
- t.eq( tile.frame.style.left, "5px", "image top is set correctly via addtile" );
+ t.eq( tile.frame.style.top, "6%", "image top is set correctly via addtile" );
+ t.eq( tile.frame.style.left, "5%", "image top is set correctly via addtile" );
var firstChild = layer.div.firstChild.firstChild;
t.eq( firstChild.nodeName.toLowerCase(), "img", "div first child is an image object" );
Modified: sandbox/camptocamp/clientzoom/tests/Layer/WMS.html
===================================================================
--- sandbox/camptocamp/clientzoom/tests/Layer/WMS.html 2011-09-29 14:31:23 UTC (rev 12422)
+++ sandbox/camptocamp/clientzoom/tests/Layer/WMS.html 2011-09-29 14:36:32 UTC (rev 12423)
@@ -86,8 +86,8 @@
t.eq( tile.url,
layer.getFullRequestString(tParams),
"image src is created correctly via addtile" );
- t.eq( tile.frame.style.top, "6px", "image top is set correctly via addtile" );
- t.eq( tile.frame.style.left, "5px", "image top is set correctly via addtile" );
+ t.eq( tile.frame.style.top, "6%", "image top is set correctly via addtile" );
+ t.eq( tile.frame.style.left, "5%", "image top is set correctly via addtile" );
var firstChild = layer.div.firstChild.firstChild;
t.eq( firstChild.nodeName.toLowerCase(), "img", "div first child is an image object" );
@@ -117,8 +117,8 @@
t.eq( tile.url,
layer.getFullRequestString(tParams),
"image src is created correctly via addtile" );
- t.eq( tile.frame.style.top, "6px", "image top is set correctly via addtile" );
- t.eq( tile.frame.style.left, "5px", "image top is set correctly via addtile" );
+ t.eq( tile.frame.style.top, "6%", "image top is set correctly via addtile" );
+ t.eq( tile.frame.style.left, "5%", "image top is set correctly via addtile" );
var firstChild = layer.div.firstChild.firstChild;
t.eq( firstChild.nodeName.toLowerCase(), "img", "div first child is an image object" );
More information about the Commits
mailing list