gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Cont...


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Cont...
Date: Wed, 22 Nov 2006 10:04:37 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  06/11/22 10:04:37

Modified files:
        .              : ChangeLog 
        testsuite/actionscript.all: ContextMenu.as 

Log message:
                * testsuite/actionscript.all/ContextMenu.as: check that
                  support starts with SWF7.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.1698&r2=1.1699
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/ContextMenu.as?cvsroot=gnash&r1=1.6&r2=1.7

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.1698
retrieving revision 1.1699
diff -u -b -r1.1698 -r1.1699
--- ChangeLog   22 Nov 2006 09:50:03 -0000      1.1698
+++ ChangeLog   22 Nov 2006 10:04:37 -0000      1.1699
@@ -1,5 +1,7 @@
 2006-11-21 Sandro Santilli <address@hidden>
 
+       * testsuite/actionscript.all/ContextMenu.as: check that
+         support starts with SWF7.
        * testsuite/actionscript.all/Camera.as: updated to
          properly check the get() method.
 

Index: testsuite/actionscript.all/ContextMenu.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/ContextMenu.as,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- testsuite/actionscript.all/ContextMenu.as   5 Nov 2006 00:45:27 -0000       
1.6
+++ testsuite/actionscript.all/ContextMenu.as   22 Nov 2006 10:04:37 -0000      
1.7
@@ -20,10 +20,12 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: ContextMenu.as,v 1.6 2006/11/05 00:45:27 rsavoye Exp $";
+rcsid="$Id: ContextMenu.as,v 1.7 2006/11/22 10:04:37 strk Exp $";
 
 #include "check.as"
 
+#if OUTPUT_VERSION >= 7
+
 var contextmenuObj = new ContextMenu;
 
 // test the ContextMenu constuctor
@@ -33,3 +35,10 @@
 check (contextmenuObj.copy != undefined);
 // test the ContextMenu::hidebuiltinitems method
 check (contextmenuObj.hidebuiltinitems != undefined);
+
+#else
+
+// there was no ContextMenu before SWF7
+xcheck_equals(ContextMenu, undefined);
+
+#endif




reply via email to

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