gzz-commits
[Top][All Lists]
Advanced

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

[Gzz-commits] gzz/test/gzz/view/buoy buoysys.test


From: Tuomas J. Lukka
Subject: [Gzz-commits] gzz/test/gzz/view/buoy buoysys.test
Date: Tue, 04 Feb 2003 08:55:55 -0500

CVSROOT:        /cvsroot/gzz
Module name:    gzz
Changes by:     Tuomas J. Lukka <address@hidden>        03/02/04 08:55:55

Modified files:
        test/gzz/view/buoy: buoysys.test 

Log message:
        Go a little further and find more bugs...

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/test/gzz/view/buoy/buoysys.test.diff?tr1=1.9&tr2=1.10&r1=text&r2=text

Patches:
Index: gzz/test/gzz/view/buoy/buoysys.test
diff -u gzz/test/gzz/view/buoy/buoysys.test:1.9 
gzz/test/gzz/view/buoy/buoysys.test:1.10
--- gzz/test/gzz/view/buoy/buoysys.test:1.9     Tue Feb  4 08:52:33 2003
+++ gzz/test/gzz/view/buoy/buoysys.test Tue Feb  4 08:55:55 2003
@@ -73,10 +73,18 @@
     failUnlessEqual(testbll.args[2], scrollblockLinker.pageSpanNodeType)
     failUnlessEqual(testbll.args[4], span)
 
-
-    
-    
+    # Next, the big invariant test:
+    # First, set the focus by creating a main node
+    # in the scrollblock view
+    testbll2 = TestBLL()
+    mainNode2 = testbll.args[2].createMainNode(testbll.args[3], 
+                           testbll.args[4], testbll2)
     
+    mainNode2.renderMain(vs, 0)
+
+    # Check that we really got the callblack for
+    # putting a buoy with the cell in it
+    failUnlessEqual(testbll2.calls, 1)
 
 
 




reply via email to

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