finally, this is the good version of the unit tests for the #2320 ticket, sorry for the noise

git-svn-id: http://svn.openlayers.org/trunk/openlayers@9949 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
pgiraud
2010-01-13 11:02:08 +00:00
parent 5c397b8d0c
commit 14749daa74

View File

@@ -21,26 +21,3 @@
<body>
</body>
</html>
<html>
<head>
<script src="../../lib/OpenLayers.js"></script>
<script type="text/javascript">
function test_constructor (t) {
t.plan(1);
// set up
var control;
// tests
control = new OpenLayers.Control.PanPanel({slideFactor: 200});
t.ok(control.controls[0].slideFactor == 200 &&
control.controls[1].slideFactor == 200 &&
control.controls[2].slideFactor == 200 &&
control.controls[3].slideFactor == 200,
"ctor sets slideFactor in all Pan controls");
}
</script>
</head>
<body>
</body>
</html>