Ignore:
Timestamp:
Apr 6, 2012, 11:46:15 AM (13 years ago)
Author:
Frederik Heber <heber@…>
Branches:
Action_Thermostats, Add_AtomRandomPerturbation, Add_FitFragmentPartialChargesAction, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Added_ParseSaveFragmentResults, AddingActions_SaveParseParticleParameters, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_ParticleName_to_Atom, Adding_StructOpt_integration_tests, AtomFragments, Automaking_mpqc_open, AutomationFragmentation_failures, Candidate_v1.5.4, Candidate_v1.6.0, Candidate_v1.6.1, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, CombiningParticlePotentialParsing, Combining_Subpackages, Debian_Package_split, Debian_package_split_molecuildergui_only, Disabling_MemDebug, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph, EmpiricalPotential_contain_HomologyGraph_documentation, Enable_parallel_make_install, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, FitPartialCharges_GlobalError, Fix_BoundInBox_CenterInBox_MoleculeActions, Fix_ChargeSampling_PBC, Fix_ChronosMutex, Fix_FitPartialCharges, Fix_FitPotential_needs_atomicnumbers, Fix_ForceAnnealing, Fix_IndependentFragmentGrids, Fix_ParseParticles, Fix_ParseParticles_split_forward_backward_Actions, Fix_PopActions, Fix_QtFragmentList_sorted_selection, Fix_Restrictedkeyset_FragmentMolecule, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, Fix_fitting_potentials, Fixes, ForceAnnealing_goodresults, ForceAnnealing_oldresults, ForceAnnealing_tocheck, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, FragmentAction_writes_AtomFragments, FragmentMolecule_checks_bonddegrees, GeometryObjects, Gui_Fixes, Gui_displays_atomic_force_velocity, ImplicitCharges, IndependentFragmentGrids, IndependentFragmentGrids_IndividualZeroInstances, IndependentFragmentGrids_IntegrationTest, IndependentFragmentGrids_Sole_NN_Calculation, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, JobMarket_unresolvable_hostname_fix, MoreRobust_FragmentAutomation, ODR_violation_mpqc_open, PartialCharges_OrthogonalSummation, PdbParser_setsAtomName, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, Rewrite_FitPartialCharges, RotateToPrincipalAxisSystem_UndoRedo, SaturateAtoms_findBestMatching, SaturateAtoms_singleDegree, StoppableMakroAction, Subpackage_CodePatterns, Subpackage_JobMarket, Subpackage_LinearAlgebra, Subpackage_levmar, Subpackage_mpqc_open, Subpackage_vmg, Switchable_LogView, ThirdParty_MPQC_rebuilt_buildsystem, TrajectoryDependenant_MaxOrder, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, TremoloParser_setsAtomName, Ubuntu_1604_changes, stable
Children:
d25bec
Parents:
23fd43
git-author:
Frederik Heber <heber@…> (04/06/12 11:19:10)
git-committer:
Frederik Heber <heber@…> (04/06/12 11:46:15)
Message:

FIX: ChangeTracker has not been observing AtomObserver so far.

  • This is introduced due to cleaning of observer structure.
  • FIX: Cleaned ChangeTracker declaration from false includes.
  • FIX: TextWindow.cpp lacked include World.
  • TESTFIX: All Parser...UnitTest needed to purge AtomObserver instance.
