gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] /srv/bzr/gnash/trunk r10446: Another remoting test, for m


From: Sandro Santilli
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r10446: Another remoting test, for multiple args
Date: Tue, 16 Dec 2008 17:43:12 +0100
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 10446
committer: Sandro Santilli <address@hidden>
branch nick: trunk
timestamp: Tue 2008-12-16 17:43:12 +0100
message:
  Another remoting test, for multiple args
modified:
  testsuite/misc-ming.all/remoting.as
=== modified file 'testsuite/misc-ming.all/remoting.as'
--- a/testsuite/misc-ming.all/remoting.as       2008-12-16 16:32:05 +0000
+++ b/testsuite/misc-ming.all/remoting.as       2008-12-16 16:43:12 +0000
@@ -24,7 +24,7 @@
 endOfTest = function()
 {
        //note("END OF TEST");
-       check_totals(84);
+       check_totals(89);
 };
 
 
@@ -308,6 +308,20 @@
         check_equals(res.message, 'noarg');
         check_equals(res.arg_count, '0');
         check_equals(res.hex, '0a:00:00:00:00');
+    };
+
+    o={onStatus:handleOnStatus};
+    nc.call("multiarg", o, [], 'a', {b:'c',d:1}, null, undefined); 
+    o.onResult = function(res) {
+        //note(printInfo(res));
+
+        // connection ID is NOT reset if the call happens
+        // on next frame
+        check_equals(res.remote_port, connectionPort);
+        xcheck_equals(res.request_id, '/4');
+        check_equals(res.message, 'multiarg');
+        check_equals(res.arg_count, '5');
+        check_equals(res.hex, 
'0a:00:00:00:05:0a:00:00:00:00:02:00:01:61:03:00:01:64:00:3f:f0:00:00:00:00:00:00:00:01:62:02:00:01:63:00:00:09:05:06');
         test17();
     };
 }


reply via email to

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