[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/testsuite/misc-mtasc.all super_test1.as
From: |
Zou Lunkai |
Subject: |
[Gnash-commit] gnash/testsuite/misc-mtasc.all super_test1.as |
Date: |
Wed, 10 Oct 2007 05:49:35 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Zou Lunkai <zoulunkai> 07/10/10 05:49:35
Modified files:
testsuite/misc-mtasc.all: super_test1.as
Log message:
add copyright and comments.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-mtasc.all/super_test1.as?cvsroot=gnash&r1=1.1&r2=1.2
Patches:
Index: super_test1.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-mtasc.all/super_test1.as,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- super_test1.as 10 Oct 2007 05:41:05 -0000 1.1
+++ super_test1.as 10 Oct 2007 05:49:35 -0000 1.2
@@ -1,3 +1,26 @@
+// levels.as - MTASC testcase for loading into _level targets
+//
+// Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 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; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+//
+//
+// zou lunkai address@hidden
+//
+// Test super in a mutilevel inheritance context(Base1.Derived1.Derived11).
+//
#include "check.as"
import Derived1;
@@ -15,8 +38,10 @@
static function main()
{
+ // Gnash got an unexpected 'ActionLimit hit' here.
var derivedObj = new Derived11();
+ // check that all constructors in the inheritance chain are called.
check_equals(derivedObj.derived11CtorCalled, true);
check_equals(derivedObj.derived1CtorCalled, true);
check_equals(derivedObj.baseCtorCalled, true);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash/testsuite/misc-mtasc.all super_test1.as,
Zou Lunkai <=