Changeset 45cc89 for molecuilder/src
- Timestamp:
- Feb 26, 2010, 10:02:12 AM (15 years ago)
- Children:
- 837c22, dc5413
- Parents:
- 031ec24
- Location:
- molecuilder/src/unittests
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/unittests/AnalysisCorrelationToPointUnitTest.cpp
r031ec24 r45cc89 24 24 #include "periodentafel.hpp" 25 25 #include "tesselation.hpp" 26 #include "World.hpp" 26 27 27 28 #ifdef HAVE_TESTRUNNER … … 107 108 delete(tafel); 108 109 // note that element is cleaned by periodentafel 110 World::destroy(); 111 MemoryUsageObserver::purgeInstance(); 112 logger::purgeInstance(); 109 113 }; 110 114 -
molecuilder/src/unittests/AnalysisCorrelationToSurfaceUnitTest.cpp
r031ec24 r45cc89 24 24 #include "periodentafel.hpp" 25 25 #include "tesselation.hpp" 26 #include "World.hpp" 26 27 27 28 #ifdef HAVE_TESTRUNNER … … 137 138 delete(tafel); 138 139 // note that element is cleaned by periodentafel 140 World::destroy(); 141 MemoryUsageObserver::purgeInstance(); 142 logger::purgeInstance(); 139 143 }; 140 144 -
molecuilder/src/unittests/AnalysisPairCorrelationUnitTest.cpp
r031ec24 r45cc89 24 24 #include "periodentafel.hpp" 25 25 #include "tesselation.hpp" 26 #include "World.hpp" 26 27 27 28 #ifdef HAVE_TESTRUNNER … … 102 103 delete(tafel); 103 104 // note that element is cleaned by periodentafel 105 World::destroy(); 106 MemoryUsageObserver::purgeInstance(); 107 logger::purgeInstance(); 108 errorLogger::purgeInstance(); 104 109 }; 105 110 -
molecuilder/src/unittests/bondgraphunittest.cpp
r031ec24 r45cc89 23 23 #include "periodentafel.hpp" 24 24 #include "bondgraphunittest.hpp" 25 #include "World.hpp" 25 26 26 27 #ifdef HAVE_TESTRUNNER … … 104 105 delete(tafel); 105 106 // note that element is cleaned by periodentafel 107 World::destroy(); 108 MemoryUsageObserver::purgeInstance(); 109 logger::purgeInstance(); 106 110 }; 107 111 -
molecuilder/src/unittests/infounittest.cpp
r031ec24 r45cc89 17 17 #include "info.hpp" 18 18 #include "infounittest.hpp" 19 #include "log.hpp" 19 20 20 21 #ifdef HAVE_TESTRUNNER … … 35 36 void InfoTest::tearDown() 36 37 { 38 logger::purgeInstance(); 37 39 }; 38 40 -
molecuilder/src/unittests/listofbondsunittest.cpp
r031ec24 r45cc89 21 21 #include "molecule.hpp" 22 22 #include "periodentafel.hpp" 23 #include "World.hpp" 23 24 24 25 #ifdef HAVE_TESTRUNNER … … 84 85 delete(tafel); 85 86 // note that element is cleaned by periodentafel 87 World::destroy(); 88 MemoryUsageObserver::purgeInstance(); 89 logger::purgeInstance(); 86 90 }; 87 91 -
molecuilder/src/unittests/logunittest.cpp
r031ec24 r45cc89 31 31 void LogTest::tearDown() 32 32 { 33 logger::purgeInstance(); 34 errorLogger::purgeInstance(); 33 35 }; 34 36 -
molecuilder/src/unittests/memoryallocatorunittest.cpp
r031ec24 r45cc89 13 13 #include "memoryallocatorunittest.hpp" 14 14 #include "helpers.hpp" 15 #include "log.hpp" 15 16 #include "defs.hpp" 16 17 … … 33 34 { 34 35 MemoryUsageObserver::getInstance()->purgeInstance(); 36 logger::purgeInstance(); 35 37 }; 36 38 -
molecuilder/src/unittests/stackclassunittest.cpp
r031ec24 r45cc89 37 37 Stack->ClearStack(); 38 38 delete(Stack); 39 MemoryUsageObserver::purgeInstance(); 40 logger::purgeInstance(); 39 41 }; 40 42 -
molecuilder/src/unittests/vectorunittest.cpp
r031ec24 r45cc89 14 14 15 15 #include "defs.hpp" 16 #include "log.hpp" 17 #include "memoryusageobserver.hpp" 16 18 #include "vector.hpp" 17 19 #include "vectorunittest.hpp" … … 39 41 void VectorTest::tearDown() 40 42 { 43 MemoryUsageObserver::purgeInstance(); 44 logger::purgeInstance(); 45 errorLogger::purgeInstance(); 41 46 }; 42 47
Note:
See TracChangeset
for help on using the changeset viewer.