[OpenLayers-Commits] r11090 -
sandbox/elemoine/draw-feature/tests/Handler
commits-20090109 at openlayers.org
commits-20090109 at openlayers.org
Thu Feb 10 06:30:37 EST 2011
Author: erilem
Date: 2011-02-10 03:30:36 -0800 (Thu, 10 Feb 2011)
New Revision: 11090
Modified:
sandbox/elemoine/draw-feature/tests/Handler/Path.html
Log:
path handler tests - add missing mousemove in the callbacks tests
Modified: sandbox/elemoine/draw-feature/tests/Handler/Path.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Handler/Path.html 2011-02-10 11:30:30 UTC (rev 11089)
+++ sandbox/elemoine/draw-feature/tests/Handler/Path.html 2011-02-10 11:30:36 UTC (rev 11090)
@@ -280,6 +280,8 @@
handler.activate();
handler.persist = false;
+ handler.mousemove(
+ {type: "mousemove", xy: new OpenLayers.Pixel(0, 0)});
handler.mousedown(
{type: "mousedown", xy: new OpenLayers.Pixel(0, 0)});
handler.mouseup(
@@ -292,6 +294,8 @@
"feature destroyed on dblclick when persist is false");
handler.persist = true;
+ handler.mousemove(
+ {type: "mousemove", xy: new OpenLayers.Pixel(0, 0)});
handler.mousedown(
{type: "mousedown", xy: new OpenLayers.Pixel(0, 0)});
handler.mouseup(
@@ -303,6 +307,8 @@
var feature = handler.layer.features[0];
t.eq(handler.layer.features.length, 3,
"feature not destroyed on dblclick when persist is true");
+ handler.mousemove(
+ {type: "mousemove", xy: new OpenLayers.Pixel(0, 0)});
handler.mousedown(
{type: "mousedown", xy: new OpenLayers.Pixel(0, 0)});
handler.mouseup(
More information about the Commits
mailing list