[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/timelin...
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/timelin... |
Date: |
Tue, 19 Dec 2006 16:13:46 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 06/12/19 16:13:46
Modified files:
. : ChangeLog
testsuite/misc-ming.all: timeline_var_test.c
Log message:
* testsuite/misc-ming.all/timeline_var_test.c: added
additional check for timeline variables.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.1971&r2=1.1972
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/timeline_var_test.c?cvsroot=gnash&r1=1.4&r2=1.5
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.1971
retrieving revision 1.1972
diff -u -b -r1.1971 -r1.1972
--- ChangeLog 19 Dec 2006 15:01:47 -0000 1.1971
+++ ChangeLog 19 Dec 2006 16:13:46 -0000 1.1972
@@ -1,3 +1,8 @@
+2006-12-19 Sandro Santilli <address@hidden>
+
+ * testsuite/misc-ming.all/timeline_var_test.c: added
+ additional check for timeline variables.
+
2006-12-19 Ann Barcomb <address@hidden>
* removed testsuite/movies.all/elvis.swf due to license uncertainty.
Index: testsuite/misc-ming.all/timeline_var_test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/timeline_var_test.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- testsuite/misc-ming.all/timeline_var_test.c 18 Dec 2006 15:51:35 -0000
1.4
+++ testsuite/misc-ming.all/timeline_var_test.c 19 Dec 2006 16:13:46 -0000
1.5
@@ -35,6 +35,7 @@
#define OUTPUT_FILENAME "timeline_var_test.swf"
const int FRAME_COUNT = 4;
+SWFAction action_in_frame1(void);
SWFAction action_in_frame1()
{
SWFAction ac;
@@ -45,28 +46,26 @@
}
+SWFAction action_in_frame2(void);
SWFAction action_in_frame2()
{
SWFAction ac;
ac = compileSWFActionCode(" \
+ _root.check(loop_back >= 0); \
+ _root.check_equals(loop_back, _root.loop_back); \
if(loop_back == 0) \
{ \
- if ( var_at_frame3 == undefined ) \
- _root.pass(\"var_at_frame3 == undefined \" ); \
- else \
- _root.fail(\"var_at_frame3 == undefined \" ); \
+ _root.check_equals(var_at_frame3, undefined); \
} \
else \
{ \
- if ( var_at_frame3 == \"var_defined_at_frame3\" ) \
- _root.pass(\"var_at_frame3 == var_defined_at_frame3\" ); \
- else \
- _root.fail(\"var_at_frame3 == var_defined_at_frame3\" ); \
+ _root.check_equals(var_at_frame3, \"var_defined_at_frame3\"); \
} \
");
return ac;
}
+SWFAction action_in_frame3(void);
SWFAction action_in_frame3()
{
SWFAction ac;
@@ -76,6 +75,7 @@
return ac;
}
+SWFAction action_in_frame4(void);
SWFAction action_in_frame4()
{
SWFAction ac;