Fix new test failures with the tile-reuse branch
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1138 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -36,8 +36,8 @@
|
||||
layer = new OpenLayers.Layer.WMS(name, url, params);
|
||||
map.addLayer(layer);
|
||||
map.setCenter(new OpenLayers.LonLat(0,0),5);
|
||||
t.eq( layer.grid.length, 4, "Grid rows is correct." );
|
||||
t.eq( layer.grid[0].length, 2, "Grid cols is correct." );
|
||||
t.eq( layer.grid.length, 7, "Grid rows is correct." );
|
||||
t.eq( layer.grid[0].length, 6, "Grid cols is correct." );
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -66,8 +66,8 @@
|
||||
layer = new OpenLayers.Layer.WMS(name, url, params);
|
||||
map.addLayer(layer);
|
||||
map.setCenter(new OpenLayers.LonLat(0,0),5);
|
||||
t.eq( layer.grid.length, 4, "Grid rows is correct." );
|
||||
t.eq( layer.grid[0].length, 2, "Grid cols is correct." );
|
||||
t.eq( layer.grid.length, 7, "Grid rows is correct." );
|
||||
t.eq( layer.grid[0].length, 6, "Grid cols is correct." );
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user