Gallery3d: Fix Gallery3d TC failure
authorWonseop Kim <wonseop.kim@samsung.com>
Fri, 26 Apr 2013 02:04:04 +0000 (11:04 +0900)
committerhjnim.kim <hjnim.kim@samsung.com>
Fri, 3 May 2013 06:29:07 +0000 (15:29 +0900)
Modify delay time for target device.

Change-Id: I3ebec0dfd9dba0105dd8e1ce43feaa0635136aff

tests/unit-tests/gallery3d/gallery3d-tests.js

index cd16f78..b59695e 100644 (file)
                widget.gallery3d( "select", 1 );
                setTimeout( function () {
                        equal( widget.gallery3d( "select" ), imageList[0], "API : select" );
-
                        widget.gallery3d( "next" );
-                       setTimeout( function () {
-                               equal( widget.gallery3d( "select" ), imageList[1], "API : next" );
+               }, 600 );
 
-                               widget.gallery3d( "prev" );
-                               setTimeout( function () {
-                                       equal( widget.gallery3d( "select" ), imageList[0], "API : prev" );
-                                       start();
+               setTimeout( function () {
+                       equal( widget.gallery3d( "select" ), imageList[1], "API : next" );
+                       widget.gallery3d( "prev" );
+               }, 1200 );
 
-                               }, 340 );
-                       }, 340 );
-               }, 340 );
+               setTimeout( function () {
+                       equal( widget.gallery3d( "select" ), imageList[0], "API : prev" );
+                       start();
+               }, 1800 );
        });
 }( jQuery ));