gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-


From: Sandro Santilli
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-353-gfd373fe
Date: Thu, 19 May 2011 14:34:42 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".

The branch, master has been updated
       via  fd373fe129baba3523cc5a612b941ba62ea7bb94 (commit)
      from  a0e8aa9e0ada082837a7143f126dc40414736991 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=fd373fe129baba3523cc5a612b941ba62ea7bb94


commit fd373fe129baba3523cc5a612b941ba62ea7bb94
Author: Sandro Santilli <address@hidden>
Date:   Thu May 19 16:34:09 2011 +0200

    Check that onSoundComplete is called at least once when all sounds are 
finished playing (test for #23020)

diff --git a/testsuite/misc-ming.all/eventSoundTest1-Runner.cpp 
b/testsuite/misc-ming.all/eventSoundTest1-Runner.cpp
index 60faf8c..21653dc 100644
--- a/testsuite/misc-ming.all/eventSoundTest1-Runner.cpp
+++ b/testsuite/misc-ming.all/eventSoundTest1-Runner.cpp
@@ -74,7 +74,7 @@ main(int /*argc*/, char** /*argv*/)
 
        // Make sure you adjust this with the test!
        cerr << "Total frames: " <<  totalFrames << endl;
-       assert (totalFrames == 23);
+       assert (totalFrames == 26);
 
        int numSoundsStarted[] = {
                0, 
diff --git a/testsuite/misc-ming.all/eventSoundTest1.c 
b/testsuite/misc-ming.all/eventSoundTest1.c
index 7863648..a1b8fd6 100644
--- a/testsuite/misc-ming.all/eventSoundTest1.c
+++ b/testsuite/misc-ming.all/eventSoundTest1.c
@@ -194,9 +194,16 @@ runAttachedSoundsTest(SWFMovie mo, SWFSound so, int* frame)
     /* add_actions(mo, "note('Position: '+s.position);"); */
     check_equals(mo, "Math.round(s.position/1000)", "2");
 
+    printFrameInfo(mo, i, frameDesc[i]);
+
+    for (i = 0; i < 3; i++)
+        SWFMovie_nextFrame(mo);
+
+    xcheck_equals(mo, "cs", "3");
+    check(mo, "cs > 0"); /* This is a test for bug #23020 */
+
     add_actions(mo, "s.stop();");
 
-    printFrameInfo(mo, i, frameDesc[i]);
 
 }
 

-----------------------------------------------------------------------

Summary of changes:
 testsuite/misc-ming.all/eventSoundTest1-Runner.cpp |    2 +-
 testsuite/misc-ming.all/eventSoundTest1.c          |    9 ++++++++-
 2 files changed, 9 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

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