gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/NetStre...


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/NetStre...
Date: Tue, 22 Jan 2008 10:12:21 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  08/01/22 10:12:21

Modified files:
        .              : ChangeLog 
        testsuite/misc-ming.all: NetStream-SquareTest.c 

Log message:
        expect the failures in currentFps, till bjacques fixes it.
        Add test for metadata object being an Object instance.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.5459&r2=1.5460
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/NetStream-SquareTest.c?cvsroot=gnash&r1=1.19&r2=1.20

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.5459
retrieving revision 1.5460
diff -u -b -r1.5459 -r1.5460
--- ChangeLog   22 Jan 2008 09:30:35 -0000      1.5459
+++ ChangeLog   22 Jan 2008 10:12:20 -0000      1.5460
@@ -1,5 +1,11 @@
 2008-01-22 Sandro Santilli <address@hidden>
 
+       * testsuite/misc-ming.all/NetStream-SquareTest.c: expect the failures
+         in currentFps, till bjacques fixes it. Add test for metadata object
+         being an Object instance.
+
+2008-01-22 Sandro Santilli <address@hidden>
+
        * server/asobj/NetStreamGst.cpp: make metadata object properties
          enumerable, deletable and overridable, fix bool properties
          and the 'duration' unit.

Index: testsuite/misc-ming.all/NetStream-SquareTest.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/NetStream-SquareTest.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- testsuite/misc-ming.all/NetStream-SquareTest.c      22 Jan 2008 09:30:36 
-0000      1.19
+++ testsuite/misc-ming.all/NetStream-SquareTest.c      22 Jan 2008 10:12:21 
-0000      1.20
@@ -139,11 +139,11 @@
   add_actions(mo, "video.attachVideo(stream);"); 
   
   // currentFps (read-only)
-  check_equals (mo, "typeof(stream.currentFps)", "'number'" );
+  xcheck_equals (mo, "typeof(stream.currentFps)", "'number'" );
   add_actions(mo, "stream.currentFps = 'string';");
-  check_equals (mo, "typeof(stream.currentFps)", "'number'" );
+  xcheck_equals (mo, "typeof(stream.currentFps)", "'number'" );
   add_actions(mo, "stream.currentFps = false;");
-  check_equals (mo, "typeof(stream.currentFps)", "'number'" );
+  xcheck_equals (mo, "typeof(stream.currentFps)", "'number'" );
 
   // bufferLength (read-only)
   check_equals (mo, "typeof(stream.bufferLength)", "'number'" );
@@ -184,7 +184,7 @@
   add_actions(mo, "stream.bytesLoaded = 'string';");
   check_equals (mo, "typeof(stream.bytesLoaded)", "'number'" ); 
 
-  check_equals (mo, "stream.currentFps", "0" );
+  xcheck_equals (mo, "stream.currentFps", "0" );
 
   /* Play video */
   b = newSWFAction(buffer_b);
@@ -276,6 +276,7 @@
                " _root.note('onMetaData: '+s);"
 
                " check_equals(arguments.length, 1, 'single argument');"
+               " check(info instanceof Object);"
 
                // Test enumeration
                " var enu = new Array;"
@@ -363,7 +364,7 @@
 
   SWFMovie_nextFrame(mo);
 
-  SWFMovie_add(mo, (SWFBlock)newSWFAction("totals(99); stop();"));
+  SWFMovie_add(mo, (SWFBlock)newSWFAction("totals(100); stop();"));
 
   SWFMovie_nextFrame(mo);
 




reply via email to

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