gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/ButtonE...


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/ButtonE...
Date: Wed, 16 Apr 2008 08:58:46 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  08/04/16 08:58:45

Modified files:
        .              : ChangeLog 
        testsuite/misc-ming.all: ButtonEventsTest.c 

Log message:
        self-contain tests for NOT receiving unexpected events, gnash failure
        is more explicitly visible now (gets an additional unexpected MOUSEOUT
        event when MOUSEUPOUTSIDE is expected).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.6291&r2=1.6292
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/ButtonEventsTest.c?cvsroot=gnash&r1=1.12&r2=1.13

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.6291
retrieving revision 1.6292
diff -u -b -r1.6291 -r1.6292
--- ChangeLog   16 Apr 2008 08:35:38 -0000      1.6291
+++ ChangeLog   16 Apr 2008 08:58:45 -0000      1.6292
@@ -1,5 +1,13 @@
 2008-04-16 Sandro Santilli <address@hidden>
 
+       * testsuite/misc-ming.all/ButtonEventsTest.c: self-contain
+         tests for NOT receiving unexpected events, gnash failure
+         is more explicitly visible now (gets an additional
+         unexpected MOUSEOUT event when MOUSEUPOUTSIDE is expected).
+
+
+2008-04-16 Sandro Santilli <address@hidden>
+
        * testsuite/misc-ming.all/: ButtonEventsTest-Runner.cpp,
          ButtonEventsTest.c: cleanup the test so to guide
          humans trough non-automated testing. Interestingly

Index: testsuite/misc-ming.all/ButtonEventsTest.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/ButtonEventsTest.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- testsuite/misc-ming.all/ButtonEventsTest.c  16 Apr 2008 08:35:39 -0000      
1.12
+++ testsuite/misc-ming.all/ButtonEventsTest.c  16 Apr 2008 08:58:45 -0000      
1.13
@@ -153,6 +153,7 @@
                "       _root.note(_root.testno+'. Press mouse button inside 
the square, and release it outside.');"
                "} else {"
                //"     _root.note('SWFBUTTON_MOUSEOUT');"
+               "       _root.xfail('Unexpectedly got SWFBUTTON_MOUSEOUT event 
(testno:'+_root.testno+')');"
                "}"
                ), SWFBUTTON_MOUSEOUT);
 
@@ -168,6 +169,10 @@
                "       _root.note(_root.testno+'. Press (and keep pressed) the 
mouse button inside the square.');"
                "} else {"
                //"     _root.note('SWFBUTTON_MOUSEOVER');"
+               // need MOUSEOVER for MOUSEUPOUTSIDE
+               "       if ( _root.testno != 5 && _root.testno != 10 && 
_root.testno != 15 ) {"
+               "               _root.fail('Unexpectedly got 
SWFBUTTON_MOUSEOVER event (testno:'+_root.testno+')');"
+               "       }"
                "}"
                ), SWFBUTTON_MOUSEOVER);
 
@@ -186,6 +191,10 @@
                "       _root.note(_root.testno+'. Depress the mouse button 
inside the square.');"
                "} else {"
                //"     _root.note('SWFBUTTON_MOUSEDOWN');"
+               // need MOUSEDOWN for MOUSEUPOUTSIDE
+               "       if ( _root.testno != 5 && _root.testno != 10 && 
_root.testno != 15 ) {"
+               "               _root.fail('Unexpectedly got 
SWFBUTTON_MOUSEDOWN event (testno:'+_root.testno+')');"
+               "       }"
                "}"
                ), SWFBUTTON_MOUSEDOWN);
 
@@ -201,6 +210,7 @@
                "       _root.note(_root.testno+'. Move the mouse pointer off 
the square.');"
                "} else {"
                //"     _root.note('SWFBUTTON_MOUSEUP');"
+               "       _root.fail('Unexpectedly got SWFBUTTON_MOUSEUP event 
(testno:'+_root.testno+')');"
                "}"
                ), SWFBUTTON_MOUSEUP);
 
@@ -217,6 +227,7 @@
                "       _root.nextFrame();"
                "} else {"
                //"     _root.note('SWFBUTTON_MOUSEUPOUTSIDE');"
+               "       _root.fail('Unexpectedly got SWFBUTTON_MOUSEUPOUTSIDE 
event (testno:'+_root.testno+')');"
                "}"
                ), SWFBUTTON_MOUSEUPOUTSIDE);
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]