[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/misc-swfc.all/Makefil...
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/misc-swfc.all/Makefil... |
Date: |
Tue, 22 Apr 2008 09:38:47 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 08/04/22 09:38:47
Modified files:
. : ChangeLog
testsuite/misc-swfc.all: Makefile.am
Added files:
testsuite/misc-swfc.all: button_test2.sc
Log message:
Add zou test for bug #22982
(still not automated - read comments in it for how to reproduce).
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.6341&r2=1.6342
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-swfc.all/Makefile.am?cvsroot=gnash&r1=1.32&r2=1.33
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-swfc.all/button_test2.sc?cvsroot=gnash&rev=1.1
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.6341
retrieving revision 1.6342
diff -u -b -r1.6341 -r1.6342
--- ChangeLog 22 Apr 2008 09:12:44 -0000 1.6341
+++ ChangeLog 22 Apr 2008 09:38:46 -0000 1.6342
@@ -1,5 +1,11 @@
2008-04-22 Sandro Santilli <address@hidden>
+ * testsuite/misc-swfc.all/: Makefile.am, button_test2.sc:
+ Add zou test for bug #22982 (still not automated - read
+ comments in it for how to reproduce).
+
+2008-04-22 Sandro Santilli <address@hidden>
+
* server/button_character_instance.{cpp,h}: override
::destroy (every character overriding ::unload should
do this).
Index: testsuite/misc-swfc.all/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-swfc.all/Makefile.am,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -b -r1.32 -r1.33
--- testsuite/misc-swfc.all/Makefile.am 4 Apr 2008 19:05:16 -0000 1.32
+++ testsuite/misc-swfc.all/Makefile.am 22 Apr 2008 09:38:47 -0000 1.33
@@ -46,6 +46,7 @@
# These ones are the ones for which a MovieTester-based runner exists
INTERACTIVE_SCTESTS = \
button_test1.sc \
+ button_test2.sc \
$(NULL)
AM_CPPFLAGS = -I.. \
Index: testsuite/misc-swfc.all/button_test2.sc
===================================================================
RCS file: testsuite/misc-swfc.all/button_test2.sc
diff -N testsuite/misc-swfc.all/button_test2.sc
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ testsuite/misc-swfc.all/button_test2.sc 22 Apr 2008 09:38:47 -0000
1.1
@@ -0,0 +1,60 @@
+/*
+ * 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
+ *
+ */
+
+/*
+ * This is a testcase for bug https://savannah.gnu.org/bugs/index.php?22982.
+ * To trigger the bug:
+ * 1) Make sure GC::collect() always run (don't wait for a threshold of
newly allocated GcResources)
+ * 2) Run, a red rectangle would appear and disappear every second
+ * 3) Move the mouse on the rectangle while it's visible and wait for it to
become invisible
+ * 4) Move the mouse off the rectangle while it's not visible
+ * 5) Wait for the rectangle to appear again and then disappear
+ * 6) Segfault should be triggered when the button disappears
+ *
+ *
+ */
+
+
+.flash bbox=800x600 filename="button_test2.swf" background=white version=6
fps=1
+
+.frame 1
+
+ .action:
+#include "Dejagnu.sc"
+ .end
+
+.box rbox width=200 height=300 fill=#FF0000 color=#000000
+
+.sprite buttonChild
+ .put rbox
+.end
+
+.button button1
+ .show buttonChild as=idle
+ .show rbox as=area
+ .show rbox as=hover
+.end
+
+.sprite buttonContainer
+ .frame 2
+ .put button1 pin=center x=100 y=100 scalex=100% scaley=100% alpha=100%
+.end
+
+.put buttonContainer
+
+.end // file end
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash ChangeLog testsuite/misc-swfc.all/Makefil...,
Sandro Santilli <=