E&S CVS Commit: PyProtocols - Make criterion sanity-checker part of the strategy module's API; you can

pje at eby-sarna.com pje at eby-sarna.com
Sat Feb 5 18:33:01 EST 2005


Module Name:	PyProtocols
Committed By:	pje
Date:		Sat Feb  5 23:32:27 UTC 2005

Modified Files:
	PyProtocols/src/dispatch: strategy.py
	PyProtocols/src/protocols/tests: test_dispatch.py test_parsing.py

Log Message:
Make criterion sanity-checker part of the strategy module's API; you can
now use 'strategy.validateCriterion()' to check that you have a sane
criterion implementation.  It can't check everything, but it'll make sure
you've defined the basics.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PyProtocols/src/dispatch/strategy.py.diff?r1=1.21&r2=1.22
http://cvs.eby-sarna.com/PyProtocols/src/protocols/tests/test_dispatch.py.diff?r1=1.34&r2=1.35
http://cvs.eby-sarna.com/PyProtocols/src/protocols/tests/test_parsing.py.diff?r1=1.21&r2=1.22

To generate a diff of this commit:
cvs rdiff -r1.21 -r1.22 PyProtocols/src/dispatch/strategy.py
cvs rdiff -r1.34 -r1.35 PyProtocols/src/protocols/tests/test_dispatch.py
cvs rdiff -r1.21 -r1.22 PyProtocols/src/protocols/tests/test_parsing.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