[OpenLayers-Commits] r11560 - trunk/openlayers/tests

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Sun Feb 27 08:57:34 EST 2011


Author: tschaub
Date: 2011-02-27 05:57:33 -0800 (Sun, 27 Feb 2011)
New Revision: 11560

Modified:
   trunk/openlayers/tests/Events.html
Log:
Since r11544, the event xy property is the average of all touch pixel locations.  This test should have been updated with that change.

Modified: trunk/openlayers/tests/Events.html
===================================================================
--- trunk/openlayers/tests/Events.html	2011-02-27 13:56:16 UTC (rev 11559)
+++ trunk/openlayers/tests/Events.html	2011-02-27 13:57:33 UTC (rev 11560)
@@ -318,8 +318,8 @@
                    touches: [{clientX: 1, clientY: 1}, {clientX: 2, clientY: 2}]
                   };
         events.handleBrowserEvent(evt);
-        t.eq(evt.clientX, 1, "evt.clientX value is correct");
-        t.eq(evt.clientY, 1, "evt.clientY value is correct");
+        t.eq(evt.clientX, 1.5, "evt.clientX value is correct");
+        t.eq(evt.clientY, 1.5, "evt.clientY value is correct");
     }
 
     function test_Events_destroy (t) {



More information about the Commits mailing list