Oops, forgot to check in the tests that prove that r1616 actually works.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@1624 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Schuyler Erle
2006-10-06 02:07:28 +00:00
parent 7562f7097f
commit fbd82a300b
3 changed files with 5 additions and 4 deletions

View File

@@ -129,7 +129,7 @@
*/
function test_10_Layer_Grid_clone(t) {
t.plan(4);
t.plan(5);
var options = {tileSize: new OpenLayers.Size(500,50)};
var map = new OpenLayers.Map('map', options);
@@ -141,7 +141,8 @@
var clone = layer.clone();
t.ok( clone.grid == null, "clone does not copy grid");
t.ok( clone.grid != layer.grid, "clone does not copy grid");
t.ok( clone.grid.length == 0, "clone creates a new array instead");
t.ok( clone.tileSize.equals(layer.tileSize), "tileSize correctly cloned");

View File

@@ -134,7 +134,7 @@
var clone = layer.clone();
t.ok( clone.grid == null, "clone does not copy grid");
t.ok( clone.grid != layer.grid, "clone does not copy grid");
t.ok( clone.tileSize.equals(layer.tileSize), "tileSize correctly cloned");

View File

@@ -77,7 +77,7 @@
var clone = layer.clone();
t.ok( clone.grid == null, "clone does not copy grid");
t.ok( clone.grid != layer.grid, "clone does not copy grid");
t.ok( clone.tileSize.equals(layer.tileSize), "tileSize correctly cloned");