CVSROOT: /sources/gnash Module name: gnash Changes by: Sandro Santilli <strk> 07/11/09 10:34:23
Modified files: . : ChangeLog testsuite/misc-ming.all: registerClassTest2.c Log message: Document the test CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4816&r2=1.4817 http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/registerClassTest2.c?cvsroot=gnash&r1=1.8&r2=1.9 Patches: Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.4816 retrieving revision 1.4817 diff -u -b -r1.4816 -r1.4817 --- ChangeLog 9 Nov 2007 10:26:10 -0000 1.4816 +++ ChangeLog 9 Nov 2007 10:34:22 -0000 1.4817 @@ -1,5 +1,7 @@ 2007-11-09 Sandro Santilli <[EMAIL PROTECTED]> + * testsuite/misc-ming.all/registerClassTest2.c: + Document the test * server/movie_root.cpp (dtor, clear): don't try to cleanup action queue twice.. * server/DynamicShape.h, server/parser/shape_character_def.h: Index: testsuite/misc-ming.all/registerClassTest2.c =================================================================== RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/registerClassTest2.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -b -r1.8 -r1.9 --- testsuite/misc-ming.all/registerClassTest2.c 16 Oct 2007 10:08:38 -0000 1.8 +++ testsuite/misc-ming.all/registerClassTest2.c 9 Nov 2007 10:34:22 -0000 1.9 @@ -20,8 +20,29 @@ /* * zou lunkai, [EMAIL PROTECTED] * - * Testcase for Object.registerClass(). + * Testcases for Object.registerClass(). * + * -=[ CASE1 ]=- + * + * (1) Export 'libItem1' and 'libItem2' symbols + * (2) DOACTION block + * (2.1) Register 'theClass1' and 'theClass2' to the symbols above + * (2.2) Attach the symbols as instances 'clip1' and 'clip2' + * (3) Other DOACTION blocks + * (3.1) Verify that 'clip1' and 'clip2' are instances of 'theClass1' and 'theClass2' respectively + * + * + * -=[ CASE2 ]=- + * + * (1) Export 'libItem3' + * (2) INITACTION block + * (2.1) Register 'theClass3' to 'libItem3' + * (2.2) Attach 'libItem3' as instance 'clip3' + * (2.3) Verify that 'clip3' is an instance of 'theClass3' + * (3) INITCLIP event for 'clip3' + * (3.1) Verify thet 'clip3' is an instance of 'theClass3' + * (4) CONSTRUCT event for 'clip3' + * (4.1) Verify thet 'clip3' is an instance of 'theClass3' */ #include <stdlib.h> @@ -130,7 +151,7 @@ SWFMovieClip_add(mc3, (SWFBlock)sh3); SWFMovieClip_nextFrame(mc3); - // Exprot mc3 + // Export mc3 addExport(mo, mc3, "libItem3"); it3 = SWFMovie_add(mo, mc3); _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit