diff --git a/tests/Layer/Bing.html b/tests/Layer/Bing.html index 69525df7a5..d930e719b0 100644 --- a/tests/Layer/Bing.html +++ b/tests/Layer/Bing.html @@ -178,6 +178,37 @@ t.ok(clone instanceof OpenLayers.Layer.Bing, "clone is a Layer.Bing instance"); } + function test_protocol(t) + { + t.plan(5); + + var map = new OpenLayers.Map("map"); + layer = new OpenLayers.Layer.Bing(options); + map.addLayer(layer); + map.zoomToMaxExtent(); + var tile = layer.tileQueue[0]; + + t.delay_call(5, function() { + t.ok(OpenLayers.Util.indexOf(layer.attribution, '