Revision 1649
Jump to revision: |
|
Author: |
pje |
Date: |
Tue Jan 27 22:48:29 2004 UTC (20 years, 2 months ago) |
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.)
Changed paths: