[Top][All Lists]
[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: |
Mon, 16 Oct 2006 19:01:39 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 06/10/16 19:01:39
Modified files:
. : ChangeLog
testsuite/misc-ming.all: ButtonEventsTest-Runner.cpp
Log message:
* testsuite/misc-ming.all/ButtonEventsTest-Runner.cpp: expect immediate
execution of mouse event handlers.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.1251&r2=1.1252
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/ButtonEventsTest-Runner.cpp?cvsroot=gnash&r1=1.1&r2=1.2
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.1251
retrieving revision 1.1252
diff -u -b -r1.1251 -r1.1252
--- ChangeLog 16 Oct 2006 19:00:57 -0000 1.1251
+++ ChangeLog 16 Oct 2006 19:01:38 -0000 1.1252
@@ -1,5 +1,7 @@
2006-10-16 Sandro Santilli <address@hidden>
+ * testsuite/misc-ming.all/ButtonEventsTest-Runner.cpp:
+ expect immediate execution of mouse event handlers.
* server/button_character_instance.cpp (on_button_event):
execute events handler immediately, not at next 'advance'
* configure.ac: comment out unused OGG and PNG checks
Index: testsuite/misc-ming.all/ButtonEventsTest-Runner.cpp
===================================================================
RCS file:
/sources/gnash/gnash/testsuite/misc-ming.all/ButtonEventsTest-Runner.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/misc-ming.all/ButtonEventsTest-Runner.cpp 16 Oct 2006 14:27:43
-0000 1.1
+++ testsuite/misc-ming.all/ButtonEventsTest-Runner.cpp 16 Oct 2006 19:01:39
-0000 1.2
@@ -78,44 +78,38 @@
// TODO: check that pixel @ 60,60 is red !
// roll over the middle of the square, this should change
- // the textfield value, but only after advance().
+ // the textfield value.
tester.movePointerTo(60, 60);
- tester.advance();
check_equals(string(text->get_text_value()), string("MouseOver"));
// TODO: check that pixel @ 60,60 is yellow !
// press the mouse button, this should change
- // the textfield value, but only after advance().
+ // the textfield value.
tester.pressMouseButton();
- tester.advance();
check_equals(string(text->get_text_value()), string("MouseDown"));
// TODO: check that pixel @ 60,60 is green !
// depress the mouse button, this should change
- // the textfield value, but only after advance().
+ // the textfield value.
tester.depressMouseButton();
- tester.advance();
check_equals(string(text->get_text_value()), string("MouseUp"));
// TODO: check that pixel @ 60,60 is yellow !
// roll off the square, this should change
- // the textfield value, but only after advance().
+ // the textfield value.
tester.movePointerTo(39, 60);
- tester.advance();
check_equals(string(text->get_text_value()), string("MouseOut"));
// TODO: check that pixel @ 60,60 is red !
// press the mouse button, this should not change anything
// as we're outside of the button.
tester.pressMouseButton();
- tester.advance();
check_equals(string(text->get_text_value()), string("MouseOut"));
// TODO: check that pixel @ 60,60 is red !
// depress the mouse button, this should not change anything
// as we're outside of the button.
tester.depressMouseButton();
- tester.advance();
check_equals(string(text->get_text_value()), string("MouseOut"));
// TODO: check that pixel @ 60,60 is red !
}
- [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/ButtonE...,
Sandro Santilli <=