[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/testsuite/misc-ming.all displaylist_depth...
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash/testsuite/misc-ming.all displaylist_depth... |
Date: |
Fri, 11 May 2007 04:56:52 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/05/11 04:56:52
Modified files:
testsuite/misc-ming.all: displaylist_depths_test6.c
Log message:
Legend update and minor comments cleanups
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/displaylist_depths_test6.c?cvsroot=gnash&r1=1.1&r2=1.2
Patches:
Index: displaylist_depths_test6.c
===================================================================
RCS file:
/sources/gnash/gnash/testsuite/misc-ming.all/displaylist_depths_test6.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- displaylist_depths_test6.c 11 May 2007 04:21:20 -0000 1.1
+++ displaylist_depths_test6.c 11 May 2007 04:56:52 -0000 1.2
@@ -27,10 +27,11 @@
*
* Frame | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
* --------+---+---+---+---+---+---+---+
- * Event | | P | | T*| T | | J |
+ * Event | |PM | | T*| T | | J |
*
* P = place (by PlaceObject2)
* T = transform matrix (by PlaceObject2)
+ * M = move to another depth (by swapDepth)
* J = jump
* * = jump target
*
@@ -111,14 +112,15 @@
add_actions(mo, "loopback = false;");
SWFMovie_nextFrame(mo);
- // Frame 2: Add a static movieclip at depth 3 with origin at 10,200
+ // Frame 2: Add a static movieclip at depth 3 with origin at 10,200, swap to
depth -10 and swap back
it1 = add_static_mc(mo, "static3", 3, 10, 200, 20, 20);
add_actions(mo,
"static3.myThing = 'guess';"
"check_equals(static3.getDepth(), -16381);"
// swap to another depth
"static3.swapDepths(-10);"
- // swap back to the orignal depth(just touch it and try to restore it)
+ "check_equals(static3.getDepth(), -10);"
+ // swap back to the orignal depth
"static3.swapDepths(-16381);"
"check_equals(static3.getDepth(), -16381);"
);
@@ -130,7 +132,7 @@
// Frame 4: move character at depth 3 to position 50,200
SWFDisplayItem_moveTo(it1, 50, 200);
add_actions(mo,
- // immune to MOVE after swap
+ // Immune to MOVE after swap, no matter if it swapped back to same depth
"xcheck_equals(static3._x, 10);"
"check_equals(static3.getDepth(), -16381);"
);
@@ -139,7 +141,7 @@
// Frame 5: move character at depth 3 to position 100,200
SWFDisplayItem_moveTo(it1, 200, 200);
add_actions(mo,
- // immune to MOVE after swap
+ // Immune to MOVE after swap, no matter if it swapped back to same depth
"xcheck_equals(static3._x, 10);"
"check_equals(static3.getDepth(), -16381);"
);
- [Gnash-commit] gnash/testsuite/misc-ming.all displaylist_depth..., Sandro Santilli, 2007/05/10
- [Gnash-commit] gnash/testsuite/misc-ming.all displaylist_depth..., Sandro Santilli, 2007/05/10
- [Gnash-commit] gnash/testsuite/misc-ming.all displaylist_depth..., Sandro Santilli, 2007/05/10
- [Gnash-commit] gnash/testsuite/misc-ming.all displaylist_depth..., Sandro Santilli, 2007/05/10
- [Gnash-commit] gnash/testsuite/misc-ming.all displaylist_depth...,
Sandro Santilli <=
- [Gnash-commit] gnash/testsuite/misc-ming.all displaylist_depth..., Sandro Santilli, 2007/05/11
- [Gnash-commit] gnash/testsuite/misc-ming.all displaylist_depth..., Sandro Santilli, 2007/05/11
- [Gnash-commit] gnash/testsuite/misc-ming.all displaylist_depth..., Sandro Santilli, 2007/05/11
- [Gnash-commit] gnash/testsuite/misc-ming.all displaylist_depth..., Zou Lunkai, 2007/05/14
- [Gnash-commit] gnash/testsuite/misc-ming.all displaylist_depth..., Sandro Santilli, 2007/05/14
- [Gnash-commit] gnash/testsuite/misc-ming.all displaylist_depth..., Sandro Santilli, 2007/05/14
- [Gnash-commit] gnash/testsuite/misc-ming.all displaylist_depth..., Sandro Santilli, 2007/05/14
- [Gnash-commit] gnash/testsuite/misc-ming.all displaylist_depth..., Sandro Santilli, 2007/05/18
- [Gnash-commit] gnash/testsuite/misc-ming.all displaylist_depth..., Sandro Santilli, 2007/05/18
- [Gnash-commit] gnash/testsuite/misc-ming.all displaylist_depth..., Sandro Santilli, 2007/05/18