[Top][All Lists]
[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-229-g60e0f16 |
Date: |
Sat, 09 Apr 2011 15:36:59 +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 60e0f16a58ffb9df3595566108566c8db858887d (commit)
from 97bdb47556ac04463eecb64dc1a12cdc0fc1559d (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=60e0f16a58ffb9df3595566108566c8db858887d
commit 60e0f16a58ffb9df3595566108566c8db858887d
Author: Sandro Santilli <address@hidden>
Date: Sat Apr 9 17:36:25 2011 +0200
Check that invalidated ranges don't contain spot which aren't updated. This
is an xfail in a jump-back case.
diff --git a/testsuite/misc-ming.all/replace_sprites1test_runner.cpp
b/testsuite/misc-ming.all/replace_sprites1test_runner.cpp
index 096c0a9..180f54c 100644
--- a/testsuite/misc-ming.all/replace_sprites1test_runner.cpp
+++ b/testsuite/misc-ming.all/replace_sprites1test_runner.cpp
@@ -53,6 +53,8 @@ main(int /*argc*/, char** /*argv*/)
// Ranges we'll use during the test
Range2d<int> redRange1(100,300,160,360);
Range2d<int> redRange2(130,330,190,390);
+ Range2d<int> leftRange(20,300,80,390);
+ Range2d<int> rightRange(200,300,260,390);
Ranges invalidated;
MovieClip* root = tester.getRootMovie();
@@ -102,6 +104,9 @@ main(int /*argc*/, char** /*argv*/)
//
check( invalidated.contains(redRange1) );
check( invalidated.contains(redRange2) );
+ // but not the area on the right, nor on the left
+ check( ! invalidated.contains(rightRange) );
+ check( ! invalidated.contains(leftRange) );
// check that we have a red square at (130,330 - 190,390)
check_pixel(134, 334, 2, red, 2); // UL
@@ -128,6 +133,9 @@ main(int /*argc*/, char** /*argv*/)
//
check( invalidated.contains(redRange1) );
check( invalidated.contains(redRange2) );
+ // but not the area on the right, nor on the left
+ xcheck( ! invalidated.contains(rightRange) );
+ xcheck( ! invalidated.contains(leftRange) );
// check that we have a red square at (100,300 - 160,360)
check_pixel(104, 304, 2, red, 2); // UL
-----------------------------------------------------------------------
Summary of changes:
.../misc-ming.all/replace_sprites1test_runner.cpp | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
hooks/post-receive
--
Gnash
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-229-g60e0f16,
Sandro Santilli <=