Changeset 97f035 for molecuilder/src/unittests/SingletonTest.cpp
- Timestamp:
- Mar 11, 2010, 3:17:29 PM (16 years ago)
- Children:
- 1e0785
- Parents:
- e9f2e1
- File:
-
- 1 edited
-
molecuilder/src/unittests/SingletonTest.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/unittests/SingletonTest.cpp
re9f2e1 r97f035 29 29 count1++; 30 30 } 31 // explicit copy constructor to catch if this is ever called 32 SingletonStub1(const SingletonStub1&){ 33 CPPUNIT_FAIL ( "Copy constructor of Singleton called" ); 34 } 31 35 virtual ~SingletonStub1(){ 32 36 count2++; … … 47 51 SingletonStub2(){ 48 52 count1++; 53 } 54 // explicit copy constructor to catch if thsi is ever called 55 SingletonStub2(const SingletonStub2&){ 56 CPPUNIT_FAIL ( "Copy constructor of Singleton called" ); 49 57 } 50 58 virtual ~SingletonStub2(){
Note:
See TracChangeset
for help on using the changeset viewer.
