[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Makefil...
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Makefil... |
Date: |
Wed, 21 Feb 2007 10:58:56 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/02/21 10:58:56
Modified files:
. : ChangeLog
testsuite/misc-ming.all: Makefile.am
Added files:
testsuite/misc-ming.all: gotoFrame2Test.as
Log message:
* testsuite/misc-ming.all/: Makefile.am, gotoFrame2Test.as:
Stubbed Udo's test as Ming source and build rule and test
runner.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2418&r2=1.2419
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/Makefile.am?cvsroot=gnash&r1=1.73&r2=1.74
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/gotoFrame2Test.as?cvsroot=gnash&rev=1.1
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.2418
retrieving revision 1.2419
diff -u -b -r1.2418 -r1.2419
--- ChangeLog 21 Feb 2007 10:21:54 -0000 1.2418
+++ ChangeLog 21 Feb 2007 10:58:56 -0000 1.2419
@@ -1,3 +1,8 @@
+2007-02-21 Sandro Santilli <address@hidden>
+
+ * testsuite/misc-ming.all/: Makefile.am, gotoFrame2Test.as:
+ Stubbed Udo's test as Ming source and build rule and test runner.
+
2007-02-21 Udo Giacomozzi <address@hidden>
* testsuite/samples/GotoAndPlayTest.{as,swf}: Testcase for
Index: testsuite/misc-ming.all/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/Makefile.am,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -b -r1.73 -r1.74
--- testsuite/misc-ming.all/Makefile.am 20 Feb 2007 17:45:56 -0000 1.73
+++ testsuite/misc-ming.all/Makefile.am 21 Feb 2007 10:58:56 -0000 1.74
@@ -33,6 +33,7 @@
EXTRA_DIST = VarAndCharClashTest.as \
KeyTest.as \
+ gotoFrame2Test.as \
DrawingApiTest.as
@@ -94,6 +95,7 @@
check_SCRIPTS = \
VarAndCharClashTest-Runner \
+ gotoFrame2Test-Runner \
timeline_var_test-Runner \
place_object_testrunner \
move_object_testrunner \
@@ -103,6 +105,7 @@
consecutive_goto_frame_testrunner \
multi_doactions_and_goto_frame_testrunner \
action_execution_order_testrunner \
+ gotoFrame2Test-Runner \
$(NULL)
# TESTS = \
@@ -578,7 +581,7 @@
# Uses a low frame rate to test immediate redraw on key event
KeyTest.swf: $(srcdir)/../media/green.swf ../Dejagnu.swf $(srcdir)/KeyTest.as
$(MAKESWF) -o $@ ../Dejagnu.swf $(srcdir)/../media/green.swf
$(srcdir)/KeyTest.as
-
+#
KeyTest_Runner_SOURCES = \
KeyTest-Runner.cpp \
$(NULL)
@@ -594,6 +597,15 @@
KeyTest.swf \
$(NULL)
+gotoFrame2Test.swf: $(srcdir)/../media/green.swf ../Dejagnu.swf
$(srcdir)/gotoFrame2Test.as
+ $(MAKESWF) -o $@ -i../Dejagnu.swf:dejagnu
$(srcdir)/../actionscript.all/dejagnu_so_init.as \
+ $(srcdir)/gotoFrame2Test.as
+
+gotoFrame2Test-Runner: $(srcdir)/../generic-testrunner.sh gotoFrame2Test.swf
+ sh $< $(top_builddir) gotoFrame2Test.swf > $@
+ chmod 755 $@
+
+
DrawingApiTest.swf: $(srcdir)/DrawingApiTest.as
$(MAKESWF) -o $@ $(srcdir)/DrawingApiTest.as
@@ -651,6 +663,7 @@
intervalTestRunner \
eventSoundTest1-Runner \
DrawingApiTestRunner \
+ gotoFrame2Test-Runner \
$(NULL)
Index: testsuite/misc-ming.all/gotoFrame2Test.as
===================================================================
RCS file: testsuite/misc-ming.all/gotoFrame2Test.as
diff -N testsuite/misc-ming.all/gotoFrame2Test.as
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ testsuite/misc-ming.all/gotoFrame2Test.as 21 Feb 2007 10:58:56 -0000
1.1
@@ -0,0 +1,19 @@
+// gotoAndPlay() testcase
+// Source file provided for reference
+
+// This code is in frame #2 of a 3-frame file!
+
+note("Executing actions in frame "+_currentframe+", counter = "+counter);
+if ( ++counter < 2 ) {
+ var temp = _currentframe;
+ check_equals(temp, 2);
+ //gotoAndPlay(temp); // this is just a function call, and works fine
+ note("About to execute GOTOFRAME2");
+ gotoFrame(temp); // this emits a GOTOFRAME2 tag
+ note("After GOTOFRAME2, _currentframe is "+_currentframe);
+ check_equals(_currentframe, temp);
+} else {
+ totals();
+ stop();
+}
+
- [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Makefil..., Sandro Santilli, 2007/02/08
- [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Makefil..., Sandro Santilli, 2007/02/09
- [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Makefil..., Sandro Santilli, 2007/02/10
- [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Makefil..., Sandro Santilli, 2007/02/12
- [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Makefil..., Sandro Santilli, 2007/02/14
- [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Makefil..., Sandro Santilli, 2007/02/16
- [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Makefil..., Sandro Santilli, 2007/02/20
- [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Makefil..., Sandro Santilli, 2007/02/20
- [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Makefil..., Sandro Santilli, 2007/02/20
- [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Makefil...,
Sandro Santilli <=