[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] gzz ./TODO doc/pegboard/bug_test--tjl/peg.rst t...
From: |
Tuomas J. Lukka |
Subject: |
[Gzz-commits] gzz ./TODO doc/pegboard/bug_test--tjl/peg.rst t... |
Date: |
Thu, 21 Nov 2002 05:09:11 -0500 |
CVSROOT: /cvsroot/gzz
Module name: gzz
Changes by: Tuomas J. Lukka <address@hidden> 02/11/21 05:09:11
Modified files:
. : TODO
doc/pegboard/bug_test--tjl: peg.rst
test : testutil.py
test/gzz/modules/email: converter.test
test/gzz/view : boxcellview.test
test/gzz/vob : textvob.test vobcoorder.test
Log message:
Towards bug_test
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/TODO.diff?tr1=1.407&tr2=1.408&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/doc/pegboard/bug_test--tjl/peg.rst.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/test/testutil.py.diff?tr1=1.36&tr2=1.37&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/test/gzz/modules/email/converter.test.diff?tr1=1.6&tr2=1.7&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/test/gzz/view/boxcellview.test.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/test/gzz/vob/textvob.test.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/test/gzz/vob/vobcoorder.test.diff?tr1=1.7&tr2=1.8&r1=text&r2=text
Patches:
Index: gzz/TODO
diff -u gzz/TODO:1.407 gzz/TODO:1.408
--- gzz/TODO:1.407 Thu Nov 21 04:52:35 2002
+++ gzz/TODO Thu Nov 21 05:09:11 2002
@@ -95,10 +95,7 @@
- fix last two screens
- add new libfillet code
anybody:
- - tests for PEG 1021
- implement PEG 1021 for AWT
- - unit tests for the designated demos. We REALLY need to
- avoid breakage on them from now on.
- a really comprehensive web page of screenshots, animations
and instructions on how to get them working.
- clean up OpenGL demos and views and document, list
@@ -116,6 +113,7 @@
- comment paperlib callgl code using '#' -comments
benja:
- finish Storm
+ - PEGs
- indexing
+ multiplexing Storm pool?
+ asynchronous network lookups
@@ -243,7 +241,8 @@
work like affineCoordsys and setAffineParams, so
that we can set the params from outside easier.
anybody:
- - python tests easily runnable one by one
+ - unit tests for the designated demos. We REALLY need to
+ avoid breakage on them from now on.
- complete empty test bodies in test/gzz/vob/textvob.test
- IndexManager xuindexer semantics: fix behaviour of
SimpleVStreamCellTexter
somehow
Index: gzz/doc/pegboard/bug_test--tjl/peg.rst
diff -u gzz/doc/pegboard/bug_test--tjl/peg.rst:1.2
gzz/doc/pegboard/bug_test--tjl/peg.rst:1.3
--- gzz/doc/pegboard/bug_test--tjl/peg.rst:1.2 Tue Nov 19 12:26:53 2002
+++ gzz/doc/pegboard/bug_test--tjl/peg.rst Thu Nov 21 05:09:11 2002
@@ -3,8 +3,8 @@
=============================================================
:Author: Tuomas Lukka
-:Last-Modified: $Date: 2002/11/19 17:26:53 $
-:Revision: $Revision: 1.2 $
+:Last-Modified: $Date: 2002/11/21 10:09:11 $
+:Revision: $Revision: 1.3 $
:Status: Incomplete
Making failing tests for bugs is not currently handled very
@@ -63,6 +63,13 @@
"""
pass
+
+Currently, the alternatives for the "fail" line are ::
+
+ fail: AWT
+ fail: GL
+ fail: *
+
Then, the Makefile targets should be adjusted as follows::
Index: gzz/test/gzz/modules/email/converter.test
diff -u gzz/test/gzz/modules/email/converter.test:1.6
gzz/test/gzz/modules/email/converter.test:1.7
--- gzz/test/gzz/modules/email/converter.test:1.6 Sun Nov 17 19:09:14 2002
+++ gzz/test/gzz/modules/email/converter.test Thu Nov 21 05:09:11 2002
@@ -223,7 +223,10 @@
"""
def testConverter():
- """Test mailbox converter"""
+ """Test mailbox converter
+
+ fail: *
+ """
mbox = mail1f + mail1 + mail2f + mail2 + mail3f + mail3
mboxfile = StringIO.StringIO(mbox)
Index: gzz/test/gzz/view/boxcellview.test
diff -u gzz/test/gzz/view/boxcellview.test:1.2
gzz/test/gzz/view/boxcellview.test:1.3
--- gzz/test/gzz/view/boxcellview.test:1.2 Mon Nov 18 07:05:44 2002
+++ gzz/test/gzz/view/boxcellview.test Thu Nov 21 05:09:11 2002
@@ -64,7 +64,11 @@
render(vs)
checkbox(160, 120, 100, 25, (255, 255, 255))
-def testSingle_solidbgvob_negativeCSdepth__failAWT():
+def testSingle_solidbgvob_negativeCSdepth():
+ """Test that negative depths work in hierarchical systems.
+
+ fail: AWT
+ """
vs = getvs()
vs.map.put(SolidBgVob(Color.blue))
Index: gzz/test/gzz/vob/textvob.test
diff -u gzz/test/gzz/vob/textvob.test:1.4 gzz/test/gzz/vob/textvob.test:1.5
--- gzz/test/gzz/vob/textvob.test:1.4 Thu Nov 21 04:52:35 2002
+++ gzz/test/gzz/vob/textvob.test Thu Nov 21 05:09:11 2002
@@ -35,7 +35,11 @@
"""
def testWH():
- """Tests that TextVob is drawn like it tolds as getWidth() and
getHeight()."""
+ """Tests that TextVob is drawn with the width and height
+ that it claims with getWidth() and getHeight().
+
+ fail: AWT
+ """
vs = getvs()
size = vs.getSize()
vs.map.put(gzz.vob.vobs.SolidBgVob(Color.red))
Index: gzz/test/gzz/vob/vobcoorder.test
diff -u gzz/test/gzz/vob/vobcoorder.test:1.7
gzz/test/gzz/vob/vobcoorder.test:1.8
--- gzz/test/gzz/vob/vobcoorder.test:1.7 Mon Nov 4 07:52:49 2002
+++ gzz/test/gzz/vob/vobcoorder.test Thu Nov 21 05:09:11 2002
@@ -64,6 +64,8 @@
def testActivateParents():
"""Test that parent relationship is used correctly.
+
+ fail: AWT
"""
cs1 = c.orthoBox(0, 10, 0, 0, 1, 1, 100, 100)
Index: gzz/test/testutil.py
diff -u gzz/test/testutil.py:1.36 gzz/test/testutil.py:1.37
--- gzz/test/testutil.py:1.36 Mon Nov 11 07:01:32 2002
+++ gzz/test/testutil.py Thu Nov 21 05:09:11 2002
@@ -135,7 +135,10 @@
except NeedGLError, e:
print "Skipping OpenGL test %s" % file
- testnames = [t for t in tests.keys() if t.startswith('test')]
+ # Need to check that len > 4 to avoid
+ # calling the module "test".
+ testnames = [t for t in tests.keys() if t.startswith('test') and
+ len(t) > 4]
code = '''class %s(unittest.TestCase):
def setUp(self):
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gzz-commits] gzz ./TODO doc/pegboard/bug_test--tjl/peg.rst t...,
Tuomas J. Lukka <=