UnitTC: Pass,error count save method has been changed
[platform/framework/web/web-ui-fw.git] / libs / js / jquery-mobile-1.2.0 / tests / unit / event / event_core.js
index 4d538ac..f26b044 100644 (file)
                });
 
                $( "#qunit-fixture" ).trigger("vmousedown");
-
+               // tapholdThreshold has been changed from 100 to 2000
                setTimeout(function(){
                        ok( !taphold, "taphold not fired" );
-                       deepEqual( target, undefined, "taphold target should be #qunit-fixture" );
-               }, $.event.special.tap.tapholdThreshold - 10);
-
+                       deepEqual( target, undefined, "taphold target should be #qunit-fixture!" );
+               }, $.event.special.tap.tapholdThreshold - 2000);
 
                setTimeout(function(){
                        ok( taphold, "taphold fired" );
-                       equal( target, $( "#qunit-fixture" ).get( 0 ), "taphold target should be #qunit-fixture" );
+                       equal( target, $( "#qunit-fixture" ).get( 0 ), "taphold target should be #qunit-fixture!" );
                        start();
-               }, $.event.special.tap.tapholdThreshold + 10);
+               }, $.event.special.tap.tapholdThreshold + 2000);
        });
 
        //NOTE used to simulate movement when checked