CVSROOT: /sources/gnash Module name: gnash Changes by: Sandro Santilli <strk> 07/12/21 23:39:15
Modified files: . : ChangeLog testsuite/misc-ming.all: DragDropTest.as DragDropTestRunner.cpp Log message: DragDropTestRunner.cpp: improved the test to verify persistance of _droptarget after stopDrag(). CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.5241&r2=1.5242 http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/DragDropTest.as?cvsroot=gnash&r1=1.2&r2=1.3 http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/DragDropTestRunner.cpp?cvsroot=gnash&r1=1.1&r2=1.2 Patches: Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.5241 retrieving revision 1.5242 diff -u -b -r1.5241 -r1.5242 --- ChangeLog 21 Dec 2007 17:18:45 -0000 1.5241 +++ ChangeLog 21 Dec 2007 23:39:14 -0000 1.5242 @@ -1,5 +1,11 @@ 2007-12-21 Sandro Santilli <[EMAIL PROTECTED]> + * testsuite/misc-ming.all/: DragDropTest.as, + DragDropTestRunner.cpp: improved the test to verify + persistance of _droptarget after stopDrag(). + +2007-12-21 Sandro Santilli <[EMAIL PROTECTED]> + * server/as_object.h: provide const versions of to_movie() and to_character(). * testsuite/misc-ming.all/DragDropTest.as: fix expected Index: testsuite/misc-ming.all/DragDropTest.as =================================================================== RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/DragDropTest.as,v retrieving revision 1.2 retrieving revision 1.3 diff -u -b -r1.2 -r1.3 --- testsuite/misc-ming.all/DragDropTest.as 21 Dec 2007 17:18:45 -0000 1.2 +++ testsuite/misc-ming.all/DragDropTest.as 21 Dec 2007 23:39:14 -0000 1.3 @@ -8,7 +8,7 @@ // // -rcsid="$Id: DragDropTest.as,v 1.2 2007/12/21 17:18:45 strk Exp $"; +rcsid="$Id: DragDropTest.as,v 1.3 2007/12/21 23:39:14 strk Exp $"; #define info _root.note #define note _root.note @@ -289,16 +289,17 @@ _root.onMouseDown = function() { xcheck_equals(_root.draggable50._droptarget, "/loadedTarget/target100"); + _root.draggable50.stopDrag(); // stop the drag here test11(); }; }; test11 = function() { - note("11. Click OUTSIDE of any drawing (this is last thing)."); + note("11. Click ANYWHERE OUT of the THIRD BLUE circle (on another circle makes a better test)"); _root.onMouseDown = function() { - check_equals(_root.draggable50._droptarget, ""); + xcheck_equals(_root.draggable50._droptarget, "/loadedTarget/target100"); endOfTest(); }; }; Index: testsuite/misc-ming.all/DragDropTestRunner.cpp =================================================================== RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/DragDropTestRunner.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- testsuite/misc-ming.all/DragDropTestRunner.cpp 21 Dec 2007 17:18:46 -0000 1.1 +++ testsuite/misc-ming.all/DragDropTestRunner.cpp 21 Dec 2007 23:39:14 -0000 1.2 @@ -157,8 +157,8 @@ tester.movePointerTo(bc3.x, bc3.y); tester.click(); - // 11. Click OUTSIDE of any drawing (this is last thing). - tester.movePointerTo(out.x, out.y); + // 11. Click ANYWHERE OUT of the THIRD BLUE circle (on another circle makes a better test) + tester.movePointerTo(rc1.x, rc1.y); tester.click(); // Consistency check !! _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit