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/Drawing...


From: Zou Lunkai
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Drawing...
Date: Wed, 07 May 2008 03:40:45 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Zou Lunkai <zoulunkai>  08/05/07 03:40:44

Modified files:
        .              : ChangeLog 
        testsuite/misc-ming.all: DrawingApiTest.as 
                                 DrawingApiTestRunner.cpp Makefile.am 
Added files:
        testsuite/media: empty_swf.swf 

Log message:
        * testsuite/media/empty_swf.swf: add a new binary empty swf file for 
testing
          convenience(produced by "makeswf empty_source_file.as")
        * testsuite/misc-ming.all/makefile.am, 
testsuite/misc-ming.all/DrawingApiTest.as,
          testsuite/misc-ming.all/DrawingApiTestRunner.cpp: put the tests to 
the second
          frame. hitTest(*, *, true) is not reliable when in the first 
frame(don't know why).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.6533&r2=1.6534
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/DrawingApiTest.as?cvsroot=gnash&r1=1.35&r2=1.36
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/DrawingApiTestRunner.cpp?cvsroot=gnash&r1=1.41&r2=1.42
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/Makefile.am?cvsroot=gnash&r1=1.195&r2=1.196
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/media/empty_swf.swf?cvsroot=gnash&rev=1.1

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.6533
retrieving revision 1.6534
diff -u -b -r1.6533 -r1.6534
--- ChangeLog   7 May 2008 01:27:59 -0000       1.6533
+++ ChangeLog   7 May 2008 03:40:43 -0000       1.6534
@@ -1,3 +1,11 @@
+2008-05-07 Zou Lunkai <address@hidden>
+
+       * testsuite/media/empty_swf.swf: add a new binary empty swf file for 
testing
+         convenience(produced by "makeswf empty_source_file.as")
+       * testsuite/misc-ming.all/makefile.am, 
testsuite/misc-ming.all/DrawingApiTest.as,
+         testsuite/misc-ming.all/DrawingApiTestRunner.cpp: put the tests to 
the second
+         frame. hitTest(*, *, true) is not reliable when in the first 
frame(don't know why).
+       
 2008-05-06 Bastiaan Jacques <address@hidden>
 
        * server/asobj/NetStreamGst.cpp, libmedia/gst/VideoDecoderGst.cpp:

Index: testsuite/misc-ming.all/DrawingApiTest.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/DrawingApiTest.as,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -b -r1.35 -r1.36
--- testsuite/misc-ming.all/DrawingApiTest.as   5 Mar 2008 03:56:07 -0000       
1.35
+++ testsuite/misc-ming.all/DrawingApiTest.as   7 May 2008 03:40:44 -0000       
1.36
@@ -749,3 +749,7 @@
 
 };
 Key.addListener(this);
+
+stop();
+
+

Index: testsuite/misc-ming.all/DrawingApiTestRunner.cpp
===================================================================
RCS file: 
/sources/gnash/gnash/testsuite/misc-ming.all/DrawingApiTestRunner.cpp,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -b -r1.41 -r1.42
--- testsuite/misc-ming.all/DrawingApiTestRunner.cpp    21 Jan 2008 23:26:51 
-0000      1.41
+++ testsuite/misc-ming.all/DrawingApiTestRunner.cpp    7 May 2008 03:40:44 
-0000       1.42
@@ -80,10 +80,11 @@
        sprite_instance* root = tester.getRootMovie();
        assert(root);
 
-       check_equals(root->get_frame_count(), 1);
+       check_equals(root->get_frame_count(), 2);
        check_equals(root->get_current_frame(), 0);
 
-       //tester.advance();
+       // advance to the second frame, first frame is Dejagnu.swf 
+       tester.advance();
 
        rgba white(255, 255, 255, 255);
        rgba blue(0, 0, 255, 255);

Index: testsuite/misc-ming.all/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/Makefile.am,v
retrieving revision 1.195
retrieving revision 1.196
diff -u -b -r1.195 -r1.196
--- testsuite/misc-ming.all/Makefile.am 29 Apr 2008 12:51:38 -0000      1.195
+++ testsuite/misc-ming.all/Makefile.am 7 May 2008 03:40:44 -0000       1.196
@@ -1573,7 +1573,7 @@
 
 
 DrawingApiTest.swf: $(srcdir)/DrawingApiTest.as 
-       $(MAKESWF) -r12 -o $@ $(srcdir)/DrawingApiTest.as
+       $(MAKESWF) -r 1 -o $@  ../media/empty_swf.swf 
$(srcdir)/DrawingApiTest.as
 
 DrawingApiTestRunner_SOURCES = \
        DrawingApiTestRunner.cpp \

Index: testsuite/media/empty_swf.swf
===================================================================
RCS file: testsuite/media/empty_swf.swf
diff -N testsuite/media/empty_swf.swf
Binary files /dev/null and /tmp/cvsmBlNwb differ




reply via email to

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