openlayers/openlayers — Issue #249: failing tests
Author: elemoine
Created: 2012-02-28 08:37:50+00:00
State: open

We have failing tests. These must be fixed for 2.12.

In Chrome and FireFox :

```
Layer/Grid.html: fail 2 ok 30 (detailed: fail 0 ok 177)
test_Layer_Grid_constructor planned 6 assertions but got 4; fail 0 ok 4
exception: : object: Maximum call stack size exceeded
ok returns OpenLayers.Layer.Grid object
ok buffer default is 0
ok ratio default is 1.5
ok numLoadingTiles starts at 0
test_Layer_Grid_inittiles ok 2
ok Grid rows is correct.
ok Grid cols is correct.
test_Layer_Grid_tileClass planned 2 assertions but got 0; fail 0 ok 0
exception: : object: Maximum call stack size exceeded
```

In FireFox :

```
Tween.html: fail 1 ok 2 (detailed: fail 3 ok 7)
test_Tween_constructor ok 3
ok new OpenLayers.Tween returns object
ok constructor sets easing correctly
ok tween has a start function
test_Tween_start fail 3 ok 2
ok animationId correctly set
ok start callback called
fail finish callback called. eq: values differ: got false, but expected true
fail eachStep callback called. eq: values differ: got false, but expected true
fail Number of steps reached is correct. eq: values differ: got 0, but expected 11
```

```
deprecated/Layer/MapServer.html: fail 1 ok 0 (detailed: fail 2 ok 3)
test_Layer_MapServer_Reproject fail 2 ok 3
ok left side matches
ok top side matches
fail bottom side matches. eq: values differ: got 11.250000, but expected 11.178402
fail top side matches. eq: values differ: got 22.500000, but expected 21.943046
ok okay
```

```
deprecated/Layer/WMS.html: fail 1 ok 0 (detailed: fail 2 ok 3)
test_Layer_WMS_Reproject fail 2 ok 3
ok left side matches
ok right side matches
fail bottom side matches. eq: values differ: got 11.250000, but expected 11.178402
fail top side matches. eq: values differ: got 22.500000, but expected 21.943046
ok okay
```

```
Control/OverviewMap.html: fail 1 ok 5 (detailed: fail 4 ok 28)
test_control_events fail 4 ok 6
ok Overviewmap center lon correct
ok Overviewmap center lat correct
ok Overviewmap zoomcorrect
fail Clicking on the Overview Map has the correct effect on map lon. eq: values differ: got -71, but expected -71.3515625
fail Clicking on the Overview Map has the correct effect on map lat. eq: values differ: got 42, but expected 42.17578125
fail Dragging on the Overview Map has the correct effect on map lon. eq: values differ: got -71, but expected -71.2734375
fail Dragging on the Overview Map has the correct effect on map lat. eq: values differ: got 42, but expected 42.09765625
ok Overviewmap center lon correct -- second zoom
ok Overviewmap center lat correct -- second zoom
ok Overviewmap zoomcorrect -- second zoom
```

The Format/WKT.html and Strategy/BBOX.html tests also fail, but this is tracked elsewhere (#218).