CVS: anygui/test test_shake.py,1.1,1.2
Robin Becker <[email protected]> Sat, 02 Nov 2002 16:08:26 -0800
| Newsgroups | gmane.comp.python.anygui.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/anygui/anygui/test
In directory usw-pr-cvs1:/tmp/cvs-serv22138
Modified Files:
test_shake.py
Log Message:
Fill out test matrix
Index: test_shake.py
===================================================================
RCS file: /cvsroot/anygui/anygui/test/test_shake.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** test_shake.py 11 Oct 2002 21:47:19 -0000 1.1
--- test_shake.py 3 Nov 2002 00:08:24 -0000 1.2
***************
*** 1,4 ****
from anygui import *
! from anygui.Utils import log
app = Application()
--- 1,4 ----
from anygui import *
! #from anygui.Utils import log
app = Application()
***************
*** 12,16 ****
txf = TextField()
! win = Window(size=(120,380))
app.add(win)
win.add((btn, cbx, lbl, lst, rdb, txa, txf),
--- 12,16 ----
txf = TextField()
! win = Window(size=(120,380),position=(10,10))
app.add(win)
win.add((btn, cbx, lbl, lst, rdb, txa, txf),
***************
*** 59,65 ****
def shake_comp(comp):
fail = 0
! fail += shake_using(comp,'single','geom')
! fail += shake_using(comp,'single','possize')
! fail += shake_using(comp,'geom','possize')
return fail
--- 59,66 ----
def shake_comp(comp):
fail = 0
! K = GET.keys()
! for g in K:
! for s in K:
! fail += shake_using(comp,g,s)
return fail
***************
*** 70,73 ****
--- 71,76 ----
if not fail:
print "test passed"
+ else:
+ print 'test failed',fail
-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en