E&S CVS Commit: PEAK - Added tests for class advice, both generating it, and handling it with

pje at eby-sarna.com pje at eby-sarna.com
Sat Apr 26 08:56:01 EDT 2003


Module Name:	PEAK
Committed By:	pje
Date:		Sat Apr 26 12:55:30 UTC 2003

Modified Files:
	PEAK/src/peak/config: modules.py
	PEAK/src/peak/config/tests: __init__.py testM1.py testM1a.py testM2.py
	    testM2a.py
	PEAK/src/peak/util: advice.py
	PEAK/src/peak/util/tests: __init__.py
Added Files:
	PEAK/src/peak/util/tests: advice.py

Log Message:
Added tests for class advice, both generating it, and handling it with
module inheritance.  Also, fixed an issue with module inheritance and
Interface definitions, where Interface complains about "concrete attribute
__name__" when the module simulator tries to tell the Interface class what
its name is.  Now the simulator only tries to tell nested classes what
their names are, which conveniently bypasses Interfaces.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/src/peak/config/modules.py.diff?r1=1.15&r2=1.16
http://cvs.eby-sarna.com/PEAK/src/peak/config/tests/__init__.py.diff?r1=1.10&r2=1.11
http://cvs.eby-sarna.com/PEAK/src/peak/config/tests/testM1.py.diff?r1=1.2&r2=1.3
http://cvs.eby-sarna.com/PEAK/src/peak/config/tests/testM1a.py.diff?r1=1.1&r2=1.2
http://cvs.eby-sarna.com/PEAK/src/peak/config/tests/testM2.py.diff?r1=1.1&r2=1.2
http://cvs.eby-sarna.com/PEAK/src/peak/config/tests/testM2a.py.diff?r1=1.1&r2=1.2
http://cvs.eby-sarna.com/PEAK/src/peak/util/advice.py.diff?r1=1.3&r2=1.4
http://cvs.eby-sarna.com/PEAK/src/peak/util/tests/__init__.py.diff?r1=1.8&r2=1.9
http://cvs.eby-sarna.com/PEAK/src/peak/util/tests/advice.py?rev=1.1&content-type=text/vnd.viewcvs-markup

To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 PEAK/src/peak/config/modules.py
cvs rdiff -r1.10 -r1.11 PEAK/src/peak/config/tests/__init__.py
cvs rdiff -r1.2 -r1.3 PEAK/src/peak/config/tests/testM1.py
cvs rdiff -r1.1 -r1.2 PEAK/src/peak/config/tests/testM1a.py \
    PEAK/src/peak/config/tests/testM2.py \
    PEAK/src/peak/config/tests/testM2a.py
cvs rdiff -r1.3 -r1.4 PEAK/src/peak/util/advice.py
cvs rdiff -r1.8 -r1.9 PEAK/src/peak/util/tests/__init__.py
cvs rdiff -r0 -r1.1 PEAK/src/peak/util/tests/advice.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