[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] [SCM] Gnash branch, master, updated. 8adddfd61f468b2ed430
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] [SCM] Gnash branch, master, updated. 8adddfd61f468b2ed4302e4c6fc1b148b76ae50b |
Date: |
Thu, 14 Oct 2010 11:14:01 +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 8adddfd61f468b2ed4302e4c6fc1b148b76ae50b (commit)
from c10600356d0f582728ce99ad8b929b937d9fb20c (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=8adddfd61f468b2ed4302e4c6fc1b148b76ae50b
commit 8adddfd61f468b2ed4302e4c6fc1b148b76ae50b
Author: Sandro Santilli <address@hidden>
Date: Thu Oct 14 13:10:45 2010 +0200
Add count of expected tests run, include "check.as" instead of
"dejagnu.as". The count reveals that the test tests nothing for SWF6! Also, the
switch to "check.as" shows how you can still use the direct "dejagnu.as"
interface if you really like that more...
diff --git a/testsuite/actionscript.all/ExternalInterface.as
b/testsuite/actionscript.all/ExternalInterface.as
index c29bbd9..3f49bc2 100644
--- a/testsuite/actionscript.all/ExternalInterface.as
+++ b/testsuite/actionscript.all/ExternalInterface.as
@@ -20,7 +20,7 @@
// compile this test case with Ming makeswf, and then
// execute it like this gnash -1 -r 0 -v out.swf
-#include "dejagnu.as"
+#include "check.as"
flash.system.Security.allowDomain("localhost");
@@ -38,7 +38,7 @@ if (flash.external.ExternalInterface == undefined) {
EI = flash.external.ExternalInterface;
-#if OUTPUT_VERSION > 6
+#if OUTPUT_VERSION > 6 // {
// First make sure all the documented methods and properties exist
if (EI.hasOwnProperty("call")) {
@@ -52,9 +52,10 @@ if (EI.hasOwnProperty("addCallback")) {
} else {
fail("ExternalInterface::addCallback() doesn't exist");
}
-#endif
-#if OUTPUT_VERSION > 7
+#endif // }
+
+#if OUTPUT_VERSION > 7 // {
if (EI.hasOwnProperty("available")) {
pass("ExternalInterface::available() exists");
} else {
@@ -412,7 +413,15 @@ if (typeOf(val) == "object") {
xfail("ExternalInterface::_objectToAS(object)");
}
-#endif // version > 7
+#endif // version > 7 }
-totals();
+#if OUTPUT_VERSION < 6 // {
+ check_totals(1);
+#elif OUTPUT_VERSION < 7 // }{
+ check_totals(0);
+#elif OUTPUT_VERSION < 8 // }{
+ check_totals(2);
+#else // SWF8+ }{
+ check_totals(45);
+# endif // }
-----------------------------------------------------------------------
Summary of changes:
testsuite/actionscript.all/ExternalInterface.as | 21 +++++++++++++++------
1 files changed, 15 insertions(+), 6 deletions(-)
hooks/post-receive
--
Gnash
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] [SCM] Gnash branch, master, updated. 8adddfd61f468b2ed4302e4c6fc1b148b76ae50b,
Sandro Santilli <=