let's remove unrequired tests, r=bartvde, (Closes #2477)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10140 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
+1
-4
@@ -36,7 +36,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function test_Layer_clone (t) {
|
function test_Layer_clone (t) {
|
||||||
t.plan( 9 );
|
t.plan( 7 );
|
||||||
|
|
||||||
var mapone = new OpenLayers.Map('map');
|
var mapone = new OpenLayers.Map('map');
|
||||||
var options = { chicken: 151, foo: "bar", maxResolution: "auto", visibility: false };
|
var options = { chicken: 151, foo: "bar", maxResolution: "auto", visibility: false };
|
||||||
@@ -64,9 +64,6 @@
|
|||||||
layer.addOptions({chicken:152});
|
layer.addOptions({chicken:152});
|
||||||
t.eq(clone.options["chicken"], 151, "made a clean copy of options");
|
t.eq(clone.options["chicken"], 151, "made a clean copy of options");
|
||||||
|
|
||||||
t.ok( (layer.maxResolution == clone.maxResolution), "maxresolution of clone equals maxresolution of original");
|
|
||||||
t.ok( (layer.minResolution == clone.minResolution), "minresolution of clone equals minresolution of original");
|
|
||||||
|
|
||||||
mapone.destroy();
|
mapone.destroy();
|
||||||
maptwo.destroy();
|
maptwo.destroy();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user