Changeset 455573 for src/Actions/unittests
- Timestamp:
- Apr 18, 2011, 12:45:06 PM (14 years ago)
- 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:
- 4217e7
- Parents:
- ca2cfa
- git-author:
- Frederik Heber <heber@…> (03/02/11 16:25:13)
- git-committer:
- Frederik Heber <heber@…> (04/18/11 12:45:06)
- Location:
- src/Actions/unittests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/unittests/ActionRegistryUnitTest.cpp
rca2cfa r455573 53 53 54 54 ActionRegistry &AR = ActionRegistry::getInstance(); 55 for (ActionRegistry::const_iterator iter = AR.getBeginIter(); iter != AR.getEndIter(); ++iter) 55 for (ActionRegistry::const_iterator iter = AR.getBeginIter(); iter != AR.getEndIter(); ++iter) { 56 56 if ((iter->second)->Traits.hasShortForm()) { 57 57 ASSERT(result.find((iter->second)->Traits.getShortForm()) == result.end(), … … 61 61 result[(iter->second)->Traits.getShortForm()] = (iter->second)->getName(); 62 62 } 63 } 63 64 } -
src/Actions/unittests/Makefile.am
rca2cfa r455573 2 2 # Also indentation by a single tab 3 3 4 INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/LinearAlgebra/src 4 ACTIONTESTSSOURCES = \ 5 ../Actions/unittests/ActionRegistryUnitTest.cpp \ 6 ../Actions/unittests/ActionSequenceUnitTest.cpp \ 7 ../Actions/unittests/AtomsCalculationUnitTest.cpp \ 8 ../Actions/unittests/ManipulateAtomsUnitTest.cpp 5 9 6 AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl 7 AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS} 10 ACTIONTESTSHEADERS = \ 11 ../Actions/unittests/ActionRegistryUnitTest.hpp \ 12 ../Actions/unittests/ActionSequenceUnitTest.hpp \ 13 ../Actions/unittests/AtomsCalculationUnitTest.hpp \ 14 ../Actions/unittests/ManipulateAtomsUnitTest.hpp 8 15 9 TESTS = \16 ACTIONTESTS = \ 10 17 ActionRegistryUnitTest \ 11 18 ActionSequenceUnitTest \ … … 13 20 ManipulateAtomsUnitTest 14 21 15 check_PROGRAMS = $(TESTS) 16 noinst_PROGRAMS = $(TESTS) 22 TESTS += $(ACTIONTESTS) 23 check_PROGRAMS += $(ACTIONTESTS) 24 noinst_PROGRAMS += $(ACTIONTESTS) 17 25 18 BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB) $(BOOST_PROGRAM_OPTIONS_LIB) $(BOOST_FILESYSTEM_LIB) $(BOOST_SYSTEM_LIB) $(BOOST_THREAD_LIB) 19 GSLLIBS = \ 20 ../../Shapes/libMolecuilderShapes.la \ 21 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \ 22 ../../RandomNumbers/libMolecuilderRandomNumbers.la \ 23 ${CodePatterns_LIBS} \ 24 $(BOOST_LIB) 25 ALLLIBS = \ 26 ../../UIElements/libMolecuilderUI.la \ 27 ../../Actions/libMolecuilderActions.la \ 28 ${PARSERLIBS} \ 29 ../../libMolecuilder.la \ 30 ${GSLLIBS} 31 32 PARSERLIBS = ../../Parser/libMolecuilderParser.la 33 UILIBS = ../../UIElements/libMolecuilderUI.la 34 26 ACTIONLIBS = \ 27 ../libMolecuilderUI.la 35 28 36 29 ActionRegistryUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 37 ActionRegistryUnitTest.cpp \38 ActionRegistryUnitTest.hpp39 ActionRegistryUnitTest_LDADD = ${A LLLIBS}30 ../Actions/unittests/ActionRegistryUnitTest.cpp \ 31 ../Actions/unittests/ActionRegistryUnitTest.hpp 32 ActionRegistryUnitTest_LDADD = ${ACTIONLIBS} 40 33 41 34 ActionSequenceUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 42 ActionSequenceUnitTest.cpp \43 ActionSequenceUnitTest.hpp44 ActionSequenceUnitTest_LDADD = ${A LLLIBS}35 ../Actions/unittests/ActionSequenceUnitTest.cpp \ 36 ../Actions/unittests/ActionSequenceUnitTest.hpp 37 ActionSequenceUnitTest_LDADD = ${ACTIONLIBS} 45 38 46 39 AtomsCalculationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 47 AtomsCalculationUnitTest.cpp \48 AtomsCalculationUnitTest.hpp49 AtomsCalculationUnitTest_LDADD = ${A LLLIBS}40 ../Actions/unittests/AtomsCalculationUnitTest.cpp \ 41 ../Actions/unittests/AtomsCalculationUnitTest.hpp 42 AtomsCalculationUnitTest_LDADD = ${ACTIONLIBS} 50 43 51 44 ManipulateAtomsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \ 52 ManipulateAtomsUnitTest.cpp \53 ManipulateAtomsUnitTest.hpp54 ManipulateAtomsUnitTest_LDADD = ${A LLLIBS}45 ../Actions/unittests/ManipulateAtomsUnitTest.cpp \ 46 ../Actions/unittests/ManipulateAtomsUnitTest.hpp 47 ManipulateAtomsUnitTest_LDADD = ${ACTIONLIBS} 55 48 56 49
Note:
See TracChangeset
for help on using the changeset viewer.