From: Ewald A. <mo...@ew...> - 2002-12-23 20:12:19
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I have started really transforming the files and came across some questions: In AbstractExpectationcollention there is - - Object[] ==> similar to C array: int[3] = { 1, 2, 3} ? Probably replace by std::vector. - - Enumeration ==> no idea - - Iterator ==> similar to C++ iterators ? Except maybe that c++ iterators don't know anything about their end, so you need two of them. Why are there ExpectationList, ExpectationMap and ExpectationSet? They seem to have the same interface and function though their inheritance tree is different. In ExpectationValue::verify() I added a check for expectNothing, taken from ExpectationValueDouble, seems to be forgotton. The same for the check for null which seems to test for an unused/unassigned element. if( expectNothing ) { AssertMo.assertNull( myName + " expected no value", actualValue ); } else if( expectedValue != null ) { cheers Ewald - -- Ewald Arnold, Germany mailto:ewald at ewald-arnold dot de mobil/sms:+49-162-8001240 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+B24cXyQcrD0ZXUYRAmk2AKC/W/ldhRZky6mqCI04NqP1ctpkiwCgm1Yh zp3532VNgBp0EFeYKfhrWEc= =Zkxg -----END PGP SIGNATURE----- |