[OpenLayers-Commits] r11148 - sandbox/elemoine/draw-feature/tests/Handler

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Sun Feb 20 09:43:05 EST 2011


Author: erilem
Date: 2011-02-20 06:43:05 -0800 (Sun, 20 Feb 2011)
New Revision: 11148

Modified:
   sandbox/elemoine/draw-feature/tests/Handler/Point.html
Log:
the point handler now defines mouseout, change the tests accordingly

Modified: sandbox/elemoine/draw-feature/tests/Handler/Point.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Handler/Point.html	2011-02-20 14:42:58 UTC (rev 11147)
+++ sandbox/elemoine/draw-feature/tests/Handler/Point.html	2011-02-20 14:43:05 UTC (rev 11148)
@@ -75,7 +75,7 @@
     }
 
     function test_Handler_Point_events(t) {
-        t.plan(29);
+        t.plan(34);
         var log = [];
         var map = new OpenLayers.Map("map", {
             resolutions: [1]
@@ -97,8 +97,8 @@
 
         // list below events that should be handled (events) and those
         // that should not be handled (nonevents) by the handler
-        var events = ["click", "dblclick", "mousedown", "mouseup", "mousemove"];
-        var nonevents = ["mouseout", "resize", "focus", "blur"];
+        var events = ["click", "dblclick", "mousedown", "mouseup", "mousemove", "mouseout"];
+        var nonevents = ["resize", "focus", "blur"];
         map.events.registerPriority = function(type, obj, func) {
             var r = func();
             if(typeof r == "string") {



More information about the Commits mailing list