[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/testsuite/samples GotoAndPlayTest.as Goto...
From: |
Udo Giacomozzi |
Subject: |
[Gnash-commit] gnash/testsuite/samples GotoAndPlayTest.as Goto... |
Date: |
Mon, 26 Feb 2007 14:30:09 +0000 |
CVSROOT: /cvsroot/gnash
Module name: gnash
Changes by: Udo Giacomozzi <udog> 07/02/26 14:30:09
Modified files:
testsuite/samples: GotoAndPlayTest.as GotoAndPlayTest.swf
Log message:
Updated testcase to stop in last frame
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/samples/GotoAndPlayTest.as?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/samples/GotoAndPlayTest.swf?cvsroot=gnash&rev=1.3
Patches:
Index: GotoAndPlayTest.as
===================================================================
RCS file: /cvsroot/gnash/gnash/testsuite/samples/GotoAndPlayTest.as,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- GotoAndPlayTest.as 21 Feb 2007 10:43:10 -0000 1.2
+++ GotoAndPlayTest.as 26 Feb 2007 14:30:09 -0000 1.3
@@ -18,13 +18,16 @@
trace("PASSED: _currentframe reports frame 2");
- gotoAndPlay(temp);
+ temp=_currentframe;
+
+ //gotoAndPlay(temp);
+ gotoAndStop(temp);
if (_currentframe==temp)
- trace("PASSED: _currentframe is correct after gotoAndPlay() call");
+ trace("PASSED: _currentframe is correct after gotoAndPlay() call
("+_currentframe+")");
else
trace("FAILED: _currentframe reports frame "+_currentframe+" instead of
"+temp);
}
-stop();
+
Index: GotoAndPlayTest.swf
===================================================================
RCS file: /cvsroot/gnash/gnash/testsuite/samples/GotoAndPlayTest.swf,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
Binary files /tmp/cvsTqfzoL and /tmp/cvsn6pcs2 differ