[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/case.as
From: |
Zou Lunkai |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/actionscript.all/case.as |
Date: |
Wed, 11 Jul 2007 07:55:07 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Zou Lunkai <zoulunkai> 07/07/11 07:55:06
Modified files:
. : ChangeLog
Added files:
testsuite/actionscript.all: case.as
Log message:
* testsuite/actionscript.all/case.as: add a testcase for testing case
senstivity for SWF < 7.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3711&r2=1.3712
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/case.as?cvsroot=gnash&rev=1.1
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3711
retrieving revision 1.3712
diff -u -b -r1.3711 -r1.3712
--- ChangeLog 11 Jul 2007 06:43:07 -0000 1.3711
+++ ChangeLog 11 Jul 2007 07:55:06 -0000 1.3712
@@ -1,5 +1,10 @@
2007-07-11 Zou Lunkai <address@hidden>
+ * testsuite/actionscript.all/case.as: add a testcase for testing
+ case senstivity for SWF < 7.
+
+2007-07-11 Zou Lunkai <address@hidden>
+
* testsuite/misc-ming.all/key_event_test4.c, key_event_test5.c: call
totals()
instead of total() to give a final report, the later one is an
undefined function.
* testsuite/misc-ming.all/key_event_test5runner.c: add comments why
Gnash fails,
Index: testsuite/actionscript.all/case.as
===================================================================
RCS file: testsuite/actionscript.all/case.as
diff -N testsuite/actionscript.all/case.as
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ testsuite/actionscript.all/case.as 11 Jul 2007 07:55:06 -0000 1.1
@@ -0,0 +1,50 @@
+ //
+// Copyright (C) 2007 Free Software Foundation, Inc.
+//
+// This program is free software; you can redistribute it and/or modchecky
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; check not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fcheckth Floor, Boston, MA 02110-1301
USA
+//
+
+/*
+ * Zou Lunkai, address@hidden
+ *
+ * Test case senstivity
+ */
+
+#include "check.as"
+
+#if OUTPUT_VERSION <= 6
+
+aBcD = 100;
+oBj = new Object();
+obj.xYZ = 100;
+
+check_equals(ABCD, 100);
+check_equals(typeof(OBJ), 'object');
+check_equals(OBJ.xyz, 100);
+
+_ROOT.createEmptyMovieClip("mC0", 3);
+check_equals(typeof(mc0), 'movieclip');
+
+#ifdef MING_SUPPORTS_ASM
+asm{
+ push "/_ROOT/MC0/"
+ push 0.0
+ push 100
+ setproperty
+};
+xcheck_equals(mC0._X, 100);
+#endif
+
+#endif // OUTPUT_VERSION > 5
- [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/case.as,
Zou Lunkai <=