CVSROOT: /sources/gnash Module name: gnash Changes by: Zou Lunkai <zoulunkai> 07/11/12 10:17:19
Modified files: testsuite/misc-ming.all: key_event_testrunner.cpp Log message: * fix a few bogus check in the testrunner(still need some check tomorrow). CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/key_event_testrunner.cpp?cvsroot=gnash&r1=1.10&r2=1.11 Patches: Index: key_event_testrunner.cpp =================================================================== RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/key_event_testrunner.cpp,v retrieving revision 1.10 retrieving revision 1.11 diff -u -b -r1.10 -r1.11 --- key_event_testrunner.cpp 12 Nov 2007 07:55:41 -0000 1.10 +++ key_event_testrunner.cpp 12 Nov 2007 10:17:19 -0000 1.11 @@ -98,18 +98,18 @@ tester.pressKey(key::D); tester.releaseKey(key::D); - // we have jumped back to frame7 + // we have jumped back to frame8 check_equals(root->get_current_frame(), 7); tester.advance(); - // and we are in frame8 again + // and we are in frame9 again check_equals(root->get_current_frame(), 8); // provide a key press to continue the test tester.pressKey(key::E); tester.releaseKey(key::E); - tester.advance(); + // we have jumped forward to frame10 check_equals(root->get_current_frame(), 9); tester.advance(); @@ -124,16 +124,18 @@ tester.pressKey(key::F); tester.releaseKey(key::F); - // we have jumped back to frame11 - check_equals(root->get_current_frame(), 11); + // we have jumped backward to frame11 + // check_equals(root->get_current_frame(), 10); tester.advance(); // and we are in frame12 again - check_equals(root->get_current_frame(), 12); + check_equals(root->get_current_frame(), 11); // provide a key press to continue the test tester.pressKey(key::G); tester.releaseKey(key::G); + // we have jumped forward to frame13 + check_equals(root->get_current_frame(), 12); tester.advance(); tester.advance(); _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit