gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash/testsuite MovieTester.h


From: Sandro Santilli
Subject: [Gnash-commit] gnash/testsuite MovieTester.h
Date: Mon, 04 Jun 2007 17:16:26 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/06/04 17:16:26

Modified files:
        testsuite      : MovieTester.h 

Log message:
        (checkPixel): document the possible increas of tolerance during 
comparisons

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/MovieTester.h?cvsroot=gnash&r1=1.22&r2=1.23

Patches:
Index: MovieTester.h
===================================================================
RCS file: /sources/gnash/gnash/testsuite/MovieTester.h,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- MovieTester.h       29 May 2007 17:15:14 -0000      1.22
+++ MovieTester.h       4 Jun 2007 17:16:26 -0000       1.23
@@ -168,7 +168,12 @@
        ///     The color we expect to find under the pointer.
        ///
        /// @param tolerance
-       ///     The tolerated difference of any r,g,b,a values
+       ///     The tolerated difference of any r,g,b,a values.
+       ///     Note that the actual tolerance used for comparison might
+       ///     be bigger then the given one depending on the minimum tolerance
+       ///     supported by the renderers being tested, being a function of 
color
+       ///     depth. For example, comparisions against 16bpp renderers will 
use
+       ///     at tolerance of at least 8.
        ///
        /// @param label
        ///     A label to use in test results.




reply via email to

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