gzz-commits
[Top][All Lists]
Advanced

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

[Gzz-commits] gzz/test/gzz/view cellvobfactory.test


From: Asko Soukka
Subject: [Gzz-commits] gzz/test/gzz/view cellvobfactory.test
Date: Fri, 15 Nov 2002 06:18:13 -0500

CVSROOT:        /cvsroot/gzz
Module name:    gzz
Changes by:     Asko Soukka <address@hidden>    02/11/15 06:18:11

Modified files:
        test/gzz/view  : cellvobfactory.test 

Log message:
        AWT crashes, when createing a coordsys with negative depth in CellView.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/test/gzz/view/cellvobfactory.test.diff?tr1=1.5&tr2=1.6&r1=text&r2=text

Patches:
Index: gzz/test/gzz/view/cellvobfactory.test
diff -u gzz/test/gzz/view/cellvobfactory.test:1.5 
gzz/test/gzz/view/cellvobfactory.test:1.6
--- gzz/test/gzz/view/cellvobfactory.test:1.5   Sun Nov 10 18:08:55 2002
+++ gzz/test/gzz/view/cellvobfactory.test       Fri Nov 15 06:18:11 2002
@@ -64,4 +64,19 @@
     render(vs)
     checkbox(160, 120, 100, 25, (255, 255, 255))
 
+def testSingle_solidbgvob_negativeCSdepth():
+    vs = getvs()
+    vs.map.put(SolidBgVob(Color.blue))
+
+    box = vs.orthoBoxCS(0, "A", -1, 100, 100, 1, 1, 200, 50)
+    
+    cvf = CellVobFactory()
+    context = MockViewContext()
+    context.c, context.ccv = cell, tv
+    cvf.place(cell, vs, box, context)
+
+    render(vs)
+
+    checkbox(100, 100, 200, 50, (255,255,255))
+
 # : vim: set syntax=python :




reply via email to

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