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. 15d39fa1345e51ad146c


From: Benjamin Wolsey
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. 15d39fa1345e51ad146ca44cd10fa9195697e618
Date: Thu, 18 Nov 2010 13:35:57 +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  15d39fa1345e51ad146ca44cd10fa9195697e618 (commit)
      from  382de6c7f633146315c4a633854d1dd632c1b138 (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=15d39fa1345e51ad146ca44cd10fa9195697e618


commit 15d39fa1345e51ad146ca44cd10fa9195697e618
Author: Benjamin Wolsey <address@hidden>
Date:   Thu Nov 18 14:35:27 2010 +0100

    Make sure the test results are displayed.

diff --git a/testsuite/misc-ming.all/red5test.as 
b/testsuite/misc-ming.all/red5test.as
index 3403027..89c53f0 100644
--- a/testsuite/misc-ming.all/red5test.as
+++ b/testsuite/misc-ming.all/red5test.as
@@ -12,9 +12,15 @@
 note("SWF" + OUTPUT_VERSION + " - " + System.capabilities.version + "\n");
 rcsid="red5test.as - <bzr revno here>";
 
+#define info _root.note
+#define note _root.note
+#define fail_check _root.fail
+#define pass_check  _root.pass
+#define xfail_check _root.xfail
+#define xpass_check _root.xpass
+
 #include "../actionscript.all/check.as"
 #include "../actionscript.all/utils.as"
-#include "../actionscript.all/dejagnu.as"
 
 stop();
 
@@ -41,10 +47,10 @@ test1 = function(nc)
     o = {};
     o.onResult = function(arg)
     {
-       check_equals(arguments.length, 1);
-       check_equals(arg, "hello");
-       check_equals(typeof(arg), "string");
-       test2(nc);
+        check_equals(arguments.length, 1);
+        check_equals(arg, "hello");
+        check_equals(typeof(arg), "string");
+        test2(nc);
     };
     nc.call("echo", o, "hello");
 };
@@ -55,9 +61,9 @@ test2 = function(nc)
     o = {};
     o.onResult = function(arg)
     {
-       check_equals(arguments.length, 1);
-       check_equals(typeof(arg), "number");
-       test3(nc);
+        check_equals(arguments.length, 1);
+        check_equals(typeof(arg), "number");
+        test3(nc);
     };
     nc.call("echo", o, 24);
 };
@@ -69,25 +75,25 @@ test3 = function(nc)
     o = {};
     o.onResult = function(arg)
     {
-       check_equals(arguments.length, 1);
-       check_equals(typeof(arg), "object");
-       check(arg.hasOwnProperty("length"));
-       check_equals(arg.length, 3);
+        check_equals(arguments.length, 1);
+        check_equals(typeof(arg), "object");
+        check(arg.hasOwnProperty("length"));
+        check_equals(arg.length, 3);
 
-       check_equals(typeof(arg[0]), "number");
+        check_equals(typeof(arg[0]), "number");
 
-       check_equals(typeof(arg[1]), "object");
-       check_equals(typeof(arg[1].x), "number");
-       check_equals(arg[1].x, 23);
-       check_equals(typeof(arg[1].y), "number");
-       check_equals(arg[1].y, 67);
-       check_equals(typeof(arg[1].text), "string");
-       check_equals(arg[1].text, "a string");
+        check_equals(typeof(arg[1]), "object");
+        check_equals(typeof(arg[1].x), "number");
+        check_equals(arg[1].x, 23);
+        check_equals(typeof(arg[1].y), "number");
+        check_equals(arg[1].y, 67);
+        check_equals(typeof(arg[1].text), "string");
+        check_equals(arg[1].text, "a string");
 
-       check_equals(typeof(arg[2]), "object");
-       check_equals(arg[2].length, 5);
+        check_equals(typeof(arg[2]), "object");
+        check_equals(arg[2].length, 5);
 
-       test4(nc);
+        test4(nc);
     };
     nc.call("echo", o, 24, { x:23, y:67, text:"a string" }, [ 1, 2, 3, 4, 5] );
 };

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

Summary of changes:
 testsuite/misc-ming.all/red5test.as |   52 +++++++++++++++++++---------------
 1 files changed, 29 insertions(+), 23 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

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