[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Video-E...
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Video-E... |
Date: |
Thu, 10 Apr 2008 14:05:22 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 08/04/10 14:05:21
Modified files:
. : ChangeLog
testsuite/misc-ming.all: Video-EmbedSquareTestRunner.cpp
Log message:
don't check colors on the corners, and sample some more pixels around
the point.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.6239&r2=1.6240
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/Video-EmbedSquareTestRunner.cpp?cvsroot=gnash&r1=1.10&r2=1.11
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.6239
retrieving revision 1.6240
diff -u -b -r1.6239 -r1.6240
--- ChangeLog 10 Apr 2008 10:13:29 -0000 1.6239
+++ ChangeLog 10 Apr 2008 14:05:21 -0000 1.6240
@@ -1,5 +1,11 @@
2008-04-10 Sandro Santilli <address@hidden>
+ * testsuite/misc-ming.all/Video-EmbedSquareTestRunner.cpp: don't
+ check colors on the corners, and sample some more pixels around
+ the point.
+
+2008-04-10 Sandro Santilli <address@hidden>
+
* server/asobj/TextFormat.{cpp,h}: implement color getter-setter
* server/edit_text_character.cpp: fix handling of TextField.color.
* testsuite/misc-ming.all/DefineEditTextTest.c: test TextFormat.color.
Index: testsuite/misc-ming.all/Video-EmbedSquareTestRunner.cpp
===================================================================
RCS file:
/sources/gnash/gnash/testsuite/misc-ming.all/Video-EmbedSquareTestRunner.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- testsuite/misc-ming.all/Video-EmbedSquareTestRunner.cpp 23 Jan 2008
17:25:52 -0000 1.10
+++ testsuite/misc-ming.all/Video-EmbedSquareTestRunner.cpp 10 Apr 2008
14:05:21 -0000 1.11
@@ -75,14 +75,14 @@
check_equals(root->get_current_frame(), 0); // 0-based
- // Check the color in (1,1) - should be red
- check_pixel(1, 1, 1, red, 5);
+ // Check the color in (5,5) - should be red
+ check_pixel(5, 5, 2, red, 5);
- // Check the color in (30,1) - should be yellow
- check_pixel(35*scale_x, 1, 1, yellow, 5);
+ // Check the color in (35,5) - should be yellow
+ check_pixel(35*scale_x, 5, 2, yellow, 5);
- // Check the color in (1,30) - should be yellow
- check_pixel(1, 35*scale_y, 1, yellow, 5);
+ // Check the color in (5,35) - should be yellow
+ check_pixel(5, 35*scale_y, 2, yellow, 5);
while (true)
{
@@ -93,19 +93,19 @@
int i = (framenum-1)*10;
- // Check the color in (9+i,1) - should be yellow
- check_pixel((5 + i)*scale_x, 1, 1, yellow, 5);
+ // Check the color in (5+i,5) - should be yellow
+ check_pixel((5 + i)*scale_x, 5, 2, yellow, 5);
- // Check the color in (25+i,1) - should be red
- check_pixel((25 + i)*scale_x, 1, 1, red, 5);
+ // Check the color in (25+i,5) - should be red
+ check_pixel((25 + i)*scale_x, 5, 2, red, 5);
- // Check the color in (25+i,30) - should be yellow
+ // Check the color in (25+i,35) - should be yellow
check_pixel((25 + i)*scale_x, 35*scale_y, 1, yellow, 5);
// The video is 128x96 so we don't want to check beyond
that
if (45+i <= 128) {
- // Check the color in (40+i,1) - should be
yellow
- check_pixel((45 + i)*scale_x, 1, 1, yellow, 5);
+ // Check the color in (45+i,5) - should be
yellow
+ check_pixel((45 + i)*scale_x, 5, 2, yellow, 5);
}
if ( framenum == framecount-1 )
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Video-E...,
Sandro Santilli <=