Don't test reprojection in Opera, since we get different results, and

we still want this to b reported as a success, but log them to debug so that
people are aware the test is being skipped.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@5468 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2007-12-17 13:35:07 +00:00
parent 175c401e0f
commit 8479ecb4a0
2 changed files with 9 additions and 5 deletions

View File

@@ -211,7 +211,10 @@
(window.location.host == "localhost") ||
(window.location.host == "openlayers.org");
if(validkey) {
if (OpenLayers.Util.getBrowserName() == "opera") {
t.plan(1);
t.debug_print("Can't test google reprojection in Opera.");
} else if(validkey) {
t.plan(5);
var map = new OpenLayers.Map('map');
var layer = new OpenLayers.Layer.Google("Google");