remove deprecated methods for 2.0 release. Documentation available at ReleaseNotes2.0

git-svn-id: http://svn.openlayers.org/trunk/openlayers@1228 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-08-16 02:26:12 +00:00
parent 3f19fdd490
commit f3c12c729d
5 changed files with 1 additions and 114 deletions

View File

@@ -64,30 +64,6 @@
t.eq( layer.url, "foo", "setUrl() works");
}
/**
* @deprecated
*/
function test_04_Layer_HTTPRequest_changeParams (t) {
t.plan( 3 );
layer = new OpenLayers.Layer.HTTPRequest(name, url, params, options);
var newParams = { layers: 'sooper',
chickpeas: 'image/png'};
layer.changeParams(newParams);
t.eq( layer.params.layers, "sooper", "changeParams() overwrites well");
t.eq( layer.params.chickpeas, "image/png", "changeParams() adds well");
newParams.chickpeas = 151;
t.eq( layer.params.chickpeas, "image/png", "changeParams() makes clean copy of hash");
}
function test_05_Layer_HTTPRequest_mergeNewParams (t) {
t.plan( 3 );