gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/simple_...


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/simple_...
Date: Mon, 23 Apr 2007 08:53:48 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/04/23 08:53:47

Modified files:
        .              : ChangeLog 
        testsuite/misc-ming.all: simple_loop_testrunner.cpp 

Log message:
                * testsuite/misc-ming.all/simple_loop_testrunner.cpp:
                  Use contains, not intersects, when testing invalidated bounds.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2963&r2=1.2964
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/simple_loop_testrunner.cpp?cvsroot=gnash&r1=1.4&r2=1.5

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.2963
retrieving revision 1.2964
diff -u -b -r1.2963 -r1.2964
--- ChangeLog   23 Apr 2007 02:07:40 -0000      1.2963
+++ ChangeLog   23 Apr 2007 08:53:47 -0000      1.2964
@@ -1,3 +1,8 @@
+2007-04-23 Sandro Santilli <address@hidden>
+
+       * testsuite/misc-ming.all/simple_loop_testrunner.cpp: 
+         Use contains, not intersects, when testing invalidated bounds.
+
 2007-04-23 Zou Lunkai <address@hidden>
 
        * testsuite/misc-ming.all/event_handler_scope_test.c

Index: testsuite/misc-ming.all/simple_loop_testrunner.cpp
===================================================================
RCS file: 
/sources/gnash/gnash/testsuite/misc-ming.all/simple_loop_testrunner.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- testsuite/misc-ming.all/simple_loop_testrunner.cpp  6 Apr 2007 11:43:44 
-0000       1.4
+++ testsuite/misc-ming.all/simple_loop_testrunner.cpp  23 Apr 2007 08:53:47 
-0000      1.5
@@ -66,7 +66,7 @@
        check_equals(root->getDisplayList().size(), 1);
        check( tester.findDisplayItemByDepth(*root, 
2+character::staticDepthOffset) );
        invalidated = tester.getInvalidatedBounds();
-       check( invalidated.intersects(Bounds(0, 0, 60, 60)) );
+       check( invalidated.contains(Bounds(0, 0, 60, 60)) );
 
        tester.advance(); // FRAME 3/4
        
@@ -76,7 +76,7 @@
        check( tester.findDisplayItemByDepth(*root, 
2+character::staticDepthOffset) );
        check( tester.findDisplayItemByDepth(*root, 
3+character::staticDepthOffset) );
        invalidated = tester.getInvalidatedBounds();
-       check( invalidated.intersects(Bounds(60, 0, 120, 60)) );
+       check( invalidated.contains(Bounds(60, 0, 120, 60)) );
 
        tester.advance(); // FRAME 4/4
        
@@ -87,7 +87,7 @@
        check( tester.findDisplayItemByDepth(*root, 
3+character::staticDepthOffset) );
        check( tester.findDisplayItemByDepth(*root, 
4+character::staticDepthOffset) );
        invalidated = tester.getInvalidatedBounds();
-       check( invalidated.intersects(Bounds(120, 0, 180, 60)) );
+       check( invalidated.contains(Bounds(120, 0, 180, 60)) );
 
        tester.advance(); // FRAME 1/4 (loop back)
        
@@ -95,7 +95,7 @@
        check_equals(root->get_current_frame(), 0);
        check_equals(root->getDisplayList().size(), 0);
        invalidated = tester.getInvalidatedBounds();
-       check( invalidated.intersects(Bounds(0, 0, 180, 60)) );
+       check( invalidated.contains(Bounds(0, 0, 180, 60)) );
 
        tester.advance(); // FRAME 2/4
        
@@ -104,7 +104,7 @@
        check_equals(root->getDisplayList().size(), 1);
        check( tester.findDisplayItemByDepth(*root, 
2+character::staticDepthOffset) );
        invalidated = tester.getInvalidatedBounds();
-       check( invalidated.intersects(Bounds(0, 0, 60, 60)) );
+       check( invalidated.contains(Bounds(0, 0, 60, 60)) );
 
        tester.advance(); // FRAME 3/4
        
@@ -114,7 +114,7 @@
        check( tester.findDisplayItemByDepth(*root, 
2+character::staticDepthOffset) );
        check( tester.findDisplayItemByDepth(*root, 
3+character::staticDepthOffset) );
        invalidated = tester.getInvalidatedBounds();
-       check( invalidated.intersects(Bounds(60, 0, 120, 60)) );
+       check( invalidated.contains(Bounds(60, 0, 120, 60)) );
 
        tester.advance(); // FRAME 4/4
        
@@ -125,7 +125,7 @@
        check( tester.findDisplayItemByDepth(*root, 
3+character::staticDepthOffset) );
        check( tester.findDisplayItemByDepth(*root, 
4+character::staticDepthOffset) );
        invalidated = tester.getInvalidatedBounds();
-       check( invalidated.intersects(Bounds(120, 0, 180, 60)) );
+       check( invalidated.contains(Bounds(120, 0, 180, 60)) );
 
 }
 




reply via email to

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