Thread: [Mockpp-commits] mockpp/mockpp VisitableMockObject.h,1.38,1.39 VerifyingTestCase.h,1.19,1.20 Verifia
Brought to you by:
ewald-arnold
Update of /cvsroot/mockpp/mockpp/mockpp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11299/mockpp Modified Files: VisitableMockObject.h VerifyingTestCase.h VerifiableList.h TrackingCounter.h ThrowableList.h MockObject.h ChainableMockObject.h Log Message: forbid copying Index: VerifyingTestCase.h =================================================================== RCS file: /cvsroot/mockpp/mockpp/mockpp/VerifyingTestCase.h,v retrieving revision 1.19 retrieving revision 1.20 diff -u -d -r1.19 -r1.20 --- VerifyingTestCase.h 27 Feb 2005 11:48:14 -0000 1.19 +++ VerifyingTestCase.h 6 Apr 2005 20:15:19 -0000 1.20 @@ -93,6 +93,9 @@ private: + VerifyingTestCase (const VerifyingTestCase &); // forbid + VerifyingTestCase& operator=(VerifyingTestCase&); + std::vector<Verifiable*> registeredVerifiables; }; Index: ThrowableList.h =================================================================== RCS file: /cvsroot/mockpp/mockpp/mockpp/ThrowableList.h,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- ThrowableList.h 27 Feb 2005 11:48:14 -0000 1.16 +++ ThrowableList.h 6 Apr 2005 20:15:19 -0000 1.17 @@ -116,6 +116,9 @@ private: + ThrowableList (const ThrowableList &); // forbid + ThrowableList& operator=(ThrowableList&); + std::deque<Throwable *> list; std::deque<Throwable *> already_used; }; Index: TrackingCounter.h =================================================================== RCS file: /cvsroot/mockpp/mockpp/mockpp/TrackingCounter.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- TrackingCounter.h 27 Feb 2005 11:48:14 -0000 1.4 +++ TrackingCounter.h 6 Apr 2005 20:15:19 -0000 1.5 @@ -177,6 +177,9 @@ private: + TrackingCounterMaster (const TrackingCounterMaster &); // forbid + TrackingCounterMaster& operator=(TrackingCounterMaster&); + std::vector<TrackingCounterClient*> clients; unsigned myActualValue; }; @@ -249,6 +252,9 @@ private: + TrackingCounterClient (const TrackingCounterClient &); // forbid + TrackingCounterClient& operator=(TrackingCounterClient&); + std::vector<unsigned> countervalues; TrackingCounterMaster *master; unsigned myActualValue; Index: ChainableMockObject.h =================================================================== RCS file: /cvsroot/mockpp/mockpp/mockpp/ChainableMockObject.h,v retrieving revision 1.24 retrieving revision 1.25 diff -u -d -r1.24 -r1.25 --- ChainableMockObject.h 6 Mar 2005 21:45:51 -0000 1.24 +++ ChainableMockObject.h 6 Apr 2005 20:15:20 -0000 1.25 @@ -105,7 +105,7 @@ /** Checks if there are any pending recorders left. If there are, an exception is * throw. - * @internal + * @internalVerifiableList */ void checkPendingRecorders() const; // @todo make private @@ -130,6 +130,9 @@ */ void storeID( const String &id, MatchBuilderAdapterBase *builder ); + ChainableMockObjectBase (const ChainableMockObjectBase &); // forbid + ChainableMockObjectBase& operator=(ChainableMockObjectBase&); + std::vector<MatchBuilderAdapterBase*> allBuilders; TableType idTable; mutable PendingType pendingRecorders; Index: VerifiableList.h =================================================================== RCS file: /cvsroot/mockpp/mockpp/mockpp/VerifiableList.h,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- VerifiableList.h 27 Feb 2005 11:48:14 -0000 1.16 +++ VerifiableList.h 6 Apr 2005 20:15:19 -0000 1.17 @@ -96,6 +96,9 @@ private: + VerifiableList (const VerifiableList &); // forbid + VerifiableList& operator=(VerifiableList&); + std::vector<Verifiable*> verifiables; }; Index: VisitableMockObject.h =================================================================== RCS file: /cvsroot/mockpp/mockpp/mockpp/VisitableMockObject.h,v retrieving revision 1.38 retrieving revision 1.39 diff -u -d -r1.38 -r1.39 --- VisitableMockObject.h 6 Mar 2005 21:45:52 -0000 1.38 +++ VisitableMockObject.h 6 Apr 2005 20:15:19 -0000 1.39 @@ -125,6 +125,9 @@ private: + VisitableMockObjectBase (const VisitableMockObjectBase &); // forbid + VisitableMockObjectBase& operator=(VisitableMockObjectBase&); + mutable ExpectationList<std::string> methodList; mutable bool activated; std::vector<Controller*> controllers; Index: MockObject.h =================================================================== RCS file: /cvsroot/mockpp/mockpp/mockpp/MockObject.h,v retrieving revision 1.20 retrieving revision 1.21 diff -u -d -r1.20 -r1.21 --- MockObject.h 27 Feb 2005 11:48:14 -0000 1.20 +++ MockObject.h 6 Apr 2005 20:15:20 -0000 1.21 @@ -74,6 +74,9 @@ private: + MockObject (const MockObject &); // forbid + MockObject& operator=(MockObject&); + typedef std::vector<const Verifiable*> VerifierVec; /** |