Ignore:
Timestamp:
Feb 26, 2010, 1:57:01 PM (16 years ago)
Author:
Tillmann Crueger <crueger@…>
Children:
78b9d9, d50264
Parents:
e65cc0 (diff), 45cc89 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'FreddiesRefactoring' into StructureRefactoring

Conflicts:

molecuilder/src/Patterns/Observer.cpp
molecuilder/src/World.cpp
molecuilder/src/boundary.cpp
molecuilder/src/molecule_dynamics.cpp
molecuilder/src/unittests/AnalysisCorrelationToPointUnitTest.cpp
molecuilder/src/unittests/AnalysisCorrelationToSurfaceUnitTest.cpp
molecuilder/src/unittests/AnalysisPairCorrelationUnitTest.cpp
molecuilder/src/unittests/Makefile.am
molecuilder/src/unittests/bondgraphunittest.cpp
molecuilder/src/unittests/listofbondsunittest.cpp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/unittests/AnalysisPairCorrelationUnitTest.cpp

    re65cc0 rdc5413  
    2525#include "periodentafel.hpp"
    2626#include "tesselation.hpp"
     27#include "World.hpp"
     28
     29#ifdef HAVE_TESTRUNNER
     30#include "UnitTestMain.hpp"
     31#endif /*HAVE_TESTRUNNER*/
    2732
    2833/********************************************** Test classes **************************************/
     
    96101  // note that all the atoms are cleaned by TestMolecule
    97102  World::destroy();
     103  MemoryUsageObserver::purgeInstance();
     104  logger::purgeInstance();
     105  errorLogger::purgeInstance();
    98106};
    99107
     
    130138  CPPUNIT_ASSERT_EQUAL( 6, tester->second );
    131139};
    132 
    133 /********************************************** Main routine **************************************/
    134 
    135 int main(int argc, char **argv)
    136 {
    137   // Get the top level suite from the registry
    138   CppUnit::Test *suite = CppUnit::TestFactoryRegistry::getRegistry().makeTest();
    139 
    140   // Adds the test to the list of test to run
    141   CppUnit::TextUi::TestRunner runner;
    142   runner.addTest( suite );
    143 
    144   // Change the default outputter to a compiler error format outputter
    145   runner.setOutputter( new CppUnit::CompilerOutputter( &runner.result(),
    146                                                        std::cerr ) );
    147   // Run the tests.
    148   bool wasSucessful = runner.run();
    149 
    150   // Return error code 1 if the one of test failed.
    151   return wasSucessful ? 0 : 1;
    152 };
Note: See TracChangeset for help on using the changeset viewer.