Location:
src/Parser/unittests
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/unittests/ParserMpqcUnitTest.cpp

    r23fd43 r006e1e  
    2626#include <boost/any.hpp>
    2727
    28 #include "World.hpp"
    2928#include "Atom/atom.hpp"
     29#include "Atom/AtomObserver.hpp"
     30#include "CodePatterns/Assert.hpp"
     31#include "Descriptors/AtomTypeDescriptor.hpp"
    3032#include "Element/element.hpp"
    3133#include "Element/periodentafel.hpp"
    32 #include "Descriptors/AtomTypeDescriptor.hpp"
    33 #include "CodePatterns/Assert.hpp"
    3434#include "Parser/ChangeTracker.hpp"
    3535#include "Parser/MpqcParser.hpp"
     36#include "World.hpp"
    3637
    3738#ifdef HAVE_TESTRUNNER
     
    178179  delete parser;
    179180  ChangeTracker::purgeInstance();
     181  AtomObserver::purgeInstance();
    180182  World::purgeInstance();
    181183}
  • src/Parser/unittests/ParserPcpUnitTest.cpp

    r23fd43 r006e1e  
    2424#include <cppunit/ui/text/TestRunner.h>
    2525
    26 #include "World.hpp"
    2726#include "Atom/atom.hpp"
     27#include "Atom/AtomObserver.hpp"
     28#include "CodePatterns/Log.hpp"
     29#include "Descriptors/AtomTypeDescriptor.hpp"
    2830#include "Element/element.hpp"
    2931#include "Element/periodentafel.hpp"
    30 #include "CodePatterns/Log.hpp"
    31 #include "Descriptors/AtomTypeDescriptor.hpp"
    3232#include "Parser/ChangeTracker.hpp"
    3333#include "Parser/PcpParser.hpp"
     34#include "World.hpp"
    3435
    3536#ifdef HAVE_TESTRUNNER
     
    133134  delete parser;
    134135  ChangeTracker::purgeInstance();
     136  AtomObserver::purgeInstance();
    135137  World::purgeInstance();
    136138}
  • src/Parser/unittests/ParserPdbUnitTest.cpp

    r23fd43 r006e1e  
    2424#include <cppunit/ui/text/TestRunner.h>
    2525
    26 #include "World.hpp"
    2726#include "Atom/atom.hpp"
     27#include "Atom/AtomObserver.hpp"
     28#include "CodePatterns/Log.hpp"
     29#include "Descriptors/AtomTypeDescriptor.hpp"
    2830#include "Element/element.hpp"
    2931#include "Element/periodentafel.hpp"
    30 #include "CodePatterns/Log.hpp"
    31 #include "Descriptors/AtomTypeDescriptor.hpp"
    3232#include "Parser/ChangeTracker.hpp"
    3333#include "Parser/PdbParser.hpp"
     34#include "World.hpp"
    3435
    3536#ifdef HAVE_TESTRUNNER
     
    7778  delete parser;
    7879  ChangeTracker::purgeInstance();
     80  AtomObserver::purgeInstance();
    7981  World::purgeInstance();
    8082}
  • src/Parser/unittests/ParserPsi3UnitTest.cpp

    r23fd43 r006e1e  
    2626#include <boost/any.hpp>
    2727
    28 #include "CodePatterns/Assert.hpp"
    29 
    3028#include "Atom/atom.hpp"
    31 #include "Descriptors/AtomTypeDescriptor.hpp"
     29#include "Atom/AtomObserver.hpp"
    3230#include "Element/element.hpp"
    3331#include "Element/periodentafel.hpp"
     32#include "CodePatterns/Assert.hpp"
     33#include "Descriptors/AtomTypeDescriptor.hpp"
    3434#include "Parser/ChangeTracker.hpp"
    3535#include "Parser/Psi3Parser.hpp"
     
    143143  delete parser;
    144144  ChangeTracker::purgeInstance();
     145  AtomObserver::purgeInstance();
    145146  World::purgeInstance();
    146147}
  • src/Parser/unittests/ParserTremoloUnitTest.cpp

    r23fd43 r006e1e  
    2525
    2626#include "Atom/atom.hpp"
     27#include "Atom/AtomObserver.hpp"
    2728#include "Descriptors/AtomTypeDescriptor.hpp"
    2829#include "Element/element.hpp"
     
    101102  delete parser;
    102103  ChangeTracker::purgeInstance();
     104  AtomObserver::purgeInstance();
    103105  World::purgeInstance();
    104106}
  • src/Parser/unittests/ParserXmlUnitTest.cpp

    r23fd43 r006e1e  
    2424#include <cppunit/ui/text/TestRunner.h>
    2525
    26 #include "World.hpp"
    2726#include "Atom/atom.hpp"
     27#include "Atom/AtomObserver.hpp"
     28#include "CodePatterns/Log.hpp"
     29#include "Descriptors/AtomTypeDescriptor.hpp"
    2830#include "Element/element.hpp"
    2931#include "Element/periodentafel.hpp"
    30 #include "CodePatterns/Log.hpp"
    31 #include "Descriptors/AtomTypeDescriptor.hpp"
    3232#include "Parser/ChangeTracker.hpp"
    3333#include "Parser/XmlParser.hpp"
     34#include "World.hpp"
    3435
    3536#ifdef HAVE_TESTRUNNER
     
    7071  delete parser;
    7172  ChangeTracker::purgeInstance();
     73  AtomObserver::purgeInstance();
    7274  World::purgeInstance();
    7375}
  • src/Parser/unittests/ParserXyzUnitTest.cpp

    r23fd43 r006e1e  
    2424#include <cppunit/ui/text/TestRunner.h>
    2525
    26 #include "World.hpp"
    2726#include "Atom/atom.hpp"
     27#include "Atom/AtomObserver.hpp"
     28#include "CodePatterns/Log.hpp"
     29#include "Descriptors/AtomTypeDescriptor.hpp"
    2830#include "Element/element.hpp"
    2931#include "Element/periodentafel.hpp"
    30 #include "CodePatterns/Log.hpp"
    31 #include "Descriptors/AtomTypeDescriptor.hpp"
    3232#include "Parser/ChangeTracker.hpp"
    3333#include "Parser/XyzParser.hpp"
     34#include "World.hpp"
    3435
    3536#ifdef HAVE_TESTRUNNER
     
    7677  delete parser;
    7778  ChangeTracker::purgeInstance();
     79  AtomObserver::purgeInstance();
    7880  World::purgeInstance();
    7981}
Note: See TracChangeset for help on using the changeset viewer.