gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-


From: Sandro Santilli
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-1601-gd44294a
Date: Wed, 13 Feb 2013 20:07:18 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".

The branch, master has been updated
       via  d44294a4cf83e9ce1fd1d26e625910d3ba592dbe (commit)
      from  63cb1b7678b9fbe7dcbd67004122be6a920735bf (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=d44294a4cf83e9ce1fd1d26e625910d3ba592dbe


commit d44294a4cf83e9ce1fd1d26e625910d3ba592dbe
Author: Jürgen Rühle <address@hidden>
Date:   Sat Feb 9 20:02:49 2013 +0100

    Update testsuite for BitmapData.draw
    
    This adds additional tests and comments concerning the remaining failure 
with
    BitmapData.draw.
    
    Signed-off-by: Sandro Santilli <address@hidden>

diff --git a/testsuite/actionscript.all/BitmapData.as 
b/testsuite/actionscript.all/BitmapData.as
index 107fcf7..f7ca139 100644
--- a/testsuite/actionscript.all/BitmapData.as
+++ b/testsuite/actionscript.all/BitmapData.as
@@ -541,8 +541,6 @@ check(near(bm, 25, 5, 0xffffff));
 check(near(bm, 25, 15, 0xffffff));
 check(near(bm, 25, 25, 0xffffff));
 
-disp.attachBitmap(bm, 400);
-
 // Mask with different transform, MovieClip with different transform
 mask._x = 10;
 bm = new flash.display.BitmapData(50, 50, false);
@@ -562,7 +560,7 @@ check(near(bm, 25, 25, 0xffffff));
 bm = new flash.display.BitmapData(50, 50, false);
 bm.draw(mc, new flash.geom.Matrix(1, 0, 0, 1, 5, 5));
 
-// A bit of the blue and green blue stripe is visible.
+// A bit of the green and blue stripe is visible.
 check(near(bm, 5, 5, 0xffffff));
 check(near(bm, 5, 15, 0xffffff));
 check(near(bm, 5, 25, 0xffffff));
@@ -571,9 +569,30 @@ check(near(bm, 15, 15, 0xffffff));
 check(near(bm, 15, 25, 0xffffff));
 check(near(bm, 25, 5, 0xffffff));
 check(near(bm, 23, 15, 0x00ff00));
-xcheck(near(bm, 25, 15, 0x0000ff));
+check(near(bm, 24, 15, 0x00ff00));
+xcheck(near(bm, 25, 15, 0x0000ff)); // gnash: 0x0b0bfe
+check(near(bm, 26, 15, 0x0000ff));
 check(near(bm, 25, 25, 0xffffff));
 
+bm = new flash.display.BitmapData(50, 50, false);
+bm.draw(mc, new flash.geom.Matrix(2, 0, 0, 2, 5, 5));
+
+// A bit of the red and green stripe is visible.
+check(near(bm, 5, 5, 0xffffff));
+check(near(bm, 5, 15, 0xffffff));
+check(near(bm, 5, 25, 0xffffff));
+check(near(bm, 15, 5, 0xffffff));
+check(near(bm, 15, 15, 0xffffff));
+check(near(bm, 15, 25, 0xffffff));
+check(near(bm, 25, 5, 0xffffff));
+check(near(bm, 23, 15, 0xff0000));
+check(near(bm, 24, 15, 0xff0000));
+xcheck(near(bm, 25, 15, 0x00ff00)); // gnash: 0x0bfe0b
+check(near(bm, 26, 15, 0x00ff00));
+check(near(bm, 25, 25, 0xffffff));
+
+disp.attachBitmap(bm, 400);
+
 bm = new flash.display.BitmapData(10, 10, true, 0x5010eeff);
 xcheck_equals(bm.getPixel32(5, 5), 0x5010efff);
 
@@ -1127,6 +1146,6 @@ flash.display.BitmapData.prototype = e;
 // END OF TEST
 //-------------------------------------------------------------
 
-totals(392);
+totals(406);
 
 #endif // OUTPUT_VERSION >= 8

-----------------------------------------------------------------------

Summary of changes:
 testsuite/actionscript.all/BitmapData.as |   29 ++++++++++++++++++++++++-----
 1 files changed, 24 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

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