gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog testsuite/samples/GotoAndPlayTe...


From: Udo Giacomozzi
Subject: [Gnash-commit] gnash ChangeLog testsuite/samples/GotoAndPlayTe...
Date: Wed, 21 Feb 2007 10:21:55 +0000

CVSROOT:        /cvsroot/gnash
Module name:    gnash
Changes by:     Udo Giacomozzi <udog>   07/02/21 10:21:55

Modified files:
        .              : ChangeLog 
Added files:
        testsuite/samples: GotoAndPlayTest.as GotoAndPlayTest.swf 

Log message:
        New testcase for gotoAndPlay() bug

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2417&r2=1.2418
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/samples/GotoAndPlayTest.as?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/samples/GotoAndPlayTest.swf?cvsroot=gnash&rev=1.1

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/gnash/gnash/ChangeLog,v
retrieving revision 1.2417
retrieving revision 1.2418
diff -u -b -r1.2417 -r1.2418
--- ChangeLog   21 Feb 2007 08:17:08 -0000      1.2417
+++ ChangeLog   21 Feb 2007 10:21:54 -0000      1.2418
@@ -1,3 +1,8 @@
+2007-02-21 Udo Giacomozzi <address@hidden>
+
+  * testsuite/samples/GotoAndPlayTest.{as,swf}: Testcase for
+    gotoAndPlay() bug  
+
 2007-02-21 Sandro Santilli <address@hidden>
 
        * server/sound.{h,cpp}: made start_sound_tag a "state"

Index: testsuite/samples/GotoAndPlayTest.as
===================================================================
RCS file: testsuite/samples/GotoAndPlayTest.as
diff -N testsuite/samples/GotoAndPlayTest.as
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ testsuite/samples/GotoAndPlayTest.as        21 Feb 2007 10:21:54 -0000      
1.1
@@ -0,0 +1,25 @@
+// gotoAndPlay() testcase
+// Source file provided for reference
+
+// This code is in frame #2 of a 3-frame file!
+
+var temp = _currentframe;
+
+if (temp!=2) {
+ 
+  trace("UNRESOLVED: _currentframe reports frame "+temp+", can't continue 
test");
+  
+} else {
+
+  trace("PASSED: _currentframe reports frame 2");
+  
+  gotoAndPlay(temp);
+  
+  if (_currentframe==temp) 
+    trace("PASSED: _currentframe is correct after gotoAndPlay() call");
+  else
+    trace("FAILED: _currentframe reports frame "+_currentframe+" instead of 
"+temp);
+  
+}
+
+stop();

Index: testsuite/samples/GotoAndPlayTest.swf
===================================================================
RCS file: testsuite/samples/GotoAndPlayTest.swf
diff -N testsuite/samples/GotoAndPlayTest.swf
Binary files /dev/null and /tmp/cvs9zNRoN differ




reply via email to

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