source: src/unittests/Makefile.am@ 105b72

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
Last change on this file since 105b72 was 6efcae, checked in by Frederik Heber <heber@…>, 12 years ago

SerializablePotential is new type to be stored in PotentialRegistry.

  • added new class SerializablePotential with operator<<() and ..>>() and a a set of virtual functions to be implemented in deriving classes.
  • added unit test SerializablePotentialUnitTest and mock implementation of such a SerializablePotential.
  • added exceptions, thrown when parsing of potential containing line fails.
  • NOTE: empty name/key of a parameter are not printed on output.
  • Property mode set to 100644
File size: 5.8 KB
Line 
1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4check_PROGRAMS =
5noinst_PROGRAMS =
6TESTS =
7XFAIL_TESTS =
8
9if CONDCPPUNIT
10
11include ../../src/Actions/unittests/Makefile.am
12include ../../src/Analysis/unittests/Makefile.am
13include ../../src/Atom/unittests/Makefile.am
14include ../../src/Descriptors/unittests/Makefile.am
15include ../../src/Element/unittests/Makefile.am
16include ../../src/Filling/unittests/Makefile.am
17include ../../src/FunctionApproximation/unittests/Makefile.am
18include ../../src/Fragmentation/unittests/Makefile.am
19include ../../src/Fragmentation/Homology/unittests/Makefile.am
20include ../../src/Fragmentation/Summation/unittests/Makefile.am
21include ../../src/Fragmentation/SetValues/unittests/Makefile.am
22include ../../src/Graph/unittests/Makefile.am
23
24if CONDJOBMARKET
25include ../../src/Jobs/unittests/Makefile.am
26include ../../src/Jobs/Grid/unittests/Makefile.am
27endif
28
29include ../../src/LinkedCell/unittests/Makefile.am
30include ../../src/Parameters/unittests/Makefile.am
31include ../../src/Parser/unittests/Makefile.am
32include ../../src/Potentials/unittests/Makefile.am
33include ../../src/Potentials/Specifics/unittests/Makefile.am
34include ../../src/RandomNumbers/unittests/Makefile.am
35include ../../src/Shapes/unittests/Makefile.am
36include ../../src/Tesselation/unittests/Makefile.am
37include ../../src/UIElements/CommandLineUI/unittests/Makefile.am
38include ../../src/UIElements/Menu/unittests/Makefile.am
39
40INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/LinearAlgebra/src
41
42AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl
43AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
44
45GENERALTESTS = \
46 AtomIdSetUnitTest \
47 BoxUnitTest \
48 Box_BoundaryConditionsTest \
49 FormulaUnittest \
50 ListOfBondsUnitTest \
51 MoleculeUnitTest \
52 WorldTimeUnitTest
53
54# these ones are checked
55TESTS += $(GENERALTESTS)
56# these ones are built for checking only
57check_PROGRAMS += $(GENERALTESTS)
58# ... and not installed
59noinst_PROGRAMS += $(GENERALTESTS)
60
61if CONDECUT
62noinst_PROGRAMS += TestRunner
63endif
64
65
66BOOST_LIB = \
67 $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LIBS) \
68 $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_FILESYSTEM_LIBS) \
69 $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS) \
70 $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS)
71
72GENERALLIBS = \
73 ../libMolecuilder.la \
74 ../libMolecuilderHelpers.la \
75 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
76 ${CodePatterns_LIBS} \
77 $(BOOST_LIB)
78
79ALLLIBS = \
80 ../libMolecuilderFilling.la \
81 ../libMolecuilderUI.la \
82 ../libMolecuilder.la
83if CONDJOBMARKET
84ALLLIBS += \
85 ../libMolecuilderJobs.la
86endif
87ALLLIBS += \
88 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
89 ${CodePatterns_LIBS} \
90 $(BOOST_LIB)
91
92TESTSOURCES = \
93 ${ACTIONTESTSSOURCES} \
94 ${ANALYSISTESTSSOURCES} \
95 ${DESCRIPTORTESTSSOURCES} \
96 ${ELEMENTTESTSSOURCES} \
97 ${FILLINGTESTSSOURCES} \
98 ${FRAGMENTATIONTESTSSOURCES} \
99 ${GRAPHTESTSSOURCES} \
100 ${LINKEDCELLTESTSSOURCES} \
101 ${LINEARALGEBRATESTSSOURCES} \
102 ${PARAMETERTESTSSOURCES} \
103 ${PARSERTESTSSOURCES} \
104 ${RANDOMNUMBERTESTSSOURCES} \
105 ${SHAPETESTSSOURCES} \
106 ${TESSELATIONTESTSSOURCES} \
107 $(UIELEMENTSCOMMANDLINEPARSERTESTSSOURCES) \
108 ${UIELEMENTSMENUTESTSSOURCES} \
109 stubs/ObserverStub.cpp \
110 AtomIdSetUnitTest.cpp \
111 BoxUnitTest.cpp \
112 Box_BoundaryConditionsUnitTest.cpp \
113 FormulaUnitTest.cpp \
114 ListOfBondsUnitTest.cpp \
115 MoleculeUnitTest.cpp \
116 WorldTimeUnitTest.cpp
117
118TESTHEADERS = \
119 ${ACTIONTESTSHEADERS} \
120 ${ANALYSISTESTSHEADERS} \
121 ${DESCRIPTORTESTSHEADERS} \
122 ${ELEMENTTESTSHEADERS} \
123 ${FILLINGTESTSHEADERS} \
124 ${FRAGMENTATIONTESTSHEADERS} \
125 ${GRAPHTESTSHEADERS} \
126 ${LINKEDCELLTESTHEADERS} \
127 ${LINEARALGEBRATESTSHEADERS} \
128 ${PARAMETERTESTSHEADERS} \
129 ${PARSERTESTSHEADERS} \
130 ${RANDOMNUMBERTESTSHEADERS} \
131 ${SHAPETESTSHEADERS} \
132 ${TESSELATIONTESTSHEADERS} \
133 $(UIELEMENTSCOMMANDLINEPARSERTESTSHEADERS) \
134 ${UIELEMENTSMENUTESTSHEADERS} \
135 stubs/ObserverStub.hpp \
136 AtomIdSetUnitTest.hpp \
137 BoxUnitTest.hpp \
138 Box_BoundaryConditionsUnitTest.hpp \
139 FormulaUnitTest.hpp \
140 ListOfBondsUnitTest.hpp \
141 MoleculeUnitTest.hpp \
142 WorldTimeUnitTest.hpp
143
144
145BoxUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
146 BoxUnitTest.cpp \
147 BoxUnitTest.hpp \
148 stubs/ObserverStub.cpp \
149 stubs/ObserverStub.hpp \
150 ../Shapes/unittests/stubs/ApproximateShapeAreaStub.cpp \
151 ../Shapes/unittests/stubs/ApproximateShapeVolumeStub.cpp
152BoxUnitTest_LDADD = \
153 ../libMolecuilder.la \
154 ../libMolecuilderShapes.la \
155 ../libMolecuilderHelpers.la \
156 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
157 ${CodePatterns_LIBS}
158
159AtomIdSetUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
160 AtomIdSetUnitTest.cpp \
161 AtomIdSetUnitTest.hpp
162AtomIdSetUnitTest_LDADD = $(ALLLIBS)
163
164Box_BoundaryConditionsTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
165 Box_BoundaryConditionsUnitTest.cpp \
166 Box_BoundaryConditionsUnitTest.hpp \
167 ../Box_BoundaryConditions.cpp \
168 ../Box_BoundaryConditions.hpp
169Box_BoundaryConditionsTest_LDADD = \
170 ${CodePatterns_LIBS} \
171 $(BOOST_LIB)
172
173FormulaUnittest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
174 FormulaUnitTest.cpp \
175 FormulaUnitTest.hpp
176FormulaUnittest_LDADD = $(ALLLIBS)
177
178ListOfBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
179 ListOfBondsUnitTest.cpp \
180 ListOfBondsUnitTest.hpp
181ListOfBondsUnitTest_LDADD = $(ALLLIBS)
182
183MoleculeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
184 MoleculeUnitTest.cpp \
185 MoleculeUnitTest.hpp
186MoleculeUnitTest_LDADD = $(ALLLIBS)
187
188WorldTimeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
189 WorldTimeUnitTest.cpp \
190 WorldTimeUnitTest.hpp \
191 ../WorldTime.cpp \
192 ../WorldTime.hpp
193WorldTimeUnitTest_LDADD = ${BOOST_LIB}
194
195
196TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
197TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
198
199#AUTOMAKE_OPTIONS = parallel-tests
200
201endif
Note: See TracBrowser for help on using the repository browser.