[Mockpp-commits] mockpp/mockpp/chaining AbstractDynamicChainingMock.h,1.27,1.28
Brought to you by:
ewald-arnold
From: Ewald A. <ewa...@us...> - 2005-04-06 19:27:22
|
Update of /cvsroot/mockpp/mockpp/mockpp/chaining In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15855/mockpp/chaining Modified Files: AbstractDynamicChainingMock.h Log Message: cleanup Index: AbstractDynamicChainingMock.h =================================================================== RCS file: /cvsroot/mockpp/mockpp/mockpp/chaining/AbstractDynamicChainingMock.h,v retrieving revision 1.27 retrieving revision 1.28 diff -u -d -r1.27 -r1.28 --- AbstractDynamicChainingMock.h 4 Apr 2005 08:57:33 -0000 1.27 +++ AbstractDynamicChainingMock.h 6 Apr 2005 19:27:13 -0000 1.28 @@ -46,6 +46,7 @@ namespace mockpp { + /** Implementation of a chaining mock. * @internal @@ -82,47 +83,6 @@ return false; } -#if defined(__BORLANDC__) - - /** Appends the description of this object to the buffer. - * @param buffer The buffer that the description is appended to. - * @return The current content of the buffer data - */ - virtual String describeTo( String &buffer ) const - { - return InvocationMocker<R, I>::DescriberBase::describeTo(buffer); - } -#else -#define MOCKPP_NEED_USING -#endif - -#if defined(_MSC_VER_123) - - /** Appends the description of this object to the buffer. - * @param result The buffer that the description is appended to. - * @param matchers list of matcher objects - * @param stub pointer to the stub - * @param name name of the object - * @return The current content of the buffer data - */ - String describeTo( String &result, - const typename std::vector<InvocationMatcher<I>*> &matchers, - TypelessStub<R>* stub, - const String &name ) const - { - return InvocationMocker<R, I>::DescriberBase::describeTo( result, - matchers, - stub, - name ); - } -#else -#define MOCKPP_NEED_USING -#endif - -#ifdef MOCKPP_NEED_USING - using InvocationMocker<R, I>::DescriberBase::describeTo; // use only once -#endif -#undef MOCKPP_NEED_USING /** Appends the description of this object to the buffer. * @param result The buffer that the description is appended to. |