[Top][All Lists]
[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-267-gfdc6996 |
Date: |
Thu, 14 Apr 2011 22:20:02 +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 fdc6996a8f946cb6919244ac407a0cb60ee5846e (commit)
from c492c1b5befccee4c4a36b700f7ea3ad93fc29be (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=fdc6996a8f946cb6919244ac407a0cb60ee5846e
commit fdc6996a8f946cb6919244ac407a0cb60ee5846e
Author: Sandro Santilli <address@hidden>
Date: Fri Apr 15 00:19:34 2011 +0200
Test that Sound.onLoad is called with an argument, true when load succeeded.
diff --git a/testsuite/actionscript.all/Sound.as
b/testsuite/actionscript.all/Sound.as
index 36b82df..76efe10 100644
--- a/testsuite/actionscript.all/Sound.as
+++ b/testsuite/actionscript.all/Sound.as
@@ -30,7 +30,7 @@ endOfTest = function()
// TODO: test non-streaming sound too !
#if OUTPUT_VERSION > 5
- check_totals(106);
+ check_totals(108);
#else
check_totals(94);
#endif
@@ -255,14 +255,17 @@ s.onSoundComplete = function()
// fixing this might fix google dict
// See https://savannah.gnu.org/bugs/index.php?31314
xcheck(s.onLoadCalled);
+ xcheck_equals(typeof(s.onLoadArg), 'boolean');
+ xcheck_equals(s.onLoadArg, true);
endOfTest();
};
-s.onLoad = function()
+s.onLoad = function(arg)
{
trace("onLoad called");
s.onLoadCalled = true;
+ s.onLoadArg = arg;
};
stop();
-----------------------------------------------------------------------
Summary of changes:
testsuite/actionscript.all/Sound.as | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
hooks/post-receive
--
Gnash
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-267-gfdc6996,
Sandro Santilli <=