E&S CVS Commit: PEAK - Major upgrades to DDT package:
pje at eby-sarna.com
pje at eby-sarna.com
Tue Jan 27 17:49:00 EST 2004
Module Name: PEAK
Committed By: pje
Date: Tue Jan 27 22:48:29 UTC 2004
Modified Files:
PEAK: TODO.txt
PEAK/src/peak: peak.ini
PEAK/src/peak/ddt: demos.py html_doc.py interfaces.py model.py
processors.py runners.py
Log Message:
Major upgrades to DDT package:
* Added 'ICellMapper' interface to allow introspective actions on objects,
with adapters predefined for methods, properties, and 'model.IFeature'
objects.
* Added 'MethodProcessor' and 'ModelProcessor' (test), and
'ActionProcessor' (not yet tested)
* Lots and lots of docstrings added
* The 'HTMLDocument' DM now always strips leading/trailing whitespace from
cell text.
* New functions 'ddt.titleAsMethodName()' and 'ddt.titleAsPropertyName()'
for standardized parsing of certain types of cell data.
* Updated demo classes to use both 'MethodProcessor' and 'ModelProcessor'
* Fixed 'Cell.assertEqual()' to normalize its input value to the same type
that it's interpreting the cell as. This effectively allows the fallthru
comparison case to be 'str(value)==cell.text', when the "official" type
for the cell is unknown.
* Fix 'ddt.web' runner to work properly when serving a single file as the
root. (We probably also need some way for this to support a convenient
run-once-and-exit strategy.)
To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/TODO.txt.diff?r1=1.103&r2=1.104
http://cvs.eby-sarna.com/PEAK/src/peak/peak.ini.diff?r1=1.125&r2=1.126
http://cvs.eby-sarna.com/PEAK/src/peak/ddt/demos.py.diff?r1=1.3&r2=1.4
http://cvs.eby-sarna.com/PEAK/src/peak/ddt/model.py.diff?r1=1.3&r2=1.4
http://cvs.eby-sarna.com/PEAK/src/peak/ddt/runners.py.diff?r1=1.3&r2=1.4
http://cvs.eby-sarna.com/PEAK/src/peak/ddt/html_doc.py.diff?r1=1.5&r2=1.6
http://cvs.eby-sarna.com/PEAK/src/peak/ddt/interfaces.py.diff?r1=1.1&r2=1.2
http://cvs.eby-sarna.com/PEAK/src/peak/ddt/processors.py.diff?r1=1.2&r2=1.3
To generate a diff of this commit:
cvs rdiff -r1.103 -r1.104 PEAK/TODO.txt
cvs rdiff -r1.125 -r1.126 PEAK/src/peak/peak.ini
cvs rdiff -r1.3 -r1.4 PEAK/src/peak/ddt/demos.py PEAK/src/peak/ddt/model.py \
PEAK/src/peak/ddt/runners.py
cvs rdiff -r1.5 -r1.6 PEAK/src/peak/ddt/html_doc.py
cvs rdiff -r1.1 -r1.2 PEAK/src/peak/ddt/interfaces.py
cvs rdiff -r1.2 -r1.3 PEAK/src/peak/ddt/processors.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
More information about the source-changes
mailing list