[Commits] r2732 - sandbox/gxm/geoext/gxm/tests/lib

commits at geoext.org commits at geoext.org
Wed Jun 15 15:16:30 CEST 2011


Author: marcjansen
Date: 2011-06-15 15:16:30 +0200 (Wed, 15 Jun 2011)
New Revision: 2732

Modified:
   sandbox/gxm/geoext/gxm/tests/lib/Button.test.html
Log:
the window open tests are not needed on tablets as well, so skip those on theses devices. The functionality tested in the affected tests ("test_triggerControlCalled" and "test_activateControlCalled") is covered in other tests, e.g. "test_triggerAndHandler" and "test_activateAndHandler"

Modified: sandbox/gxm/geoext/gxm/tests/lib/Button.test.html
===================================================================
--- sandbox/gxm/geoext/gxm/tests/lib/Button.test.html	2011-06-15 13:05:48 UTC (rev 2731)
+++ sandbox/gxm/geoext/gxm/tests/lib/Button.test.html	2011-06-15 13:16:30 UTC (rev 2732)
@@ -72,7 +72,7 @@
 }
 
 function test_triggerControlCalled(t){
-    if (Ext.is.Phone) {
+    if (Ext.is.Phone || Ext.is.Tablet) {
         t.plan(1);
         t.ok(true, 'skipped because of missing event emulation for mobile device. Revisited in test "test_triggerAndHandler".');
         return;
@@ -97,7 +97,7 @@
 }
 
 function test_activateControlCalled(t){
-    if (Ext.is.Phone) {
+    if (Ext.is.Phone || Ext.is.Tablet) {
         t.plan(1);
         t.ok(true, 'skipped because of missing event emulation for mobile device. Revisited in test "test_activateAndHandler".');
         return;



More information about the Commits mailing list